176
Chapter 3: Objects
fl.quit(true); // true is optional
//quit without saving any files
fl.quit(false);
fl.reloadEffects()
Availability
Flash MX 2004.
Usage
fl.reloadEffects()
Parameters
None.
Returns
Nothing.
Description
Method; reloads all effects descriptors defined in the user’s Configuration Effects folder. This
permits you to rapidly change the scripts during development, and it provides a mechanism to
improve the effects without relaunching the application. This method works best if used in a
command placed in the Commands folder.
Example
The following example is a one-line script that you can place in the Commands folder. When you
need to reload effects, go to the Commands menu and execute the script.
fl.reloadEffects();
fl.reloadTools()
Availability
Flash MX 2004.
Usage
fl.reloadTools()
Parameters
None.
Returns
Nothing.
Description
Method; rebuilds the toolbar from the toolconfig.xml file. This method is used only when
creating extensible tools.
Содержание 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 ...