Packagemx.core
Classpublic class FTETextField
InheritanceFTETextField Inheritance flash.display.Sprite
Implements IFontContextComponent
Subclasses UIFTETextField

Language Version : ActionScript 3.0
Product Version : Flex 4
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.

See also

flash.text.TextField


Public Properties
 PropertyDefined By
  alwaysShowSelection : Boolean
This property is not implemented in FTETextField because FTETextField does not support selection.
FTETextField
  antiAliasType : String
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
  autoSize : String
FTETextField
  background : Boolean
FTETextField
  backgroundColor : uint
FTETextField
  border : Boolean
FTETextField
  borderColor : uint
FTETextField
  bottomScrollV : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  caretIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
  condenseWhite : Boolean
FTETextField
  defaultTextFormat : TextFormat
FTETextField
  direction : String
The directionality of the text displayed by the FTETextField.
FTETextField
  displayAsPassword : Boolean
This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
  embedFonts : Boolean
FTETextField
  fontContext : IFlexModuleFactory
The IFlexModuleFactory instance that FTETextField uses for creating TextLine objects.
FTETextField
  gridFitType : String
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
  htmlText : String
FTETextField
  length : int
[read-only]
FTETextField
  locale : String
The locale of the text displayed by FTETextField.
FTETextField
  maxChars : int
This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
  maxScrollH : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  maxScrollV : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  mouseWheelEnabled : Boolean
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  multiline : Boolean
This property has no effect in FTETextField because FTETextField does not support editing.
FTETextField
  numLines : int
[read-only]
FTETextField
  restrict : String
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  scrollH : int
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  scrollV : int
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  selectable : Boolean
Setting this property has no effect in FTETextField because FTETextField does not support selection.
FTETextField
  selectionBeginIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  selectionEndIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  sharpness : Number
This property has no effect in FTETextField.
FTETextField
  styleSheet : StyleSheet
FTETextField
  text : String
FTETextField
  textColor : uint
FTETextField
  textHeight : Number
[read-only]
FTETextField
  textWidth : Number
[read-only]
FTETextField
  thickness : Number
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
  type : String
FTETextField
  useRichTextClipboard : Boolean
This property is not implemented in FTETextField because FTETextField does not support selection or clipboard operations.
FTETextField
  wordWrap : Boolean
FTETextField
Public Methods
 MethodDefined By
  
Constructor.
FTETextField
  
