2 Replies Latest reply on Mar 14, 2014 4:57 AM by HarleySoftailer

    Using Variables in the sym.play statement

    HarleySoftailer Level 1

      I have built a menu system consisting of a main menu with three options and a single sub-menu animation that should stop at one of three different spots on the timeline depending on which main menu button is clicked.


      For each main menu button I have created a click event consisting of sym.setVariable("subselect", "#"); where "#" can be set to 1, 2 or 3.  When any one of the main menu buttons is clicked, the sub-menu opens and at the end of that sequence I have inserted the following - sym.play(subselect);


      This is all pretty clearly displayed in the annotated screen snap below.


      It's important for me to master the use of varaibles and concatenated strings in the sym.play statement so I can create as compact OAM files as possible so any help is greatly appreciated.  My guess is that i'm making a stupid syntax error, but I'm not opposed to picking other people's brains when mine proves inadequate for the task at hand.


      Thanks very much.




      Screen Shot 2014-03-13 at 10.22.01 AM.fw.png