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):void
See 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):void
See 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):void
background: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):void
backgroundColor: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):void
border: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):void
borderColor: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):void
bottomScrollV: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():int
See 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():int
See 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):void
defaultTextFormat: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):void
direction: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):void
displayAsPassword: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):void
See 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):void
fontContext: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):void
gridFitType: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):void
See 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):void
length:int
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get length():int
locale: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):void
maxChars: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):void
See 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():int
See 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():int
See 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):void
See 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):void
See 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():int
restrict: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):void
See 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):void
See 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):void
See 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):void
See 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():int
See 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():int
See 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):void
See 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):void
See 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):void
textColor: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):void
textHeight:Number
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get textHeight():Number
textWidth:Number
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Implementation public function get textWidth():Number
thickness: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):void
See 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):void
useRichTextClipboard: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):void
See 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):void
public 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 Jul 9 2012, 07:18 PM -04:00