03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Modifiers Signature Description<br />

Methods inherited from class Object<br />

addListener (TextField.addListener method)<br />

public addListener(listener:Object) : Boolean<br />

1186 <strong>ActionScript</strong> classes<br />

getTextFormat([begin<br />

Index:Number],<br />

[endIndex:Number]) :<br />

TextFormat<br />

removeListener(liste<br />

ner:Object) :<br />

Boolean<br />

removeTextField() :<br />

Void<br />

replaceSel(newText:S<br />

tring) : Void<br />

replaceText(beginInd<br />

ex:Number,<br />

endIndex:Number,<br />

newText:String) :<br />

Void<br />

Returns a TextFormat object for a character, a<br />

range of characters, or an entire TextField object.<br />

Removes a listener object previously registered to<br />

a text field instance with<br />

TextField.addListener().<br />

Removes the text field.<br />

Replaces the current selection with the contents of<br />

the newText parameter.<br />

Replaces a range of characters, specified by the<br />

beginIndex <strong>and</strong> endIndex parameters, in the<br />

specified text field with the contents of the<br />

newText parameter.<br />

setNewTextFormat(tf: Sets the default new text format of a text field.<br />

TextFormat) : Void<br />

setTextFormat([begin<br />

Index:Number],<br />

[endIndex:Number],<br />

textFormat:TextForma<br />

t) : Void<br />

Applies the text formatting specified by the<br />

textFormat parameter to some or all of the text in<br />

a text field.<br />

addProperty (Object.addProperty method), hasOwnProperty<br />

(Object.hasOwnProperty method), isPropertyEnumerable<br />

(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf<br />

method), registerClass (Object.registerClass method), toString<br />

(Object.toString method), unwatch (Object.unwatch method), valueOf<br />

(Object.valueOf method), watch (Object.watch method)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!