Adobe Extending Flash Professional CS5 Manual do Utilizador Página 435

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 565
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 434
413
EXTENDING FLASH PROFESSIONAL
swfPanel object
Last updated 5/2/2011
fl.trace(fl.swfPanels[0].name);
See also
swfPanel.path, fl.swfPanels
swfPanel.path
Availability
Flash CS4 Professional.
Usage
swfPanel.path
Description
Read-only property: a string that represents the path to the SWF file used in the specified Window SWF panel.
Example
The following code displays the path of the SWF file used in the first registered Window SWF panel in the Output
panel:
fl.trace(fl.swfPanels[0].path);
See also
swfPanel.name, fl.swfPanels
swfPanel.setFocus()
Availability
Flash CS5.5 Professional.
Usage
swfPanel.setFocus()
Description
Method: Sets the keyboard focus to the specified SWF panel.
Example
The following code sets the focus to the SWF panel named “Project”:
Please do the followings steps before running this command:
1 Undock the Project panel, so it is a floating panel.
2 Open the Create File dialog box from the Project panel and then click the Stage.
3 Press the Tab key a few times to ensure the Project panel does not have focus.
Vista de página 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 564 565

Comentários a estes Manuais

Sem comentários