Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 247

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 246
225
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
fl.closeAll();
See also
fl.closeAllPlayerDocuments(), fl.closeDocument()
fl.closeAllPlayerDocuments()
Availability
Flash CS3 Professional.
Usage
fl.closeAllPlayerDocuments()
Parameters
None.
Returns
A Boolean value: true if one or more movie windows were open; false otherwise.
Description
Method; closes all the SWF files that were opened with Control > Test Movie.
Example
The following example closes all the SWF files that were opened with Control > Test Movie.
fl.closeAllPlayerDocuments();
See also
fl.closeAll(), fl.closeDocument()
fl.closeDocument()
Availability
Flash MX 2004.
Usage
fl.closeDocument(documentObject [, bPromptToSaveChanges])
Parameters
documentObject A Document object. If documentObject refers to the active document, the Document window might
not close until the script that calls this method finishes executing.
bPromptToSaveChanges A Boolean value. When bPromptToSaveChanges is false, the user is not prompted if the
document contains unsaved changes; that is, the file is closed and the changes are discarded. If bPromptToSaveChanges
is
true, and if the document contains unsaved changes, the user is prompted with the standard yes-or-no dialog box.
The default value is
true. This parameter is optional.
Przeglądanie stron 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag