flash object
169
fl.effects
Availability
Flash MX 2004.
Usage
fl.effects
Description
Read-only property; an array of
Effect object
s, based on XML parameter file. These are not
effects, but a description of effects. The array length corresponds to the number of effects (based
on the XML parameter definition files, not the number of JSFL implementation files) registered
when the program opens.
Example
To return the first registered effect, use the following:
ef = fl.effects[0]
fl.enableImmediateUpdates()
Availability
Flash MX 2004.
Usage
fl.enableImmediateUpdates(
bEnableUpdates
)
Parameters
bEnableUpdates
A Boolean value that specifies whether to enable (
true
) or disable (
false
)
immediate visual updates of the Timeline when executing effects.
Returns
Nothing.
Description
Method; lets the script developer enable immediate visual updates of the Timeline when
executing effects. Immediate updates are normally suppressed so the user does not see
intermediate steps that can be visually distracting and can make the effect appear to take longer
than necessary. This method is purely for debugging purposes and should not be used in effects
that are deployed in the field. After the effect completes, the internal state is reset to suppress
immediate updates.
Example
The following example enables immediate updates.
fl.enableImmediateUpdates(true) ;
fl.trace("Immediate updates are enabled");
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...