Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 459

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 458
437
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
var doc = fl.getDocumentDOM();
var theName = doc.selection[0].accName;
The following example sets the name of the currently selected object:
fl.getDocumentDOM().selection[0].accName = "Home Button";
text.antiAliasSharpness
Availability
Flash 8.
Usage
text.antiAliasSharpness
Description
Property; a float value that specifies the anti-aliasing sharpness of the text. This property controls how crisply the text
is drawn; higher values specify sharper (or crisper) text. A value of 0 specifies normal sharpness. This property is
available only if
text.fontRenderingMode is set to customThicknessSharpness.
Example
See text.fontRenderingMode.
See also
text.antiAliasThickness, text.fontRenderingMode
text.antiAliasThickness
Availability
Flash 8.
Usage
text.antiAliasThickness
Description
Property; a float value that specifies the anti-aliasing thickness of the text. This property controls how thickly the text
is drawn, with higher values specifying thicker text. A value of 0 specifies normal thickness. This property is available
only if
text.fontRenderingMode is set to customThicknessSharpness.
Example
See text.fontRenderingMode.
See also
text.antiAliasSharpness, text.fontRenderingMode
Zobrazit stránku 458
1 2 ... 454 455 456 457 458 459 460 461 462 463 464 ... 564 565

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

Žádné komentáře