I have the main Stage Timline with 8 labels. On the last label I have a Symbol with a background and a button. What is the action for returining to the last label viewed when I click the button located wuthin the Symbol?
Thanks for any help.
Select Stage in the code panel and place before the first Symbol.bind… the declaration for a symbol (here the stage) variable :
Then, click below your "section1" label in the Actions track and add that trigger :
sym.setVariable( "lastSection", "section1");
Procede similarly for each of your sections. Then the click event handler in your "back" button is just :
sym.play( sym.getVariable( "lastSection"));
which plays the timeline (sym) from the last visited section (lastSection).
Thank you Gil. It works!!!
Thanks for the support.
Thank you for marking it helpful, Edwin.