Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 473

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 472
451
EXTENDING FLASH CS4 PROFESSIONAL
Text object
text.useDeviceFonts
Availability
Flash MX 2004.
Usage
text.useDeviceFonts
Description
Property; a Boolean value. A value of true causes Flash to draw text using device fonts.
Example
The following example causes Flash to use device fonts when drawing text:
fl.getDocumentDOM().selection[0].useDeviceFonts = true;
text.variableName
Availability
Flash MX 2004.
Usage
text.variableName
Description
Property; a string that contains the name of the variable associated with the Text object. This property works only with
dynamic or input text; it generates a warning if used with other text types.
This property is supported only in ActionScript 1.0 and ActionScript 2.0.
Example
The following example sets the variable name of the selected text box to firstName:
fl.getDocumentDOM().selection[0].variableName = "firstName";
Zobrazit stránku 472
1 2 ... 468 469 470 471 472 473 474 475 476 477 478 ... 559 560

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

Žádné komentáře