Static methods

@:require(flash10)staticisFontCompatible(fontName:String, fontStyle:String):Bool

Constructor

new()

Variables

@:flash.propertyalwaysShowSelection:Bool

@:flash.propertyautoSize:TextFieldAutoSize

@:flash.propertybackground:Bool

@:flash.propertybackgroundColor:UInt

@:flash.propertyborder:Bool

@:flash.propertyborderColor:UInt

@:flash.propertyread onlybottomScrollV:Int

@:flash.propertyread onlycaretIndex:Int

@:flash.propertycondenseWhite:Bool

@:flash.propertydisplayAsPassword:Bool

@:flash.propertyembedFonts:Bool

@:flash.propertygridFitType:GridFitType

@:flash.propertyhtmlText:String

@:flash.propertyread onlylength:Int

@:flash.propertymaxChars:Int

@:flash.propertyread onlymaxScrollH:Int

@:flash.propertyread onlymaxScrollV:Int

@:flash.propertymouseWheelEnabled:Bool

@:flash.propertymultiline:Bool

@:flash.propertyread onlynumLines:Int

@:flash.propertyrestrict:String

@:flash.propertyscrollH:Int

@:flash.propertyscrollV:Int

@:flash.propertyselectable:Bool

@:flash.propertyread onlyselectedText:String

@:flash.propertyread onlyselectionBeginIndex:Int

@:flash.propertyread onlyselectionEndIndex:Int

@:flash.propertysharpness:Float

@:flash.propertystyleSheet:StyleSheet

@:flash.propertytext:String

@:flash.propertytextColor:UInt

@:flash.propertyread onlytextHeight:Float

@:flash.property@:require(flash11)read onlytextInteractionMode:TextInteractionMode

@:flash.propertyread onlytextWidth:Float

@:flash.propertythickness:Float

@:flash.propertytype:TextFieldType

@:flash.propertyuseRichTextClipboard:Bool

@:flash.propertywordWrap:Bool

Methods

@:ns("flash.text",internal)copyRichText():String

getLineLength(lineIndex:Int):Int

getLineOffset(lineIndex:Int):Int

@:value({ endIndex : -1, beginIndex : -1 })getTextFormat(beginIndex:Int = -1, endIndex:Int = -1):TextFormat

@:value({ endIndex : 2147483647, beginIndex : 0 })getTextRuns(beginIndex:Int = 0, endIndex:Int = 2147483647):Array<Dynamic>

@:value({ endIndex : 2147483647, beginIndex : 0 })getXMLText(beginIndex:Int = 0, endIndex:Int = 2147483647):String

@:value({ pasting : false })insertXMLText(beginIndex:Int, endIndex:Int, richText:String, pasting:Bool = false):Void

@:ns("flash.text",internal)pasteRichText(richText:String):Bool

replaceText(beginIndex:Int, endIndex:Int, newText:String):Void

setSelection(beginIndex:Int, endIndex:Int):Void

@:value({ endIndex : -1, beginIndex : -1 })setTextFormat(format:TextFormat, beginIndex:Int = -1, endIndex:Int = -1):Void

Inherited Variables

Defined by InteractiveObject

@:flash.propertycontextMenu:ContextMenu

@:flash.propertydoubleClickEnabled:Bool

@:flash.propertyfocusRect:Dynamic

@:flash.propertymouseEnabled:Bool

@:flash.property@:require(flash11)needsSoftKeyboard:Bool

@:flash.property@:require(flash11)softKeyboardInputAreaOfInterest:Rectangle

@:flash.propertytabEnabled:Bool

@:flash.propertytabIndex:Int

Defined by DisplayObject

@:flash.propertyalpha:Float

@:flash.propertyblendMode:BlendMode

@:flash.property@:require(flash10)write onlyblendShader:Shader

@:flash.propertycacheAsBitmap:Bool

@:flash.propertyfilters:Array<BitmapFilter>

@:flash.propertyheight:Float

@:flash.propertyread onlyloaderInfo:LoaderInfo

@:flash.propertymask:DisplayObject

@:flash.propertyread onlymouseX:Float

@:flash.propertyread onlymouseY:Float

@:flash.propertyname:String

@:flash.propertyopaqueBackground:Null<UInt>

@:flash.propertyread onlyparent:DisplayObjectContainer

@:flash.propertyread onlyroot:DisplayObject

@:flash.propertyrotation:Float

@:flash.property@:require(flash10)rotationX:Float

@:flash.property@:require(flash10)rotationY:Float

@:flash.property@:require(flash10)rotationZ:Float

@:flash.propertyscale9Grid:Rectangle

@:flash.propertyscaleX:Float

@:flash.propertyscaleY:Float

@:flash.property@:require(flash10)scaleZ:Float

@:flash.propertyscrollRect:Rectangle

@:flash.propertyread onlystage:Stage

@:flash.propertytransform:Transform

@:flash.propertyvisible:Bool

@:flash.propertywidth:Float

@:flash.propertyx:Float

@:flash.propertyy:Float

@:flash.property@:require(flash10)z:Float

Inherited Methods

Defined by InteractiveObject

@:require(flash11)requestSoftKeyboard():Bool

Defined by DisplayObject

getBounds(targetCoordinateSpace:DisplayObject):Rectangle

getRect(targetCoordinateSpace:DisplayObject):Rectangle

@:require(flash10)globalToLocal3D(point:Point):Vector3D

@:value({ shapeFlag : false })hitTestPoint(x:Float, y:Float, shapeFlag:Bool = false):Bool

@:require(flash10)local3DToGlobal(point3d:Vector3D):Point

Defined by EventDispatcher

@:value({ useWeakReference : false, priority : 0, useCapture : false })addEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false, priority:Int = 0, useWeakReference:Bool = false):Void

@:value({ useCapture : false })removeEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false):Void