| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
FTETextField is a Sprite which displays text by using the new
Flash Text Engine to implement the old TextField API.
flash.text.TextField
alwaysShowSelection:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property is not implemented in FTETextField
because FTETextField does not support selection.
Accessing it will throw a runtime error.
Implementation public function get alwaysShowSelection():Boolean public function set alwaysShowSelection(value:Boolean):voidSee also
flash.text.TextField.alwaysShowSelection
antiAliasType:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField.
Getting it will always return null
and setting it will do nothing.
Implementation public function get antiAliasType():String public function set antiAliasType(value:String):voidSee also
flash.text.TextField.antiAliasType
autoSize:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get autoSize():String public function set autoSize(value:String):voidbackground:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get background():Boolean public function set background(value:Boolean):voidbackgroundColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get backgroundColor():uint public function set backgroundColor(value:uint):voidborder:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get border():Boolean public function set border(value:Boolean):voidborderColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get borderColor():uint public function set borderColor(value:uint):voidbottomScrollV:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get bottomScrollV():intSee also
flash.text.TextField.bottomScrollV
caretIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support editing.
Accessing it will throw a runtime error.
Implementation public function get caretIndex():intSee also
flash.text.TextField.caretIndex
condenseWhite:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get condenseWhite():Boolean public function set condenseWhite(value:Boolean):voiddefaultTextFormat:TextFormat| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get defaultTextFormat():TextFormat public function set defaultTextFormat(value:TextFormat):voiddirection:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The directionality of the text displayed by the FTETextField.
The allowed values are "ltr" for left-to-right text,
as in Latin-style scripts,
and "rtl" for right-to-left text,
as in Arabic and Hebrew.
Note: This property does not exist in the
flash.text.TextField API.
The default value is "ltr".
Implementation public function get direction():String public function set direction(value:String):voiddisplayAsPassword:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support editing.
Accessing it will throw a runtime error.
Implementation public function get displayAsPassword():Boolean public function set displayAsPassword(value:Boolean):voidSee also
flash.text.TextField.displayAsPassword
embedFonts:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get embedFonts():Boolean public function set embedFonts(value:Boolean):voidfontContext:IFlexModuleFactory| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The IFlexModuleFactory instance that FTETextField
uses for creating TextLine objects. This is usually, but not always,
an ISWFContext.
Set this if you need lines to be created in a different
SWF context than the one containing the TLF code.
Note: This property does not exist in the
flash.text.TextField API.
The default value is null.
Implementation public function get fontContext():IFlexModuleFactory public function set fontContext(value:IFlexModuleFactory):voidgridFitType:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField.
Getting it will always return null
and setting it will do nothing.
Implementation public function get gridFitType():String public function set gridFitType(value:String):voidSee also
flash.text.TextField.gridFitType
htmlText:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get htmlText():String public function set htmlText(value:String):voidlength:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get length():intlocale:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The locale of the text displayed by FTETextField.
FTE and TLF use this locale to map Unicode characters
to font glyphs and to find fallback fonts.
Implementation public function get locale():String public function set locale(value:String):voidmaxChars:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support editing.
Accessing it will throw a runtime error.
Implementation public function get maxChars():int public function set maxChars(value:int):voidSee also
flash.text.TextField.maxChars
maxScrollH:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get maxScrollH():intSee also
flash.text.TextField.maxScrollH
maxScrollV:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get maxScrollV():intSee also
flash.text.TextField.maxScrollV
mouseWheelEnabled:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Getting it will always return false
and setting it will do nothing.
Implementation public function get mouseWheelEnabled():Boolean public function set mouseWheelEnabled(value:Boolean):voidSee also
flash.text.TextField.mouseWheelEnabled
multiline:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has no effect in FTETextField
because FTETextField does not support editing.
However, you can get and set it.
Implementation public function get multiline():Boolean public function set multiline(value:Boolean):voidSee also
flash.text.TextField.multiline
numLines:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get numLines():intrestrict:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get restrict():String public function set restrict(value:String):voidSee also
flash.text.TextField.restrict
scrollH:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get scrollH():int public function set scrollH(value:int):voidSee also
flash.text.TextField.scrollH
scrollV:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support scrolling.
Accessing it will throw a runtime error.
Implementation public function get scrollV():int public function set scrollV(value:int):voidSee also
flash.text.TextField.scrollV
selectable:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Setting this property has no effect in FTETextField
because FTETextField does not support selection.
If you get it, it will always be false.
Implementation public function get selectable():Boolean public function set selectable(value:Boolean):voidSee also
flash.text.TextField.selectable
selectionBeginIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support selection.
Accessing it will throw a runtime error.
Implementation public function get selectionBeginIndex():intSee also
flash.text.TextField.selectionBeginIndex
selectionEndIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has not been implemented in FTETextField
because FTETextField does not support selection.
Accessing it will throw a runtime error.
Implementation public function get selectionEndIndex():intSee also
flash.text.TextField.selectionEndIndex
sharpness:Number| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has no effect in FTETextField.
because FTE uses a newer font renderer than TextField.
Getting it will always return NaN
and setting it will do nothing.
Implementation public function get sharpness():Number public function set sharpness(value:Number):voidSee also
flash.text.TextField.sharpness
styleSheet:StyleSheet| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get styleSheet():StyleSheet public function set styleSheet(value:StyleSheet):voidSee also
flash.text.StyleSheet
text:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get text():String public function set text(value:String):voidtextColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get textColor():uint public function set textColor(value:uint):voidtextHeight:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get textHeight():NumbertextWidth:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get textWidth():Numberthickness:Number| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property has no effect in FTETextField
because FTE uses a newer font renderer than TextField.
Getting it will always return NaN
and setting it will do nothing.
Implementation public function get thickness():Number public function set thickness(value:Number):voidSee also
flash.text.TextField.thickness
type:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get type():String public function set type(value:String):voiduseRichTextClipboard:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This property is not implemented in FTETextField
because FTETextField does not support selection
or clipboard operations.
Accessing it will throw a runtime error.
Implementation public function get useRichTextClipboard():Boolean public function set useRichTextClipboard(value:Boolean):voidSee also
flash.text.TextField.useRichTextClipboard
wordWrap:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get wordWrap():Boolean public function set wordWrap(value:Boolean):voidpublic function FTETextField()| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Constructor.
public function appendText(newText:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
See also
flash.text.TextField.appendText()
public function getCharBoundaries(charIndex:int):Rectangle| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getCharBoundaries()
public function getCharIndexAtPoint(x:Number, y:Number):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
| x:Number — n/a
|
| |
| y:Number — n/a
|
ReturnsSee also
flash.text.TextField.getCharIndexAtPoint()
public function getFirstCharInParagraph(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getFirstCharInParagraph()
public function getImageReference(id:String):DisplayObject| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getImageReference()
public function getLineIndexAtPoint(x:Number, y:Number):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
| x:Number — n/a
|
| |
| y:Number — n/a
|
ReturnsSee also
flash.text.TextField.getLineIndexAtPoint()
public function getLineIndexOfChar(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getLineIndexOfChar()
public function getLineLength(lineIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getLineLength()
public function getLineMetrics(lineIndex:int):TextLineMetrics| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
Parameters
Returns public function getLineOffset(lineIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getLineOffset()
public function getLineText(lineIndex:int):String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getLineText()
public function getParagraphLength(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
ReturnsSee also
flash.text.TextField.getParagraphLength()
public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormat| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has been implemented in FTETextField
to simply return a copy of the defaultTextFormat,
because FTETextField does not support formatting a range.
Parameters
| beginIndex:int (default = -1) — n/a
|
| |
| endIndex:int (default = -1) — n/a
|
ReturnsSee also
flash.text.TextField.getTextFormat()
public function replaceSelectedText(value:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
See also
flash.text.TextField.replaceSelectedText()
public function replaceText(beginIndex:int, endIndex:int, newText:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because very few components use it in TextField.
It will throw a runtime error if called.
Parameters
| beginIndex:int — n/a
|
| |
| endIndex:int — n/a
|
| |
| newText:String — n/a
|
See also
flash.text.TextField.replaceText()
public function setSelection(beginIndex:int, endIndex:int):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has not been implemented in FTETextField
because FTETextField does not support selection.
It will throw a runtime error if called.
Parameters
| beginIndex:int — n/a
|
| |
| endIndex:int — n/a
|
See also
flash.text.TextField.setSelection()
public function setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
This method has no effect on a FTETextField if beginIndex
or endIndex does not equal -1
because FTETextField does not support formatting a range.
Parameters
| format:TextFormat — n/a
|
| |
| beginIndex:int (default = -1) — n/a
|
| |
| endIndex:int (default = -1) — n/a
|
See also
flash.text.TextField.setTextFormat()
Mon Dec 24 2012, 01:18 PM +11:00