Can you set variables to buttons to control the timeline
Hi All
It has been a very long time since I have developed in Flash... now Animate.
I am working my way around the new software but have a question...
I was wondering if I can add a variable to a button to control the timeline.
What I want to do is have, say, 4 buttons on a frame... then when one of the buttons is selected it goes to the next frame for general info and then it moves to one of 4 other frames.
What I am thinking is something like:
- Frame 1 - 4 buttons
- Button 1 - linked to frame 2 to redirect to frame 3
- Button 2 - linked to frame 2 to redirect to frame 4
- Button 3 - linked to frame 2 to redirect to frame 5
- Button 4 - linked to frame 2 to redirect to frame 6
- Frame 2 - general information that shows for a while and then skips to the correct frame depending on the button that was selected.
Is this possible?
If so can you help me with the code I need or point me in the right direction for a tutorial etc.
Thanks for your help in advance.
