4 Replies Latest reply on Mar 6, 2014 6:30 AM by GMinert

    How can I play a symbol nested twice and called from anther symbol in that nest?

    GMinert Level 1

      My Question involved playing a symbol inside another. I currently have 2 symbols, dirtytruck2 and splash5, inside another symbol, truck3,  all inside another sybol hole13. I am trying to get it so that when i click on dirty truck the annimation for splash plays. I cannot get this to work.

      Currently I have this onClick for Dirtytruck2 in an attempt to get splash5 to play:





           sym.getComposition().getStage().getSymbol('hole1_1').getSymbol('truck').getsymbol('splash ').play('start');

           sym.getComposition().getStage().getSymbol('hole1_1').getSymbol('truck').getsymbol('splash ').play();

           sym.getComposition().getStage().getSymbol("hole1_1").getSymbol("truck").$("splash").play( );


      currently, the splash5 symbol reveals itself when I click because of the .show(); but i still cannot get it to play. Autoplay is turned off so the clip does not loop continuously as splash5 is created before it is revealed and shows itself on the click event. Please note I have read  http://forums.adobe.com/message/5142090 about calling symbol basics and have referanced and tried what i learned from the example there target-symbols. I feel my code is written the same - but i cannot get the desired outcome.



      https://drive.google.com/file/d/0BzeleqTUd2NAdTRkcVVVSm5tckU/edit?usp=sharing  is the edge file and assets.



      If anyone can provide assistance, that would be awesome.