Adobe Extending Flash Professional CS4 Manual do Utilizador Página 460

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 459
438
EXTENDING FLASH CS4 PROFESSIONAL
Text object
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
Vista de página 459
1 2 ... 455 456 457 458 459 460 461 462 463 464 465 ... 559 560

Comentários a estes Manuais

Sem comentários