Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 173476

Re: Actions on sprite sheet are ignored!

$
0
0

To create say a looping effect for the sprite sheet symbol , you need to bindTimelineAction to the sprite sheet Symbol.

 

Symbol.bindTimelineAction(compId, "bird", "Default Timeline", "complete", function(sym, e) {

sym.play(0);

});

//Here bird is the name of the sprite sheet symbol and the above code is added to the stage "compositionReady" event.

 

I am attaching a simple sample for reference.

 

Thanks and Regards,

Sudeshna Sarkar


Viewing all articles
Browse latest Browse all 173476

Trending Articles



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