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