beautypg.com

Fl.resetas3packagepaths(), Fl.resetpackagepaths() – Adobe Extending Flash Professional CS4 User Manual

Page 268

background image

246

EXTENDING FLASH CS4 PROFESSIONAL

flash object (fl)

Example
The following example removes the event listener associated with the

documentClosed

event:

fl.removeEventListener("documentClosed");

See also

fl.addEventListener()

fl.resetAS3PackagePaths()

Availability
Flash CS3 Professional.

Usage

fl.resetAS3PackagePaths()

Parameters
None.

Description
Method; resets the global Classpath setting in the ActionScript 3.0 Settings dialog box to the default value. To reset the
ActionScript 2.0 global Classpath, use

fl.resetPackagePaths()

.

Example
The following example resets the ActionScript 3.0 Classpath setting to its default value.

fl.resetAS3PackagePaths();

See also

fl.as3PackagePaths

fl.resetPackagePaths()

Availability
Flash CS3 Professional.

Usage

fl.resetPackagePaths()

Parameters
None.

Description
Method; resets the global Classpath setting in the ActionScript 2.0 Settings dialog box to the default value. To reset the
ActionScript 3.0 global Classpath, use

fl.resetAS3PackagePaths()

.