Posted by: Dennis | June 12, 2007

Flash CS3 TransitionManager issue

Recently I had an issue with AS3 and its TransitionManager class. It seems to me that it is a little undocumented. I searched all the web for a way to capture the allTransitionsInDone event. First of all it doesn’t appear in class’ or inherited events but it exists!!!

The thing is to start your transition using a TransitionManager instance and then add the event listener:

import fl.transitions.*;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

var tm:TransitionManager = new TransitionManager(img1_mc);
tm.startTransition({type:Fade, direction:Transition.IN, duration:2, easing:Strong.easeOut});
tm.addEventListener(“allTransitionsInDone”, done);

function done(evt:Event):void {



  1. […] CS3 TransitionManager issue AS3 Flexion wrote: Recently I had an issue with AS3 and it’s TransitionManager class. It seems to me that it […]

  2. I agree, details the Transistion Manager class and it’s events are well hidden, and scarce on the net.

    Details can be referenced by using the CS3 help system, and selecting the ActionScript 3.0 Components > All Classes > TransitionManager class, however there is no info on the triggered events.

    For info on AS2 triggered events then I suggest that in the Help system you select ActionScript 2.0 Components > ActionScript 2.0 Components Language Reference > TransitionManager class > TransitionManager class summary and review the page.

    I had a heck of a time instansiating and handling the TransitionManager events inside a function (in AS2) – couldn’t get it running very well so i opted to use the Tween class instead and achieved the same result with much less code.



  3. I know this works in AS2. Hope this help someone.

    theTM.transitionOutDone = function():Void {
    trace(“Transition Out Is Done”);

    theTM.transitionInDone = function():Void {
    trace(“Transition In Is Done”);

  4. Yes the documentation is imperfect in this case.

    here is a way to make to explore the events. check the


    folder to take a short look into the source files, to see which events are supported.

    Hope that helps.. greetz

  5. in detail xplonation abt tutorials,
    thank u

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: