Adobe Extending Flash Professional CS5 Manuale Utente Pagina 276

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 275
254
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
fl.saveAll();
See also
document.save(), document.saveAndCompact(), fl.saveDocument(), fl.saveDocumentAs()
fl.saveDocument()
Availability
Flash MX 2004.
Usage
fl.saveDocument(document [, fileURI])
Parameters
document A Document object that specifies the document to be saved. If document is null, the active document is
saved.
fileURI A string, expressed as a file:/// URI, that specifies the name of the saved document. If the fileURI parameter
is
null or omitted, the document is saved with its current name. This parameter is optional.
Returns
A Boolean value: true if the save operation completes successfully; false otherwise.
If the file has never been saved or has not been modified since the last time it was saved, the file isn’t saved and false
is returned. To allow an unsaved or unmodified file to be saved, use
fl.saveDocumentAs().
Description
Method; saves the specified document as a FLA document.
Example
The following example saves the current document and two specified documents:
// Save the current document.
alert(fl.saveDocument(fl.getDocumentDOM()));
// Save the specified documents.
alert(fl.saveDocument(fl.documents[0], "file:///C|/example1.fla"));
alert(fl.saveDocument(fl.documents[1],"file:///C|/example2.fla"));
See also
document.save(), document.saveAndCompact(), fl.saveAll(), fl.saveDocumentAs()
fl.saveDocumentAs()
Availability
Flash MX 2004.
Vedere la pagina 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 564 565

Commenti su questo manuale

Nessun commento