Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

moving a class with code

$
0
0

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'});


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>