appendText(newText:String):void
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getCharBoundaries(charIndex:int):Rectangle
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getCharIndexAtPoint(x:Number, y:Number):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getFirstCharInParagraph(charIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getImageReference(id:String):DisplayObject
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getLineIndexAtPoint(x:Number, y:Number):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getLineIndexOfChar(charIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getLineLength(lineIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getLineMetrics(lineIndex:int):TextLineMetrics
FTETextField
  
getLineOffset(lineIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getLineText(lineIndex:int):String
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getParagraphLength(charIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormat
This method has been implemented in FTETextField to simply return a copy of the defaultTextFormat, because FTETextField does not support formatting a range.
FTETextField
  
replaceSelectedText(value:String):void
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
replaceText(beginIndex:int, endIndex:int, newText:String):void
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
setSelection(beginIndex:int, endIndex:int):void
This method has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  
setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
This method has no effect on a FTETextField if beginIndex or endIndex does not equal -1 because FTETextField does not support formatting a range.
FTETextField
Property Detail
alwaysShowSelectionproperty
alwaysShowSelection:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.alwaysShowSelection
antiAliasTypeproperty 
antiAliasType:String

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.antiAliasType
autoSizeproperty 
autoSize:String

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get autoSize():String
    public function set autoSize(value:String):void
backgroundproperty 
background:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get background():Boolean
    public function set background(value:Boolean):void
backgroundColorproperty 
backgroundColor:uint

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get backgroundColor():uint
    public function set backgroundColor(value:uint):void
borderproperty 
border:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get border():Boolean
    public function set border(value:Boolean):void
borderColorproperty 
borderColor:uint

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get borderColor():uint
    public function set borderColor(value:uint):void
bottomScrollVproperty 
bottomScrollV:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.bottomScrollV
caretIndexproperty 
caretIndex:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.caretIndex
condenseWhiteproperty 
condenseWhite:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get condenseWhite():Boolean
    public function set condenseWhite(value:Boolean):void
defaultTextFormatproperty 
defaultTextFormat:TextFormat

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get defaultTextFormat():TextFormat
    public function set defaultTextFormat(value:TextFormat):void
directionproperty 
direction:String

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void
displayAsPasswordproperty 
displayAsPassword:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.displayAsPassword
embedFontsproperty 
embedFonts:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get embedFonts():Boolean
    public function set embedFonts(value:Boolean):void
fontContextproperty 
fontContext:IFlexModuleFactory

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void
gridFitTypeproperty 
gridFitType:String

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.gridFitType
htmlTextproperty 
htmlText:String

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get htmlText():String
    public function set htmlText(value:String):void
lengthproperty 
length:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get length():int
localeproperty 
locale:String

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void
maxCharsproperty 
maxChars:int

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.maxChars
maxScrollHproperty 
maxScrollH:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.maxScrollH
maxScrollVproperty 
maxScrollV:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.maxScrollV
mouseWheelEnabledproperty 
mouseWheelEnabled:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.mouseWheelEnabled
multilineproperty 
multiline:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.multiline
numLinesproperty 
numLines:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get numLines():int
restrictproperty 
restrict:String

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.restrict
scrollHproperty 
scrollH:int

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.scrollH
scrollVproperty 
scrollV:int

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.scrollV
selectableproperty 
selectable:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.selectable
selectionBeginIndexproperty 
selectionBeginIndex:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.selectionBeginIndex
selectionEndIndexproperty 
selectionEndIndex:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
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():int

See also

flash.text.TextField.selectionEndIndex
sharpnessproperty 
sharpness:Number

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.sharpness
styleSheetproperty 
styleSheet:StyleSheet

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get styleSheet():StyleSheet
    public function set styleSheet(value:StyleSheet):void

See also

flash.text.StyleSheet
textproperty 
text:String

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get text():String
    public function set text(value:String):void
textColorproperty 
textColor:uint

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get textColor():uint
    public function set textColor(value:uint):void
textHeightproperty 
textHeight:Number  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get textHeight():Number
textWidthproperty 
textWidth:Number  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get textWidth():Number
thicknessproperty 
thickness:Number

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.thickness
typeproperty 
type:String

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get type():String
    public function set type(value:String):void
useRichTextClipboardproperty 
useRichTextClipboard:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
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):void

See also

flash.text.TextField.useRichTextClipboard
wordWrapproperty 
wordWrap:Boolean

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5


Implementation
    public function get wordWrap():Boolean
    public function set wordWrap(value:Boolean):void
Constructor Detail
FTETextField()Constructor
public function FTETextField()

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Constructor.

Method Detail
appendText()method
public function appendText(newText:String):void

Language Version : ActionScript 3.0
Product Version : Flex 4
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

newText:String — n/a

See also

flash.text.TextField.appendText()
getCharBoundaries()method 
public function getCharBoundaries(charIndex:int):Rectangle

Language Version : ActionScript 3.0
Product Version : Flex 4
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

charIndex:int — n/a

Returns
Rectangle — n/a

See also

flash.text.TextField.getCharBoundaries()
getCharIndexAtPoint()method 
public function getCharIndexAtPoint(x:Number, y:Number):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

Returns
int — n/a

See also

flash.text.TextField.getCharIndexAtPoint()
getFirstCharInParagraph()method 
public function getFirstCharInParagraph(charIndex:int):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

charIndex:int — n/a

Returns
int — n/a

See also

flash.text.TextField.getFirstCharInParagraph()
getImageReference()method 
public function getImageReference(id:String):DisplayObject

Language Version : ActionScript 3.0
Product Version : Flex 4
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

id:String — n/a

Returns
DisplayObject — n/a

See also

flash.text.TextField.getImageReference()
getLineIndexAtPoint()method 
public function getLineIndexAtPoint(x:Number, y:Number):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

Returns
int — n/a

See also

flash.text.TextField.getLineIndexAtPoint()
getLineIndexOfChar()method 
public function getLineIndexOfChar(charIndex:int):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

charIndex:int — n/a

Returns
int — n/a

See also

flash.text.TextField.getLineIndexOfChar()
getLineLength()method 
public function getLineLength(lineIndex:int):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

lineIndex:int — n/a

Returns
int — n/a

See also

flash.text.TextField.getLineLength()
getLineMetrics()method 
public function getLineMetrics(lineIndex:int):TextLineMetrics

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Parameters

lineIndex:int

Returns
TextLineMetrics
getLineOffset()method 
public function getLineOffset(lineIndex:int):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

lineIndex:int — n/a

Returns
int — n/a

See also

flash.text.TextField.getLineOffset()
getLineText()method 
public function getLineText(lineIndex:int):String

Language Version : ActionScript 3.0
Product Version : Flex 4
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

lineIndex:int — n/a

Returns
String — n/a

See also

flash.text.TextField.getLineText()
getParagraphLength()method 
public function getParagraphLength(charIndex:int):int

Language Version : ActionScript 3.0
Product Version : Flex 4
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

charIndex:int — n/a

Returns
int — n/a

See also

flash.text.TextField.getParagraphLength()
getTextFormat()method 
public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormat

Language Version : ActionScript 3.0
Product Version : Flex 4
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

Returns
TextFormat — n/a

See also

flash.text.TextField.getTextFormat()
replaceSelectedText()method 
public function replaceSelectedText(value:String):void

Language Version : ActionScript 3.0
Product Version : Flex 4
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

value:String — n/a

See also

flash.text.TextField.replaceSelectedText()
replaceText()method 
public function replaceText(beginIndex:int, endIndex:int, newText:String):void

Language Version : ActionScript 3.0
Product Version : Flex 4
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()
setSelection()method 
public function setSelection(beginIndex:int, endIndex:int):void

Language Version : ActionScript 3.0
Product Version : Flex 4
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()
setTextFormat()method 
public function setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void

Language Version : ActionScript 3.0
Product Version : Flex 4
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()