246
Objects
Example
The following example illustrates quitting with and without asking to save modified
documents.
// Quit with prompt to save any modified documents.
fl.quit();
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()
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...