Sunday, June 10, 2012

[Action Script] Apply fade in effect to child of Sprite June,2012

Hello there,

I have a question about sprites. I have one sprite into which I put images. Classic way:

sprite.addChild(image);

Variable image is instance of Loader class. Everything works great but I'd like to apply fade in effect to every image. So everytime when I do addChild, I want image to fade in (alpha 0 to 100). What is the easiest way to do that?

Thank you,
Filip
Apply fade in effect to child of Sprite

Related Post



0 comments: