
TUTORIALS POINT
Simply Easy Learning Page 78
triggerEvent : Event
The Event object passed to this Effect by the EffectManager when an effect is triggered, or null if the
effect is not being played by the EffectManager.
Protected properties
applyTransitionEndProperties : Boolean
This flag controls whether the effect, when run in a transition, automatically applies the property values
according to the end state, as opposed to leaving values as set by the effect itself.
endValuesCaptured : Boolean = false
A flag containing true if the end values of an effect have already been determined, or false if they
should be acquired from the current properties of the effect targets when the effect runs.
Public methods
Effect(target:Object = null)
Constructor.
captureEndValues():void
Captures the current values of the relevant properties on the effect's targets and saves them as end
values.
captureMoreStartValues(targets:Array):void
Captures the current values of the relevant properties of an additional set of targets Flex uses this
function when a data change effect is run.
captureStartValues():void
Captures the current values of the relevant properties on the effect's targets.
createInstance(target:Object = null):IEffectInstance
Creates a single effect instance and initializes it.
createInstances(targets:Array = null):Array
Takes an Array of target objects and invokes the createInstance() method on each target.
deleteInstance(instance:IEffectInstance):void
Removes event listeners from an instance and removes it from the list of instances.
end(effectInstance:IEffectInstance = null):void
Interrupts an effect that is currently playing, and jumps immediately to the end of the effect.
getAffectedProperties():Array
Returns an Array of Strings, where each String is the name of a property changed by this effect.
pause():void
Pauses the effect until you call the resume() method.
Commentaires sur ces manuels