User Guide
1240 TransitionManager class
TransitionManager.allTransitionsInDone
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
var listenerObject:Object = new Object();
listenerObject.allTransitionsInDone = function(eventObj:Object) {
// ...
};
transitionManagerInstance.addEventListener("allTransitionsInDone",
listenerObject);
Description
Event; notifies listeners that the TransitionManager instance has completed all transitions that
have a direction property of
mx.transitions.Transition.IN and has removed them from
the list of transitions it is to apply.
The usage example uses a dispatcher or listener event model. A TransitionManager instance
(
transitionManagerInstance) dispatches an event (in this case, allTransitionsInDone),
and the event is handled by a function, also called a handler, on a listener object
(
listenerObject) that you create. You define a method with the same name as the event on
the listener object; the method is called when the event is triggered. When the event is
triggered, it automatically passes an event object (
eventObject) to the listener object
method. Each event object has properties that contain information about the event. In this
case, the
allTransitionsInDone event provides a target property that contains the
TransitionManager instance that fired the event, allowing you to use that instance and all its
properties and methods within the code that receives the
allTransitionsInDone event. For
more information, see Chapter 21, “EventDispatcher class,” on page 499.