User Guide

TextSnapshot 1251
function getTextFormat(fontSize:Number):TextFormat {
var tf:TextFormat = new TextFormat();
tf.align = "center";
tf.size = fontSize;
tf.font = "myArial";
return tf;
}
TextSnapshot
Object
|
+-TextSnapshot
public class TextSnapshot
extends Object
TextSnapshot objects let you work with static text in a movie clip. You can use TextSnapshot
objects, for example, to layout text with greater precision than that allowed by dynamic text,
but still access the text as read-only.
You don't use a constructor to create a TextSnapshot object; it is returned by the
MovieClip.getTextSnapshot() method.
Availability: ActionScript 1.0; Flash Player 7 - The SWF file must be published for Flash
Player 6 or later, and must be played in Flash Player 7 or later.
See also
getTextSnapshot (MovieClip.getTextSnapshot method)
Property summary
Properties inherited from class Object
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)