User Guide

1166 ActionScript classes
Properties inherited from class Object
Event summary
Method summary
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Event Description
onChanged =
function(changed
Field:TextField)
{}
Event handler/listener; invoked when the content of a text field changes.
onKillFocus =
function(newFocu
s:Object) {}
Invoked when a text field loses keyboard focus.
onScroller =
function(scrolle
dField:TextField
) {}
Event handler/listener; invoked when one of the text field scroll properties
changes.
onSetFocus =
function(oldFocu
s:Object) {}
Invoked when a text field receives keyboard focus.
Modifiers Signature Description
addListener(listener
:Object) : Boolean
Registers an object to receive TextField event
notifications.
getDepth() : Number Returns the depth of a text field.
static getFontList() :
Array
Returns the names of fonts on the player's host
system as an array.
getNewTextFormat() :
TextFormat
Returns a TextFormat object containing a copy of the
text field's text format object.
getTextFormat([begin
Index:Number],
[endIndex:Number]) :
TextFormat
Returns a TextFormat object for a character, a range
of characters, or an entire TextField object.