Hi,
I think Im just missing something minor. Here is what Im trying to do:
I have two states, lets call them A and B
In state B, I have custom components defined B1, B2, B3. When in state B, I can easily cycle though them using custom interactions I have defined.
But the problem is, when I try to create a custom interaction to go from state A -%26gt; B2 Im getting the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main/Button_click_1_1_1_1_1_1_1_1_1()
at Main/__button11_click()
I would greatly appreciate if anyone can help me out in creating a link from A -%26gt; B2.
thank you in advance,
Fu
This is a known bug that will be fixed in the next beta. There is a workaround you can use though:
1. Select your custom component in state B.
2. Right click, choose Share to state A.
3. Switch to the state A.
4. Toggle the eye icon in the layers panel off for your custom component.
5. Repeat 1 - 4 for every custom component that you want to control via interactions from state A.
These steps cause your component to exist in state A, but it won't actually be visible.
Note that if you are in state A and you run an interaction that puts a custom component into a different state, you will only see a change if that custom component is visible in state A. You might also need an interaction to switch to state B if you want to show that custom component immediately.
Hope that helps.
TypeError: Error #1009Thank you matt. Thats helped. Actually?I did Share the states and turned off the custom component. But I didnt add the extra step of switching the state to State B.
thanks for your response,
Fu
No comments:
Post a Comment