TextField.embedFonts
Availability
Flash Player 6.
Usage
my_txt.embedFonts:Boolean
Description
Property; a Boolean value that, when
, it renders the text field using device fonts.
false
Example
In this example, you need to create a dynamic text field called
ActionScript to embed fonts and rotate the text field. The reference to
symbol in the library, with linkage set to
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = "my font";
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
my_txt.wordWrap = true;
my_txt.embedFonts = true;
my_txt.text = "Hello world";
my_txt.setTextFormat(my_fmt);
my_txt._rotation = 45;
884
Chapter 2: ActionScript Language Reference
, renders the text field using embedded font outlines. If
true
.
my font
, and then use the following
my_txt
refers to a Font
my font
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?