Adobe Extending Flash Professional CS4 Manuale Utente Pagina 404

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 403
382
EXTENDING FLASH CS4 PROFESSIONAL
ScreenOutline object
Description
Read-only property; the array of top-level Screen objects contained in the document (see Screen object).
Example
The following example stores the array of Screen objects in the myArray variable and then displays their names in the
Output panel:
var myArray = new Array();
if(fl.getDocumentDOM().allowScreens) {
for(var i in fl.getDocumentDOM().screenOutline.screens) {
myArray.push(" "+fl.getDocumentDOM().screenOutline.screens[i].name);
}
fl.trace(2"The screens array contains objects whose names are: "+myArray+". ");
}
screenOutline.setCurrentScreen()
Availability
Flash MX 2004.
Usage
screenOutline.setCurrentScreen(name)
Parameters
name A string that specifies the name of the screen that should become the currently selected screen. If the screen is
a child of another screen, you do not need to indicate a path or hierarchy.
Returns
Nothing.
Description
Method; sets the current selection in the screen outline to the specified screen.
Example
The following example sets the current screen to the screen named ChildOfSlide_1:
fl.getDocumentDOM().screenOutline.setCurrentScreen("ChildOfSlide_1");
screenOutline.setScreenProperty()
Availability
Flash MX 2004.
Usage
screenOutline.setScreenProperty(property, value)
Vedere la pagina 403
1 2 ... 399 400 401 402 403 404 405 406 407 408 409 ... 559 560

Commenti su questo manuale

Nessun commento