Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.packagePaths | |||
Flash CS3 Professional.
fl.packagePaths
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.
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
|
|
|
|