Adobe Extending Flash Professional CS4 Manuale Utente Pagina 481

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 480
459
EXTENDING FLASH CS4 PROFESSIONAL
TextAttrs object
textAttrs.size
Availability
Flash MX 2004.
Usage
textAttrs.size
Description
Property; an integer that specifies the size of the font.
Example
The following example retrieves the size of the character at index 2 and shows the result in the Output panel:
fl.outputPanel.trace(fl.getDocumentDOM().selection[0].getTextAttr("size", 2));
textAttrs.target
Availability
Flash MX 2004.
Usage
textAttrs.target
Description
Property; a string that represents the target property of the text field. This property works only with static text.
Example
The following example gets the target property of the text field in the first frame of the top layer of the current scene
and shows it in the Output panel:
fl.outputPanel.trace(fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].getTe
xtAttr("target"));
textAttrs.url
Availability
Flash MX 2004.
Usage
textAttrs.url
Vedere la pagina 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 559 560

Commenti su questo manuale

Nessun commento