Adobe Extending Flash Professional CS5 Manuale Utente Pagina 243

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 242
221
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Example
The following example displays a message in the Output panel when a document is closed:
myFunction = function () {
fl.trace('document was closed'); }
fl.addEventListener("documentClosed", myFunction);
See also
fl.removeEventListener()
fl.as3PackagePaths
Availability
Flash CS3 Professional.
Usage
fl.as3PackagePaths
Description
Property; a string that corresponds to the global Classpath setting in the ActionScript 3.0 Settings dialog box. Items in
the string are delimited by semi-colons. To view or change ActionScript 2.0 Classpath settings, use
fl.packagePaths.
Example
The following example illustrates changing the ActionScript 3.0 Classpath settings.
fl.trace(fl.as3PackagePaths);
// Output (assuming started with default value)
// .;$(AppConfig)/ActionScript 3.0/Classes
fl.as3PackagePaths="buying;selling";
fl.trace(fl.as3PackagePaths);
// Output
// buying; selling
See also
fl.resetAS3PackagePaths()
fl.browseForFileURL()
Availability
Flash MX 2004.
Usage
fl.browseForFileURL(browseType [, title [, previewArea]])
Vedere la pagina 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 564 565

Commenti su questo manuale

Nessun commento