Adobe Extending Flash Professional CS4 Manual do Utilizador Página 120

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 119
98
EXTENDING FLASH CS4 PROFESSIONAL
Document object
document.enterEditMode()
Availability
Flash MX 2004.
Usage
document.enterEditMode([editMode])
Parameters
editMode A string that specifies the editing mode. Acceptable values are "inPlace" or "newWindow". If no
parameter is specified, the default is symbol-editing mode. This parameter is optional.
Returns
Nothing.
Description
Method; switches the authoring tool into the editing mode specified by the parameter. If no parameter is specified, the
method defaults to symbol-editing mode, which has the same result as right-clicking the symbol to invoke the context
menu and selecting Edit.
Example
The following example puts Flash in edit-in-place mode for the currently selected symbol:
fl.getDocumentDOM().enterEditMode('inPlace');
The following example puts Flash in edit-in-new-window mode for the currently selected symbol:
fl.getDocumentDOM().enterEditMode('newWindow');
See also
document.exitEditMode()
document.exitEditMode()
Availability
Flash MX 2004.
Usage
document.exitEditMode()
Parameters
None.
Returns
Nothing.
Vista de página 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 559 560

Comentários a estes Manuais

Sem comentários