Effect object
Availability
Flash MX 2004.
Description
This is a single effect descriptor object. The
contain this type of object. The Effect object represents an instance of a Timeline effect.
Property summary for the Effect object
In addition to the properties listed in the following table, Effect objects can also have user-defined
parameters, which must be specified in the same XML file that specifies the
and
effect.sourceFile
created (such as edit fields, check boxes, and list boxes), which is controlled by the type of effect
you are creating. You can specify labels that will appear with the control in addition to default
values.
Property
effect.effectName
effect.groupName
effect.sourceFile
effect.symbolType
effect.useXMLToUI
effect.effectName
Availability
Flash MX 2004.
Usage
effect.effectName
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
var efName = fl.activeEffect.effectName;
146
Chapter 3: Objects
fl.activeEffect
properties. These parameters specify which UI elements should be
Description
Read-only; a string that appears in the Context menu for effects.
Read-only; a string that represents the name of the effect group used for
the hierarchical Context menu for effects.
Read-only; a string that specifies the name of JSFL source file for the
specified effect.
Read-only; a string that specifies the type of symbol to create during the
initial application of the effect.
Property; a Boolean value that lets you override the default behavior of
using XMLUI to construct a dialog box that consists of one or more controls.
CHAPTER 3
and the
properties
fl.effects
effect.effectName
variable:
efName
Objects
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?