EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 689

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TextField._highquality 689
Description
Method; Usage 1: returns a TextFormat object containing formatting information for all text in a
text field. Only properties that are common to all text in the text field are set in the resulting
TextFormat object. Any property which is mixed, meaning that it has different values at different
points in the text, has its value set to
null.
Usage 2: Returns a TextFormat object containing a copy of the text field’s text format at
index.
Usage 3: Returns a TextFormat object containing formatting information for the span of text
from
beginIndex to endIndex.
See also
TextField.getNewTextFormat()
, TextField.setNewTextFormat(),
TextField.setTextFormat()
TextField._height
Availability
Flash Player 6.
Usage
my_txt._height
Description
Property; the height of the text field, in pixels.
Example
The following code example sets the height and width of a text field.
my_txt._width = 200;
my_txt._height = 200;
TextField._highquality
Availability
Flash Player 6.
Usage
my_txt._highquality
Description
Property (global); specifies the level of anti-aliasing applied to the current SWF file. Specify 2
(best quality) to apply high quality with bitmap smoothing always on. Specify 1 (high quality) to
apply anti-aliasing; this will smooth bitmaps if the SWF file does not contain animation.
Specify 0 (low quality) to prevent anti-aliasing.
See also
_quality

Table of Contents

Related product manuals