Effect object
191
Description
Read-only property; a string that appears in the Context menu for effects. Each effect must be
uniquely named.
Example
The following example stores the name of the current effect in the
efName
variable:
var efName = fl.activeEffect.effectName;
effect.groupName
Availability
Flash MX 2004.
Usage
effect.groupName
Description
Read-only property; a string that represents the name of the effect group used for the
hierarchical Context menu for effects. If this value is an empty string, the effect appears
ungrouped at the top level of the Context menu. The group name and effect name are
specified in the XML file for the effect.
Example
The following example stores the group name of the current effect in the
efGroupName
variable:
var efGroupName = fl.activeEffect.groupName;
effect.sourceFile
Availability
Flash MX 2004.
Usage
effect.sourceFile
Description
Read-only property; a string that specifies the name of JSFL source file for the specified effect.
This string is used to bind an XML parameter file to its JSFL effect implementation. You
must include this XML parameter in the XML file for the effect.
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...