Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 481

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 480
459
EXTENDING FLASH PROFESSIONAL
TextAttrs object
Last updated 5/2/2011
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
Seitenansicht 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare