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

create symbol and animate (example from API doc working?)

$
0
0

Might be missing something simple, but this doesn't seem to work and it is right out of the API doc

 

brand new edge animate file.

 

make a rectangle - convert to symbol with name "kitten_paw"

 

delete from stage

 

paste this code in time line (say at 1000)

 

sym.createChildSymbol("kitten_paw", "Stage");

var kitten_sym = kitten_paw.getSymbolElement();

kitten_sym.animate({opacity: 0}, 500);

 

it creates the object but doesn't animate it - and console returns an error - edge.2.0.1.min.js:162Javascript error in event handler! Event Type = timeline

 

Am I missing something?

 

thanks!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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