2 Replies Latest reply on Oct 17, 2013 8:59 PM by likhi1

    Control multi symbol on main timeline ???

    likhi1

      0down votefavorite

       

       

      Control multi symbol on main timeline for play movie1(symbol1) finish then play movie2(symbol2) finish and loop again on Edge Animation !!!

      My issuse is after movie2 finish movie1 not play again ????

      http://speedy.sh/BdTAx/edgeBanner442.zip

      MY Code

      //======= State ===================//

      //===== CompisitionReady

      sym.$("mv2").hide();

      sym.getSymbol("mv1").play();

      //======= Movie1 ===================//

      //====== Trigger 0 ms

      sym.stop();

      //====== Timeline.compleate

      sym.getComposition().getStage().$("mv1").hide();

      sym.getComposition().getStage().$("mv2").show();

      sym.getComposition().getStage().getSymbol("mv2").play();

      //======= Movie2 ===================//

      //======= Trigger 0 ms

      sym.stop();

      //======= Timeline.compleate

      sym.getComposition().getStage().$("mv2").hide();

      sym.getComposition().getStage().$("mv1").show();

      sym.getComposition().getStage().getSymbol("mv1").play();

        • 1. Re: Control multi symbol on main timeline ???
          Zaxist Level 4

          to make it work do below steps for mv1 and mv2

           

          A - Go to Symbol

          B - remove stop(); action at trigger 0 from timeline

          C - uncheck Autoplay in left Panel ( important )

           

          if you had problem let me know

           

          Zaxist

          1 person found this helpful
          • 2. Re: Control multi symbol on main timeline ???
            likhi1 Level 1

            Thank for you help.

             

            Also If  I want to create my custom  function with paramiter  where   I  can create ??

             

            //======= Below is normal code generate from edge animation in empty file

            (function($, Edge, compId){

            var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes

             

             

               //Edge symbol: 'stage'

               (function(symbolName) {

             

             

               })("stage");

               //Edge symbol end:'stage'

             

             

            })(jQuery, AdobeEdge, "EDGE-401683841");

             

             

            ps.  if  I have more movie...I want to creat function to command show& hide Symbol when it not play .

                    can you giveme sample ?