Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 249

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 248
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:
Zobrazit stránku 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 564 565

Komentáře k této Příručce

Žádné komentáře