How to apply an effect on sprite in actionscript 3

I have a sprite and I want to apply for example fade effect on it. I found examples how to do it in flex ML but how can I do it in pure actionscript?

Answers


I personally prefer TweenMax, but you can use the build in Tween in Flash as well.

var myTweenAlpha:Tween = new Tween(myClip, "alpha", Strong.easeOut, 0, 1, 3, true);

Need Your Help

Hovering image over text in td

jquery html css

I am dynamically adding an icon to a table cell on hover with jQuery. How can I make this image display on the right-hand side of the cell, overlapping the td contents if necessary?