30. Example #2
Develop
var myStandardInOut:StandardInOut = new StandardInOut(myMovieClip);
myStandardInOut.addEventListener(AnimationEvent.IN, _onAnimateIn_handler);
myStandardInOut.animateIn();
function _onAnimateIn_handler($evt:AnimationEvent)
{
trace(“In Animation Complete”);
}
More Information:
http://www.bigspaceship.com/blog/labs/bss-actionscript-the-display-package
https://github.com/bigspaceship/as3