Adobe Extending Flash Professional CS4 Manuale Utente Pagina 400

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 399
378
EXTENDING FLASH CS4 PROFESSIONAL
ScreenOutline object
Returns
A Boolean value: true if the screen is successfully duplicated; false otherwise.
Description
Method; duplicates the currently selected screen(s) or a specified screen. The duplicate screens are given a default
name by appending
_copy to the original name, such as Screen_copy, Screen_copy2, and so on. If you duplicate
multiple screens, the duplicates are placed directly below the selected screen that is lowest in the screen outline
hierarchy.
Example
The following example duplicates a screen named apple:
fl.getDocumentDOM().screenOutline.duplicateScreen("apple");
screenOutline.getSelectedScreens()
Availability
Flash MX 2004.
Usage
screenOutline.getSelectedScreens()
Parameters
None.
Returns
An array of selected Screen objects (see Screen object).
Description
Method; returns an array of Screen objects that are currently selected in the screen outline.
Example
The following example stores the selected Screen objects in the myArray variable and displays the screen names in the
Output panel:
var myArray = fl.getDocumentDOM().screenOutline.getSelectedScreens();
for (var i in myArray) {
fl.trace(myArray[i].name)
}
screenOutline.insertNestedScreen()
Availability
Flash MX 2004.
Vedere la pagina 399
1 2 ... 395 396 397 398 399 400 401 402 403 404 405 ... 559 560

Commenti su questo manuale

Nessun commento