Fl.configdirectory, Fl.configuri, Fl.contactsensitiveselection – Adobe Extending Flash Professional CS4 User Manual
Page 249: As shown in the
227
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
fl.configDirectory
Availability
Flash MX 2004.
Usage
fl.configDirectory
Description
Read-only property; a string that specifies the full path for the local user’s Configuration directory in a platform-
specific format. To specify this path as a file:/// URI, which is not platform-specific, use
.
Example
The following example displays the Configuration directory in the Output panel:
fl.trace("My local configuration directory is " + fl.configDirectory);
fl.configURI
Availability
Flash MX 2004.
Usage
fl.configURI
Description
Read-only property; a string that specifies the full path for the local user’s Configuration directory as a file:/// URI. See
also
.
Example
The following example runs a specified script. Using
fl.configURI
lets you specify the location of the script without
knowing which platform the script is running on.
// To run a command in your commands menu, change "Test.Jsfl"
// to the command you want to run in the line below.
fl.runScript( fl.configURI + "Commands/Test.jsfl" );
fl.contactSensitiveSelection
Availability
Flash 8.
Usage
fl.contactSensitiveSelection