Fl.as3packagepaths, Fl.browseforfileurl() – Adobe Extending Flash Professional CS5 User Manual
Page 243
221
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Example
The following example displays a message in the Output panel when a document is closed:
myFunction = function () {
fl.trace('document was closed'); }
fl.addEventListener("documentClosed", myFunction);
See also
fl.as3PackagePaths
Availability
Flash CS3 Professional.
Usage
fl.as3PackagePaths
Description
Property; a string that corresponds to the global Classpath setting in the ActionScript 3.0 Settings dialog box. Items in
the string are delimited by semi-colons. To view or change ActionScript 2.0 Classpath settings, use
Example
The following example illustrates changing the ActionScript 3.0 Classpath settings.
fl.trace(fl.as3PackagePaths);
// Output (assuming started with default value)
// .;$(AppConfig)/ActionScript 3.0/Classes
fl.as3PackagePaths="buying;selling";
fl.trace(fl.as3PackagePaths);
// Output
// buying; selling
See also
fl.browseForFileURL()
Availability
Flash MX 2004.
Usage
fl.browseForFileURL(browseType [, title [, previewArea]])