beautypg.com

Fl.packagepaths, Fl.presetpanel, Fl.quit() – Adobe Extending Flash Professional CS4 User Manual

Page 265

background image

243

EXTENDING FLASH CS4 PROFESSIONAL

flash object (fl)

fl.packagePaths

Availability
Flash CS3 Professional.

Usage

fl.packagePaths

Description
Property; a string that corresponds to the global Classpath setting in the ActionScript 2.0 Settings dialog box. Class
paths within the string are delimited with semi-colons (;). To view or change ActionScript 3.0 Classpath settings, use

fl.as3PackagePaths

.

Example
The following example illustrates changing the ActionScript 2.0 Classpath settings:

fl.trace(fl.packagePaths);

// Output (assuming started with default value)

// .;$(LocalData)/Classes

fl.packagePaths="buying;selling";

fl.trace(fl.packagePaths);

// Output

// buying; selling

See also

fl.resetPackagePaths()

fl.presetPanel

Availability
Flash CS4 Professional.

Usage

fl.presetPanel

Description
Read-only property: a

presetPanel object

.

fl.quit()

Availability
Flash MX 2004.

Usage

fl.quit([bPromptIfNeeded])