Packagemx.effects
Classpublic class EffectManager
InheritanceEffectManager Inheritance flash.events.EventDispatcher

The EffectManager class listens for events, such as the 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.



Public Methods
 MethodDefined by
  
[static] Immediately ends any effects currently playing on a target.
EffectManager
  
[static] Allows the EffectManager class to resume processing events after a call to the suspendEventHandling() method.
EffectManager
  
[static] After this method is called, the EffectManager class ignores all events, and no effects are triggered, until a call to resumeEventHandling().
EffectManager
Method detail
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.