beautypg.com

Fl.configuri, Fl.contactsensitiveselection, As shown in the – Adobe Extending Flash Professional CS5 User Manual

Page 249

background image

227

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

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

fl.configURI

.

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

fl.configDirectory

.

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

Description
A Boolean value that specifies whether Contact Sensitive selection mode is enabled (

true

) or not (

false

).

Example
The following example shows how to disable Contact Sensitive selection mode before making a selection and then how
to reset it to its original value after making the selection:

This manual is related to the following products: