Textformat.size - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

TextFormat.size

Availability
Flash Player 6.
Usage
my_fmt.size:Number
Description
Property; the point size of text in this text format. The default value is
the property is undefined.
Example
The following example creates a text field and sets the text size to 20 points.
this.createTextField("mytext",1,100,100,100,100);
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
var myformat:TextFormat = new TextFormat();
myformat.size = 20;
mytext.text = "this is my first test field object text";
mytext.setTextFormat(myformat);
, which indicates that
null
TextFormat.size
959

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents