Adobe Extending Flash Professional CS4 Manuale Utente Pagina 261

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 260
239
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Example
The following example adds the /SWC folder to the global ActionScript 3.0 Library path:
fl.trace(fl.libraryPath);
fl.libraryPath = "/SWC;" + fl.libraryPath;
fl.trace(fl.libraryPath);
See also
fl.externalLibraryPath,fl.flexSDKPath, fl.sourcePath, document.libraryPath
fl.mapPlayerURL()
Availability
Flash MX 2004.
Usage
fl.mapPlayerURL(URI [, returnMBCS])
Parameters
URI A string that contains the escaped Unicode URL to map.
returnMBCS A Boolean value that you must set to true if you want an escaped MBCS path returned. Otherwise, the
method returns UTF-8. The default value is
false. This parameter is optional.
Returns
A string that is the converted URL.
Description
Method; maps an escaped Unicode URL to a UTF-8 or MBCS URL. Use this method when the string will be used in
ActionScript to access an external resource. You must use this method if you need to handle multibyte characters.
Example
The following example converts a URL to UTF-8 so the player can load it:
var url = MMExecute( "fl.mapPlayerURL(" + myURL + ", false);" );
mc.loadMovie( url);
fl.Math
Availability
Flash MX 2004.
Usage
fl.Math
Description
Read-only property; the Math object provides methods for matrix and point operations.
Vedere la pagina 260
1 2 ... 256 257 258 259 260 261 262 263 264 265 266 ... 559 560

Commenti su questo manuale

Nessun commento