beautypg.com

Fl.reloadeffects(), Fl.reloadtools() – Adobe Extending Flash Professional CS5 User Manual

Page 271

background image

249

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

// 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()

Parameters
None.

Returns
Nothing.

This manual is related to the following products: