| Package | mx.effects |
| Class | public class EffectManager |
| Inheritance | EffectManager EventDispatcher Object |
show
and move events, dispatched by objects in a Flex application.
For each event, corresponding to an event trigger, it determines if
there is an effect assigned to the object.
If an effect is defined, it plays the effect.
| Method | Defined By | ||
|---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event.
| EventDispatcher | |
![]() |
Dispatches an event into the event flow.
| EventDispatcher | |
|
[static]
Immediately ends any effects currently playing on a target.
| EffectManager | ||
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
|
[static]
Allows the EffectManager class to resume processing events
after a call to the suspendEventHandling() method.
| EffectManager | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
|
[static]
After this method is called, the EffectManager class ignores
all events, and no effects are triggered, until a call to
resumeEventHandling().
| EffectManager | ||
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher | |
| endEffectsForTarget | () | method |
public static function endEffectsForTarget(target:IUIComponent):void
Immediately ends any effects currently playing on a target.
Parameters
target:IUIComponent — The target component on which to end all effects.
|
| resumeEventHandling | () | method |
public static function resumeEventHandling():void
Allows the EffectManager class to resume processing events
after a call to the suspendEventHandling() method.
Used internally in conjunction with the
suspendEventHandling() method
so that an effect that is updating the screen
does not cause another effect to be triggered.
| suspendEventHandling | () | method |
public static function suspendEventHandling():void
After this method is called, the EffectManager class ignores
all events, and no effects are triggered, until a call to
resumeEventHandling().
Used internally so that an effect that is updating the screen
does not cause another effect to be triggered.