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

  • 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 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
Zobrazit stránku 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 559 560

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

Žádné komentáře