2 Replies Latest reply on Sep 6, 2013 9:56 AM by phillip-j

    moving a class with code

    phillip-j

      I am animating and moving some objects based upon the value of a variable. The variable value is retrieved from the stage, and then when a symbol is clicked ...

       

      var myName == "blue"

       

      // animate height of symbol "blue"

      sym.$(myName).animate ({'height':'+=100px'});

       

      //animate elements with class "blue"

      sym.$('.myName').animate ({'top':'+=100px'});