Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 396

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 395
374
EXTENDING FLASH CS4 PROFESSIONAL
Screen object
var theTabIndex = fl.getDocumentDOM().screenOutline.screens[1].tabIndex;
The following example sets the tab index of the object to 1:
fl.getDocumentDOM().screenOutline.screens[1].tabIndex = 1;
screen.timeline
Availability
Flash MX 2004.
Usage
screen.timeline
Description
Read-only property; the Timeline object for the screen.
Example
The following example gets the screenOutline property of the current slide document, assigns the array of timeline
properties for the first screen to
myArray, and displays those properties in the Output panel:
myArray = new Array();
if(fl.getDocumentDOM().screenOutline) {
for(i in fl.getDocumentDOM().screenOutline.screens[0].timeline) {
myArray.push(" "+i+" : "+fl.getDocumentDOM().screenOutline.screens[0].timeline[i]+" ") ;
}
fl.trace("Here are the properties of the screen named "+
fl.getDocumentDOM().screenOutline.screens[0].name+": "+myArray);
}
Zobrazit stránku 395
1 2 ... 391 392 393 394 395 396 397 398 399 400 401 ... 559 560

Komentáře k této Příručce

Žádné komentáře