Fl.drawinglayer, Fl.externallibrarypath – Adobe Extending Flash Professional CS4 User Manual
Page 253

231
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Example
The following example downloads the file named myFile.fla from the Version Cue server:
fl.downloadLatestVersion("file:///C|/MyFiles/Version Cue/docs/myFile.fla");
See also
document.synchronizeWithHeadVersion()
fl.revertDocumentToLastVersion()
fl.synchronizeDocumentWithHeadVersion()
fl.drawingLayer
Availability
Flash MX 2004.
Usage
fl.drawingLayer
Description
Read-only property; the
that an extensible tool should use when the user wants to temporarily
draw while dragging (for example, when creating a selection marquee).
Example
See
.
fl.externalLibraryPath
Availability
Flash CS4 Professional.
Usage
fl.externalLibraryPath
Description
Property; a string that contains a list of items in the global ActionScript 3.0 External library path, which specifies the
location of SWC files used as runtime shared libraries. Items in the string are delimited by semi-colons. In the
authoring tool, the items are specified by choosing Edit > Preferences
> ActionScript > ActionScript 3.0 Settings.
Example
The following example adds the /SWC_runtime folder to the global ActionScript 3.0 External library path:
fl.trace(fl.externalLibraryPath);
fl.externalLibraryPath = "/SWC_runtime;" + fl.externalLibraryPath;
fl.trace(fl.externalLibraryPath);
See also