Adobe Extending Flash Professional CS5 Manuale Utente Pagina 100

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 99
78
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.canEditSymbol()
Availability
Flash MX 2004.
Usage
document.canEditSymbol()
Parameters
None.
Returns
A Boolean value: true if the Edit Symbols menu and functionality are available for use; false otherwise.
Description
Method; indicates whether the Edit Symbols menu and functionality are enabled. This is not related to whether the
selection can be edited. This method should not be used to test whether
fl.getDocumentDOM().enterEditMode()
is allowed.
Example
The following example displays in the Output panel the state of the Edit Symbols menu and functionality:
fl.trace("fl.getDocumentDOM().canEditSymbol() returns: " +
fl.getDocumentDOM().canEditSymbol());
document.canRevert()
Availability
Flash MX 2004.
Usage
document.canRevert()
Parameters
None.
Returns
A Boolean value: true if you can use the document.revert() or fl.revertDocument() methods successfully;
false otherwise.
Description
Method; determines whether you can use the document.revert() or fl.revertDocument() method successfully.
Example
The following example checks whether the current document can revert to the previously saved version. If so,
fl.getDocumentDOM().revert() restores the previously saved version.
Vedere la pagina 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 564 565

Commenti su questo manuale

Nessun commento