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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 277
256
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
fl.swfPanels
Availability
Flash CS4 Professional.
Usage
fl.swfPanels
Description
Read-only property; an array of registered swfPanel objects (see swfPanel object). A swfPanel object is registered if it
has been opened at least once.
A panel’s position in the array represents the order in which it was opened. If the first panel opened is named
TraceBitmap and the second panel opened is named AnotherFunction, then
fl.swfPanels[0] is the TraceBitmap
swfPanel object,
fl.swfPanels[1] is the AnotherFunction swfPanel object, and so on.
Example
The following code displays the name and path of any registered Window SWF panels in the Output panel:
if(fl.swfPanels.length > 0){
for(x = 0; x < fl.swfPanels.length; x++){
fl.trace("Panel: " + fl.swfPanels[x].name + " -- Path: " + fl.swfPanels[x].path);
}
}
fl.synchronizeDocumentWithHeadVersion()
Availability
Flash CS3 Professional.
Usage
fl.synchronizeDocumentWithHeadVersion(documentObject)
Parameters
documentObject A Document object.
Returns
A Boolean value of true if the specified file was successfully synchronized with the Version Cue server; false
otherwise.
Description
Method; synchronizes the specified document with the most current version on the Version Cue server and logs any
errors to the Output panel. This method is identical to
document.synchronizeWithHeadVersion().
Example
The following example synchronizes the current document with the Version Cue server:
fl.synchronizeWithHeadVersion(fl.getDocumentDOM());
Vista de página 277
1 2 ... 273 274 275 276 277 278 279 280 281 282 283 ... 559 560

Comentários a estes Manuais

Sem comentários