Transitionmanager.alltransitionsoutdone - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Example
The following code assigns an object to listen for the
specifies the method to act as the handler for the event. When that method is called to handle
the event, a transition with a direction property of
already been completed.
import mx.transitions.*;
import mx.transitions.easing.*;
var myTransitionManager:TransitionManager = new TransitionManager(img1_mc);
myTransitionManager.startTransition({type:Iris, direction:Transition.IN,
duration:1, easing:None.easeNone, startPoint:5, shape:Iris.CIRCLE});
var myListener:Object = new Object();
myListener.allTransitionsInDone = function(eventObj:Object) {
trace("allTransitionsInDone event occurred.");
};
myTransitionManager.addEventListener("allTransitionsInDone", myListener);
See also
Chapter 21, "EventDispatcher class," on page 499

TransitionManager.allTransitionsOutDone

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
var listenerObject:Object = new Object();
listenerObject.allTransitionsOutDone = function(eventObj:Object) {
// ...
};
transitionManagerInstance.addEventListener("allTransitionsOutDone",
listenerObject);
Description
Event; notifies listeners that the TransitionManager instance has completed all transitions that
have a direction property of "out" and has removed them from the list of transitions it is
to apply.
allTransitionsInDone
mx.transitions.Transition.IN
TransitionManager.allTransitionsOutDone
event and
has
1241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents