User Guide

192 Objects
Example
The following example stores the name of the JSFL effect source file in the efSourceFile
variable:
var efSourceFile = fl.activeEffect.sourceFile;
effect.symbolType
Availability
Flash MX 2004.
Usage
effect.symbolType
Description
Read-only property; a string that specifies the type of symbol to create during the initial
application of the effect. The supported types are:
"graphic", "movie clip", and "button".
If a symbol type was not specified when the effect was created, the default value is "
graphic".
Example
The following example stores the symbol type for the current effect in the efType variable:
var efType = fl.activeEffect.symbolType;
effect.useXMLToUI
Availability
Flash MX 2004.
Usage
effect.useXMLToUI
Description
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. The default value is
true. If set
to
false, the standard XMLUI dialog box will not be posted and you are responsible for
posting a UI.
Example
The following example specifies that the effect posts its own UI:
function configureEffect() {
fl.activeEffect.useXMLToUI = false;
}