Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 243

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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]])
Przeglądanie stron 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag