![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 1251](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_6875371251.webp)
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)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...