Adobe Extending Flash Professional CS4 Manuale Utente Pagina 188

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 187
166
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Usage
document.testScene()
Parameters
None.
Returns
Nothing.
Description
Method; executes a Test Scene operation on the current scene of the document.
Example
The following example tests the current scene in the document:
fl.getDocumentDOM().testScene();
See also
document.canTestScene(), document.testMovie()
document.timelines
Availability
Flash MX 2004.
Usage
document.timelines
Description
Read-only property; an array of Timeline objects (see Timeline object).
Example
The following example gets the array of current timelines in the active document and displays their names in the
Output panel:
var i = 0;
var curTimelines = fl.getDocumentDOM().timelines;
while(i < fl.getDocumentDOM().timelines.length){
alert(curTimelines[i].name);
++i;
}
See also
document.currentTimeline, document.getTimeline()
Vedere la pagina 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 559 560

Commenti su questo manuale

Nessun commento