A quick example of the transitionmanager in a method:
private function showLevel(){ myTransitionManager = new TransitionManager(this); myTransitionManager.startTransition({type:Zoom, direction:Transition.IN, duration:1, easing:Bounce.easeOut}); }
necessary imports:
import fl.transitions.*; import fl.transitions.easing.*;
Add listener / callback for when the transitionmanager finishes it's animations:
myTransitionManager.addEventListener("allTransitionsOutDone", function(ev:Event):void{ trace(ev.currentTarget.content) });