Adobe Extending Flash Professional CS5 Manuale Utente Pagina 369

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 368
347
EXTENDING FLASH PROFESSIONAL
outputPanel object
Last updated 5/2/2011
Returns
Nothing.
Description
Method; sends a text string to the Output panel, terminated by a new line, and displays the Output panel if it is not
already visible. This method is identical to
fl.trace(), and works in the same way as the trace() statement in
ActionScript.
To send a blank line, use outputPanel.trace("") or outputPanel.trace("\n"). You can use the latter command
inline, making
\n a part of the message string.
Example
The following example displays several lines of text in the Output panel:
fl.outputPanel.clear();
fl.outputPanel.trace("Hello World!!!");
var myPet = "cat";
fl.outputPanel.trace("\nI have a " + myPet);
fl.outputPanel.trace("");
fl.outputPanel.trace("I love my " + myPet);
fl.outputPanel.trace("Do you have a " + myPet +"?");
Vedere la pagina 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 564 565

Commenti su questo manuale

Nessun commento