EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Page 649

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TextField 649
Event summary
Method summary
Event Description
onChanged = function(changedField:TextField) {} Event handler/listener; invoked
when the content of a text field
changes.
onKillFocus = function(newFocus:Object) {} Invoked when a text field loses
keyboard focus.
onScroller = function(scrolledField:TextField) {} Event handler/listener; invoked
when one of the text field scroll
properties changes.
onSetFocus = function(oldFocus: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.
getNewTextFormat() : TextFormat Returns a TextFormat object
containing a copy of the text field's
text format object.
getTextFormat([beginIndex:Number],
[endIndex:Number]) : TextFormat
Returns a TextFormat object for a
character, for a range of characters,
or for an entire TextField object.
removeListener(listener:Object) :
Boolean
Removes a listener object
previously registered to a text field
instance with
TextField.addListener().
removeTextField() : Void Removes the text field.
replaceText(beginIndex:Number,
endIndex:Number, newText:String) :
Void
Replaces a range of characters,
specified by the beginIndex and
endIndex parameters, in the
specified text field with the contents
of the newText parameter.

Table of Contents

Related product manuals