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.
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...