Adobe Extending Flash Professional CS5 Manual de usuario Pagina 435

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 564 565

Comentarios a estos manuales

Sin comentarios