Adobe Extending Flash Professional CS4 Manuale Utente Pagina 475

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 474
453
EXTENDING FLASH CS4 PROFESSIONAL
TextAttrs object
textAttrs.aliasText
Availability
Flash MX 2004.
Usage
textAttrs.aliasText
Description
Property; a Boolean value that specifies that Flash should draw the text using a method optimized for increasing the
legibility of small text.
Example
The following example sets the aliasText property to true for all the text in the currently selected text field:
fl.getDocumentDOM().setElementTextAttr('aliasText', true);
textAttrs.alignment
Availability
Flash MX 2004.
Usage
textAttrs.alignment
Description
Property; a string that specifies paragraph justification. Acceptable values are "left", "center", "right", and
"justify".
Example
The following example sets the paragraphs that contain characters between index 0 up to, but not including, index 3
to justify. This can affect characters outside the specified range if they are in the same paragraph.
fl.getDocumentDOM().setTextSelection(0, 3);
fl.getDocumentDOM().setElementTextAttr("alignment", "justify");
textAttrs.autoKern
Availability
Flash MX 2004.
Usage
textAttrs.autoKern
Vedere la pagina 474
1 2 ... 470 471 472 473 474 475 476 477 478 479 480 ... 559 560

Commenti su questo manuale

Nessun commento