適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: AIR 30.0 和更早版本, Flash Player 30.0 和更早版本, Flash Lite 4
Flex 4.6 和更早版本, Flash Pro CS6 和更早版本
隱藏篩選
mx.core 

FTETextField  - AS3 Flex

套件x

最上層
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

語言元素

全域常數
全域函數
運算子
陳述式、關鍵字和指令
特殊類型

附錄

新增內容
編譯器錯誤
編譯器警告
執行階段錯誤
移轉至 ActionScript 3
支援的字元集
僅限 MXML 標籤
移動 XML 元素
Timed Text 標籤
不建議元素清單
AccessibilityImplementation 常數
如何使用 ActionScript 範例
法律聲明
套件mx.core
類別public class FTETextField
繼承FTETextField Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
實作 IFontContextComponent
子類別 UIFTETextField

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

相關 API 元素



公用屬性
 屬性定義自
 InheritedaccessibilityImplementation : AccessibilityImplementation
對此 InteractiveObject 實體目前的輔助功能實作 (AccessibilityImplementation)。
InteractiveObject
 InheritedaccessibilityProperties : AccessibilityProperties
此顯示物件的目前輔助功能選項。
DisplayObject
 Inheritedalpha : Number
指出所指定物件的 Alpha 透明度值。
DisplayObject
  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
 InheritedblendMode : String
來自 BlendMode 類別的值,會指定要使用何種混合模式。
DisplayObject
 InheritedblendShader : Shader
[唯寫] 設定用來混合前景和背景的著色器。
DisplayObject
  border : Boolean
會指定文字欄位是否具有邊框。
FTETextField
  borderColor : uint
文字欄位邊框的顏色。
FTETextField
  bottomScrollV : int
[唯讀] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedbuttonMode : Boolean
可指定此 sprite 的按鈕模式。
Sprite
 InheritedcacheAsBitmap : Boolean
如果設定為 true,Flash 執行階段會快取顯示物件的內部點陣圖表示法。
DisplayObject
 Inherited    cacheAsBitmapMatrix : Matrix
如果為非 null,當 cacheAsBitmap 設定為 true 時,這個 Matrix 物件會定義顯示物件的顯示方法。
DisplayObject
  caretIndex : int
[唯讀] This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
  condenseWhite : Boolean
Boolean 值,指定在具有 HTML 文字的文字欄位中,是否移除額外的空白字元 (空格、斷行符號等等)。
FTETextField
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
 InheritedcontextMenu : NativeMenu
指定與此物件有關聯的快顯選單。
InteractiveObject
  defaultTextFormat : flash.text:TextFormat
指定套用至新插入之文字 (例如,使用者所輸入的文字,或是以 replaceSelectedText() 方法插入的文字) 的格式。
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
 InheriteddoubleClickEnabled : Boolean
會指定物件是否會收到 doubleClick 事件。
InteractiveObject
 InheriteddropTarget : DisplayObject
[唯讀] 指定要將 sprite 拖曳至或丟棄至哪個顯示物件上。
Sprite
  embedFonts : Boolean
會指定是否要使用內嵌的字體外框顯示。
FTETextField
 Inheritedfilters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。
DisplayObject
 InheritedfocusRect : Object
會指定這個物件是否會顯示焦點矩形。
InteractiveObject
  fontContext : IFlexModuleFactory
The IFlexModuleFactory instance that FTETextField uses for creating TextLine objects.
FTETextField
 Inheritedgraphics : Graphics
[唯讀] 指定屬於此 sprite 物件的 Graphics 物件,其中可能會產生向量繪圖命令。
Sprite
  gridFitType : String
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
 Inheritedheight : Number
會指出顯示物件的高度,以像素為單位。
DisplayObject
 InheritedhitArea : Sprite
指定用來當作 sprite 作用區域的另一個 sprite。
Sprite
  htmlText : String
包含 HTML 表示方式的文字欄位內容。
FTETextField
  length : int
[唯讀] 文字欄位中的字元數。
FTETextField
 InheritedloaderInfo : LoaderInfo
[唯讀] 會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。
DisplayObject
  locale : String
The locale of the text displayed by FTETextField.
FTETextField
 Inheritedmask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。
DisplayObject
  maxChars : int
This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
  maxScrollH : int
[唯讀] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
  maxScrollV : int
[唯讀] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedmetaData : Object
如果中繼資料是透過 PlaceObject4 標籤與 SWF 檔案中的這個 DisplayObject 實體一同儲存,則會取得 DisplayObject 實體的中繼資料物件。
DisplayObject
 InheritedmouseChildren : Boolean
判斷物件的子系是否支援啟用滑鼠或使用者輸入裝置。
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
指定此物件是否接收滑鼠或其他使用者輸入及訊息。
InteractiveObject
  mouseWheelEnabled : Boolean
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedmouseX : Number
[唯讀] 指出滑鼠或使用者輸入裝置位置的 x 座標,以像素為單位。
DisplayObject
 InheritedmouseY : Number
[唯讀] 指出滑鼠或使用者輸入裝置位置的 y 座標,以像素為單位。
DisplayObject
  multiline : Boolean
This property has no effect in FTETextField because FTETextField does not support editing.
FTETextField
 Inheritedname : String
指出 DisplayObject 的實體名稱。
DisplayObject
 InheritedneedsSoftKeyboard : Boolean
指定虛擬鍵盤 (螢幕上的軟體鍵盤) 是否應在此 InteractiveObject 實體接收到焦點時顯示。
InteractiveObject
 InheritednumChildren : int
[唯讀] 傳回此物件的子系數量。
DisplayObjectContainer
  numLines : int
[唯讀] 會定義多行文字欄位中的文字行數。
FTETextField
 InheritedopaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。
DisplayObject
 Inheritedparent : DisplayObjectContainer
[唯讀] 指出包含此顯示物件的 DisplayObjectContainer 物件。
DisplayObject
  restrict : String
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 Inheritedroot : DisplayObject
[唯讀] 對載入之 SWF 檔案的顯示物件而言,root 屬性就是該 SWF 檔案所呈現之顯示清單樹狀結構部分的最上層顯示物件。
DisplayObject
 Inheritedrotation : Number
指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。
DisplayObject
 InheritedrotationX : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 x 軸旋轉 (以度數為單位)。
DisplayObject
 InheritedrotationY : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 y 軸旋轉 (以度數為單位)。
DisplayObject
 InheritedrotationZ : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 z 軸旋轉 (以度數為單位)。
DisplayObject
 Inheritedscale9Grid : Rectangle
目前產生效用的縮放格線。
DisplayObject
 InheritedscaleX : Number
指出從註冊點套用的物件水平縮放 (百分比)。
DisplayObject
 InheritedscaleY : Number
指出從物件註冊點套用的物件垂直縮放 (百分比)。
DisplayObject
 InheritedscaleZ : Number
指出從物件註冊點套用的物件深度縮放 (百分比)。
DisplayObject
  scrollH : int
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedscrollRect : Rectangle
顯示物件的捲動矩形範圍。
DisplayObject
  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
[唯讀] This property has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  selectionEndIndex : int
[唯讀] 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
 Inherited    softKeyboard : String
控制軟體鍵盤的外觀。
InteractiveObject
 InheritedsoftKeyboardInputAreaOfInterest : Rectangle
定義顯示軟體鍵盤時,應保留於螢幕上的區域 (iOS 未提供)。
InteractiveObject
 InheritedsoundTransform : flash.media:SoundTransform
控制此 Sprite 的聲音。
Sprite
 Inheritedstage : Stage
[唯讀] 顯示物件的「舞台」。
DisplayObject
  styleSheet : StyleSheet
將樣式表附加至文字欄位。
FTETextField
 InheritedtabChildren : Boolean
判斷物件的子系是否支援啟用定位鍵。
DisplayObjectContainer
 InheritedtabEnabled : Boolean
會指定這個物件是否在停駐點順序中。
InteractiveObject
 InheritedtabIndex : int
會指定 SWF 檔中的物件停駐點順序。
InteractiveObject
  text : String
做為文字欄位中目前文字的字串。
FTETextField
  textColor : uint
文字欄位中文字的顏色,以十六進位格式表示。
FTETextField
  textHeight : Number
[唯讀] 文字的高度,以像素為單位。
FTETextField
 InheritedtextSnapshot : flash.text:TextSnapshot
[唯讀] 傳回此 DisplayObjectContainer 實體的 TextSnapshot 物件。
DisplayObjectContainer
  textWidth : Number
[唯讀] 文字的寬度,以像素為單位。
FTETextField
  thickness : Number
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
 Inheritedtransform : flash.geom:Transform
這是一個物件,具有和顯示物件的矩陣、顏色轉換和像素邊界有關的屬性。
DisplayObject
  type : String
文字欄位的類型。
FTETextField
 InheriteduseHandCursor : Boolean
指示當指標滑入 Sprite,且其 buttonMode 屬性設為 true 時,是否要出現指示手掌 (手掌游標) 的 Boolean 值。
Sprite
  useRichTextClipboard : Boolean
This property is not implemented in FTETextField because FTETextField does not support selection or clipboard operations.
FTETextField
 Inheritedvisible : Boolean
不管是否看得見顯示物件。
DisplayObject
 Inheritedwidth : Number
會指出顯示物件的寬度,以像素為單位。
DisplayObject
  wordWrap : Boolean
指出文字欄位是否具有文字換行功能的 Boolean 值。
FTETextField
 Inheritedx : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 x 座標。
DisplayObject
 Inheritedy : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 y 座標。
DisplayObject
 Inheritedz : Number
表示 DisplayObject 實體相對於 3D 父輩容器的 z 座標位置 (沿著 z 軸)。
DisplayObject
公用方法
 方法定義自
  
Constructor.
FTETextField
 Inherited
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。
DisplayObjectContainer
 Inherited
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。
DisplayObjectContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。
EventDispatcher
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
指出安全性限制是否會造成傳回的清單 (可用指定的 point 點呼叫 DisplayObjectContainer.getObjectsUnderPoint() 方法來取得) 省略任何顯示物件。
DisplayObjectContainer
 Inherited
判斷指定的顯示物件是否為 DisplayObjectContainer 實體的子系,或為實體本身。
DisplayObjectContainer
 Inherited
會將事件傳送到事件流程。
EventDispatcher
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。
DisplayObject
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
傳回存在於指定索引位置的子顯示物件實體。
DisplayObjectContainer
 Inherited
傳回具有指定名稱的子顯示物件。
DisplayObjectContainer
 Inherited
傳回 child DisplayObject 實體的索引位置。
DisplayObjectContainer
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
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
  
會傳回關於指定之文字行的公制字資訊。
FTETextField
  
getLineOffset(lineIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
傳回位於指定點底下,且屬於此 DisplayObjectContainer 實體之子系 (或孫系,以下類推) 的物件陣列。
DisplayObjectContainer
  
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。
DisplayObject
  
getTextFormat(beginIndex:int = -1, endIndex:int = -1):flash.text: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
 Inherited
將 point 物件從「舞台」(全域) 座標轉換成顯示物件的 (區域) 座標。
DisplayObject
 Inherited
將二維點從「舞台」(全域) 座標轉換為三維顯示物件的 (區域) 座標。
DisplayObject
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
EventDispatcher
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
評估顯示物件的範圍框,看它是否與 obj 顯示物件的範圍框重疊或相交。
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
評估顯示物件,看它是否與 x 和 y 參數所指定的點重疊或相交。
DisplayObject
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
將三維顯示物件的 (區域) 座標的三維點轉換為「舞台」(全域) 座標中的二維點。
DisplayObject
 Inherited
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。
DisplayObject
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
將指定的 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。
DisplayObjectContainer
 Inherited
從 DisplayObjectContainer 子清單中的指定索引位置移除子 DisplayObject。
DisplayObjectContainer
 Inherited
removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void
將所有 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。
DisplayObjectContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
會從 EventDispatcher 物件移除偵聽程式。
EventDispatcher
  
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
 Inherited
升起顯示虛擬鍵盤。
InteractiveObject
 Inherited
變更顯示物件容器中現有子系的位置。
DisplayObjectContainer
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
  
setSelection(beginIndex:int, endIndex:int):void
This method has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  
setTextFormat(format:flash.text: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
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
讓使用者拖曳指定的 sprite。
Sprite
 Inherited
startTouchDrag(touchPointID:int, lockCenter:Boolean = false, bounds:Rectangle = null):void
讓使用者將指定的 Sprite 拖曳至觸控裝置上。
Sprite
 Inherited
遞迴停止執行所有 MovieClips 的時間軸根源於此物件。
DisplayObjectContainer
 Inherited
結束 startDrag() 方法。
Sprite
 Inherited
stopTouchDrag(touchPointID:int):void
結束觸控裝置使用的 startTouchDrag() 方法。
Sprite
 Inherited
替換兩個指定子物件的 z 順序 (深度階層,由前至後順序)。
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
在子清單的兩個指定索引位置,替換子物件的 z 順序 (深度階層,由前至後順序)。
DisplayObjectContainer
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
 Inherited
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。
EventDispatcher
事件
 事件 摘要 定義自
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。EventDispatcher
 Inherited當顯示物件加入顯示清單中時傳送。DisplayObject
 Inherited會在顯示物件加入舞台上的顯示清單時,以直接或是透過加入包含該顯示物件之子樹狀結構的方式傳送。DisplayObject
 Inherited當使用者從文字快顯選單中選取「清除」(或「刪除」) 時傳送。InteractiveObject
 Inherited會當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置主按鈕時傳送。InteractiveObject
 Inherited
    contextMenu
當使用者手勢在 AIR 應用程式中觸發與此互動式物件相關聯的快顯選單時傳送。InteractiveObject
 Inherited當使用者針對複製作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「複製」時傳送。InteractiveObject
 Inherited當使用者針對剪下作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「剪下」時傳送。InteractiveObject
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。EventDispatcher
 Inherited在 InteractiveObject 物件的 doubleClickEnabled 旗標設為 true 的情況下,當使用者在相同的物件上方連續兩次快速按下並放開指標裝置主要按鈕時傳送。InteractiveObject
 Inherited[廣播事件] 當播放磁頭進入新影格時傳送。DisplayObject
 Inherited[廣播事件] 當播放磁頭結束目前影格時傳送。DisplayObject
 Inherited當顯示物件取得焦點之後傳送。InteractiveObject
 Inherited當顯示物件失去焦點時傳送。InteractiveObject
 Inherited[廣播事件] 在影格顯示物件的建構函式執行之後,且影格指令碼執行之前傳送。DisplayObject
 Inherited當使用者沿著觸控面與 InteractiveObject 實體建立接觸點 (例如沿著 Apple TV 的 Siri Remote 觸控面點選),某些裝置可能也會將此接觸解譯為數個觸控事件的組合。InteractiveObject
 Inherited當使用在觸控裝置上的同一個 InteractiveObject 實體上按下兩個接觸點後送出 (例如在行動電話或平板電腦觸控螢幕的顯示物件上方,以兩支手指按下後鬆開)。InteractiveObject
 Inherited當使用者在觸控裝置上,將接觸點移動到 InteractiveObject 實體上方後傳送 (例如,在行動電話或平板電腦觸控螢幕的顯示物件上,由左向右移動手指)。InteractiveObject
 Inherited當使用者在 InteractiveObject 實體的接觸點上做出旋轉手勢後傳送 (例如兩指觸摸行動電話或平板電腦的觸控螢幕,然後手指在顯示物件上旋轉)。InteractiveObject
 Inherited當使用者在與 InteractiveObject 實體的某個接觸點上做出揮動手勢後傳送 (例如,三指併在一起觸碰行動電話或平板電腦的觸控螢幕,然後在顯示物件上快速平行移動手指)。InteractiveObject
 Inherited當使用者與 InteractiveObject 實體建立接觸點,然後在觸控裝置上點一下後送出 (例如,將多根手指放到行動電話或平板電腦觸控螢幕的顯示物件上以開啟選單,然後其中一根手點一下,選取選單項目)。InteractiveObject
 Inherited當使用者在 InteractiveObject 實體的某個接觸點上做出放大縮小手勢後傳送 (例如兩指併在一起觸摸行動電話或平板電腦的觸控螢幕,然後手指在顯示物件上快速張開)。InteractiveObject
 Inherited這個事件會送出至任何支援 IME 內嵌輸入的用戶端應用程式。InteractiveObject
 Inherited會當使用者按下按鍵時傳送。InteractiveObject
 Inherited當使用者嘗試使用鍵盤瀏覽變更焦點時傳送。InteractiveObject
 Inherited會當使用者放開按鍵時傳送。InteractiveObject
 Inherited當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置中間按鈕時傳送。InteractiveObject
 Inherited當使用者將指向裝置的中間按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
 Inherited會當使用者嘗試使用指向裝置變更焦點時傳送。InteractiveObject
 Inherited會當指向裝置停在 InteractiveObject 上方的情況下使用者將其移動時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移開 InteractiveObject 實體時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited當滑鼠滾輪在 InteractiveObject 實體上方轉動時傳送。InteractiveObject
 Inherited當使用者釋放手勢時,由拖曳初始程式 InteractiveObject 傳送。InteractiveObject
 Inherited已在目標 InteractiveObject 上放下拖曳的物件,而且已呼叫 DragManager.acceptDragDrop() 接受該放開的資料時,由此目標 InteractiveObject 傳送。InteractiveObject
 Inherited當手勢進入 InteractiveObject 的邊界時,由此 InteractiveObject 傳送。InteractiveObject
 Inherited當手勢離開 InteractiveObject 的邊界時,由此 InteractiveObject 傳送。InteractiveObject
 Inherited當拖曳手勢還留在 InteractiveObject 的邊界內,由此 InteractiveObject 持續傳送。InteractiveObject
 Inherited在呼叫 DragManager.doDrag() 進行拖曳作業初期,由指定做為拖曳初始程式的 InteractiveObject 傳送。InteractiveObject
 Inherited在呼叫 DragManager.doDrag() 進行拖曳作業期間,由指定做為拖曳初始程式的 InteractiveObject 傳送。InteractiveObject
 Inherited當使用者針對貼上作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「貼上」時傳送。InteractiveObject
 Inherited在使用者將作用中觸控筆往下移至超過螢幕鄰近偵測邊框時傳送。InteractiveObject
 Inherited
    proximityEnd
在使用者將作用中觸控筆提到螢幕鄰近偵測邊框時傳送。InteractiveObject
 Inherited在使用者將作用中觸控筆移到螢幕上方,而其餘仍在鄰近偵測邊框內時傳送。InteractiveObject
 Inherited
    proximityOut
在使用者將作用中觸控筆移出這個 InteractiveObject 之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者直接將作用中觸控筆移到這個 InteractiveObject 上方,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者將作用中觸控筆移出這個 InteractiveObject 及其任一子系之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者透過這個 InteractiveObject,從顯示清單中後代的物件樹狀結構之外移動作用中觸控筆時傳送 (而其餘仍在螢幕的鄰近偵測邊框內)。InteractiveObject
 Inherited當使用者第一次按下 InteractiveObject 實體上方的按鈕,然後將指向裝置滑出 InteractiveObject 實體之後即放開指向裝置上的按鈕時傳送。InteractiveObject
 Inherited會當顯示物件將要從顯示清單移除時傳送。DisplayObject
 Inherited會在顯示物件即將從顯示清單移除時,以直接或是透過移除包含該顯示物件之子樹狀結構的方式傳送。DisplayObject
 Inherited[廣播事件] 當顯示清單將要更新和顯示時傳送。DisplayObject
 Inherited當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置右邊按鈕時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移開 InteractiveObject 實體時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。InteractiveObject
 Inherited當使用者針對全選作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「全選」時傳送。InteractiveObject
 Inherited升起顯示軟體鍵盤之後立即傳送。InteractiveObject
 Inherited升起顯示軟體鍵盤前立即傳送。InteractiveObject
 Inherited降下隱藏軟體鍵盤之後立即傳送。InteractiveObject
 Inherited在物件的 tabChildren 旗標值變更時傳送。InteractiveObject
 Inherited在物件的 tabEnabled 旗標變更時傳送。InteractiveObject
 Inherited在物件的 tabIndex 屬性值變更時傳送。InteractiveObject
 Inherited當使用者輸入一或多文字的字元時送出。InteractiveObject
 Inherited當使用者在第一次接觸觸控裝置後傳送 (例如手指觸摸行動電話或平板電腦的觸控螢幕)。InteractiveObject
 Inherited當使用者在觸控裝置上移除接觸點後傳送 (例如在行動電話或平板電腦觸控螢幕上移開手指)。InteractiveObject
 Inherited當使用者觸控裝置時傳送,並且連續不斷地傳送,直到接觸點移除為止。InteractiveObject
 Inherited當使用者在觸控裝置中,將接觸點移出 InteractiveObject 實體後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件移至另一個顯示物件)。InteractiveObject
 Inherited當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。InteractiveObject
 Inherited當使用者在觸控裝置上,將接觸點從 InteractiveObject 實體移出後送出 (例如,在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件上方拖曳到顯示物件以外)。InteractiveObject
 Inherited當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。InteractiveObject
 Inherited當使用者在觸控裝置的同一個 InteractiveObject 實體上,在原先開始接觸點放開後送出 (例如在行動電話或平板電腦觸控螢幕上的顯示物件上方,以手指按下某個點後又鬆開)。InteractiveObject
屬性詳細資訊

alwaysShowSelection

屬性
alwaysShowSelection:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get alwaysShowSelection():Boolean
    public function set alwaysShowSelection(value:Boolean):void

相關 API 元素

antiAliasType

屬性 
antiAliasType:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get antiAliasType():String
    public function set antiAliasType(value:String):void

相關 API 元素

autoSize

屬性 
autoSize:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

控制文字欄位的自動調整大小和對齊方式。 TextFieldAutoSize 常數的可接受值:TextFieldAutoSize.NONE (預設值),TextFieldAutoSize.LEFTTextFieldAutoSize.RIGHTTextFieldAutoSize.CENTER

如果 autoSize 設定為 TextFieldAutoSize.NONE (預設值),就不會調整大小。

如果 autoSize 設定為 TextFieldAutoSize.LEFT,就會將文字視為靠左對齊的文字,這表示文字欄位的左方邊界會維持固定,而且文字欄位的單一字行若有任何調整大小的行為,都會發生在右方邊界。 如果文字包含斷行符號 (例如,"\n""\r"),也會調整底部的大小,以配合下一行文字。 如果 wordWrap 也設定為 true,則只有文字欄位底部才會調整大小,右方邊界則維持不變。

如果 autoSize 設定為 TextFieldAutoSize.RIGHT,就會將文字視為靠右對齊的文字,這表示文字欄位的右方邊界會維持固定,而且文字欄位的單一字行若有任何調整大小的行為,都會發生在左方邊界。 如果文字包含斷行符號 (例如,"\n" 或 "\r"),也會調整底部的大小,以配合下一行文字。 如果 wordWrap 也設定為 true,則只有文字欄位底部才會調整大小,左方邊界則維持不變。

如果 autoSize 設定為 TextFieldAutoSize.CENTER,則文字會被視為置中對齊的文字,表示文字欄位的單一字行若有任何調整大小的行為,都會平均分配到左右方的邊界。 如果文字包含斷行符號 (例如,"\n""\r"),也會調整底部的大小,以配合下一行文字。 如果 wordWrap 也設定為 true,則只有文字欄位底部才會調整大小,左右方邊界則維持不變。



實作
    public function get autoSize():String
    public function set autoSize(value:String):void

background

屬性 
background:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

會指定文字欄位是否具有背景填色。 如果為 true,文字欄位就會有背景填色; 如果 false,則文字欄位不會有背景填色。 請使用 backgroundColor 屬性設定文字欄位的背景顏色。



實作
    public function get background():Boolean
    public function set background(value:Boolean):void

backgroundColor

屬性 
backgroundColor:uint

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字欄位背景的顏色。 預設值為 0xFFFFFF (白色)。 即使目前沒有背景,您依然可以擷取或設定這個屬性,不過只有在文字欄位的 background 屬性設定為 true 時,才能看見這個顏色。



實作
    public function get backgroundColor():uint
    public function set backgroundColor(value:uint):void

border

屬性 
border:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

會指定文字欄位是否具有邊框。 如果是 true,文字欄位便具有邊框; 如果是 false,文字欄位則沒有邊框。 請使用 borderColor 屬性設定邊框顏色。



實作
    public function get border():Boolean
    public function set border(value:Boolean):void

borderColor

屬性 
borderColor:uint

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字欄位邊框的顏色。 預設值為 0x000000 (黑色)。 即使目前沒有邊框,您依然可以擷取或設定這個屬性,不過只有在文字欄位的 border 屬性設定為 true 時,才能看見這個顏色。



實作
    public function get borderColor():uint
    public function set borderColor(value:uint):void

bottomScrollV

屬性 
bottomScrollV:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get bottomScrollV():int

相關 API 元素

caretIndex

屬性 
caretIndex:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get caretIndex():int

相關 API 元素

condenseWhite

屬性 
condenseWhite:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Boolean 值,指定在具有 HTML 文字的文字欄位中,是否移除額外的空白字元 (空格、斷行符號等等)。預設值為 falsecondenseWhite 屬性只會影響以 htmlText 屬性 (而非 text 屬性) 設定的文字。 如果您以 text 屬性設定文字,便會忽略 condenseWhite

如果 condenseWhite 是設定為 true,請使用標準 HTML 命令 (如 <BR><P>),將斷行符號放置在文字欄位中。

設定 htmlText 屬性之前,請先設定 condenseWhite 屬性。



實作
    public function get condenseWhite():Boolean
    public function set condenseWhite(value:Boolean):void

defaultTextFormat

屬性 
defaultTextFormat:flash.text:TextFormat

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

指定套用至新插入之文字 (例如,使用者所輸入的文字,或是以 replaceSelectedText() 方法插入的文字) 的格式。

注意:選取要用 setSelection()replaceSelectedText() 取代的字元時,唯有已達到且包含所選取的文字最後的字元時,才會套用 defaultTextFormat。底下是一個範例:

     var my_txt:TextField new TextField();
     my_txt.text = "Flash Macintosh version";
     var my_fmt:TextFormat = new TextFormat();
     my_fmt.color = 0xFF0000;
     my_txt.defaultTextFormat = my_fmt;
     my_txt.setSelection(6,15); // partial text selected - defaultTextFormat not applied
     my_txt.setSelection(6,23); // text selected to end - defaultTextFormat applied
     my_txt.replaceSelectedText("Windows version");
     

當您存取 defaultTextFormat 屬性時,傳回的 TextFormat 物件會定義所有屬性。 沒有屬性是 null

注意: 如果已經將樣式表套用至文字欄位,就不能設定這個屬性。



實作
    public function get defaultTextFormat():flash.text:TextFormat
    public function set defaultTextFormat(value:flash.text:TextFormat):void

direction

屬性 
direction:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

預設值為 "ltr"。



實作
    public function get direction():String
    public function set direction(value:String):void

displayAsPassword

屬性 
displayAsPassword:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get displayAsPassword():Boolean
    public function set displayAsPassword(value:Boolean):void

相關 API 元素

embedFonts

屬性 
embedFonts:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

會指定是否要使用內嵌的字體外框顯示。 如果為 false,Flash Player 會使用裝置字體顯示文字欄位。

如果您將文字欄位的 embedFonts 屬性設定為 true,就必須使用套用至文字欄位的 TextFormat 物件之 font 屬性,指定該文字的字體。 如果指定的字體沒有嵌入 SWF 檔,文字就不會顯示。



實作
    public function get embedFonts():Boolean
    public function set embedFonts(value:Boolean):void

fontContext

屬性 
fontContext:IFlexModuleFactory

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

預設值為 null。



實作
    public function get fontContext():IFlexModuleFactory
    public function set fontContext(value:IFlexModuleFactory):void

gridFitType

屬性 
gridFitType:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get gridFitType():String
    public function set gridFitType(value:String):void

相關 API 元素

htmlText

屬性 
htmlText:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

包含 HTML 表示方式的文字欄位內容。

Flash Player 支援下列 HTML 標籤:

標籤 說明
錨點標籤 <a> 標籤會建立超連結,並支援下列特質:
  • target:指定載入頁面所在的目標視窗名稱。 選項包括 _self_blank_parent_top_self 選項會指定目前視窗中的目前頁框、_blank 會指定新的視窗、_parent 會指定目前頁框的父輩,而 _top 則會指定目前視窗中最上層的頁框。
  • href:指定 URL 或 ActionScript link 事件。URL 可以是絕對位置,或是相對於載入頁面之 SWF 檔的位置。 URL 之絕對參照的範例為 http://www.adobe.com;相對參照的範例則為 /index.html。 絕對 URL 必須以 http:// 開頭,否則 Flash Player 或 AIR 會視為相對 URL。您可以使用 link 事件,讓連結執行 SWF 檔中的 ActionScript 函數,而不是開啟 URL。 若要指定 link 事件,請使用事件結構,而不是您的 href 特質中的 http 結構。 例如使用 href="event:myText",而不是 href="http://myURL"。當使用者按一下包含事件配置的超文字連結時,文字欄位會傳送其 text 屬性設定為 "myText" 的 link TextEvent。 接著,您可以建立於傳送 link TextEvent 時執行的 ActionScript 函數。 您也可以使用樣式表,定義錨點標籤的 a:linka:hovera:active 樣式。
粗體標籤 <b> 標籤會使文字呈現粗體。 所使用的字體必須具有粗體字樣。
斷行標籤 <br> 標籤會在文字欄位中建立斷行, 將文字欄位設為多行文字欄位,以使用這個標籤。
字體標籤 <font> 標籤會指定字體或字體清單以顯示文字。字體標籤支援下列特質:
  • color:僅支援十六進位顏色 (#FFFFFF) 值。
  • face:指定要使用的字體名稱。 如下列範例所示,您可以指定一份以逗點分隔字體名稱的清單,在此情況下,Flash Player 會選取第一種可用的字體: 如果指定的字體並未安裝在本機電腦系統上,或是未內嵌在 SWF 檔中,Flash Player 便會選取替代的字體。
  • size:指定字體大小。 您可以使用絕對像素大小,如 16 或 18;或是相對點大小,如 +2 或 -4。
影像標籤 <img> 標籤可讓您將外部影像檔 (JPEG、GIF、PNG)、SWF 檔及影片片段嵌入文字欄位中。 文字會自動排列在文字欄位中所嵌入影像的四周。 您必須將文字欄位設定為多行,才能將文字圍繞影像。

<img> 標籤支援下列特質:

  • src:指定影像檔、SWF 檔或元件庫中影片片段元件之連結識別名稱的 URL。 這個特質是必要的;其他所有特質都是選用的。 外部檔案 (JPEG、GIF、PNG 和 SWF 檔) 必須等到下載完成之後才會顯示。
  • width:所插入之影像、SWF 檔案或影片片段的寬度 (以像素為單位)。
  • height:所插入之影像、SWF 檔或影片片段的高度 (以像素為單位)。
  • align:指定文字欄位內所嵌入影像的水平對齊方式。 有效值為 leftright。 預設值為 left
  • hspace:指定環繞在影像周圍而不會顯示文字的水平空間量。 預設值為 8。
  • vspace:指定環繞在影像周圍而不會顯示文字的垂直空間量。 預設值為 8。
  • id:指定含有內嵌影像檔、SWF 檔或影片片段之影片片段實體 (由 Flash Player 建立) 的名稱。 這讓您得以使用 ActionScript 控制內嵌內容。
  • checkPolicyFile:指定 Flash Player 檢查伺服器 (與影像的網域有關聯) 上的 URL 原則檔。如果原則檔存在,檔案中所列出網域內的 SWF 檔即可存取載入影像的資料,例如呼叫 BitmapData.draw() 方法,並以此影像做為 source 參數。如需安全性詳細資訊,請參閱「Flash Player 開發人員中心」主題:安全性

Flash 會以完整大小來顯示文字欄位中所嵌入的媒體。 若要指定內嵌的媒體尺寸,請使用 <img> 標籤的 heightwidth 特質。

一般而言,嵌入在文字欄位中的影像,會顯示在 <img> 標籤之後的下一行中。 然而,如果 <img> 標籤是文字欄位中的第一個字元,影像便會出現在文字欄位的第一行上。

對於應用程式安全執行程序中的 AIR 內容,AIR 會忽略 ActionScript TextField 物件中 HTML 內容的 img 標籤。這可避免遭受潛在的網路釣魚攻擊。

斜體標籤 <i> 標籤會將加上標籤的文字以斜體顯示。 所使用的字體必須具有斜體字樣。
清單項目標籤 <li> 標籤會在標籤內的文字之前加上項目符號。 注意:由於 Flash Player 與 AIR 無法辨識編號清單和項目清單標籤 (<ol><ul>),這些標籤不會修改清單的顯示方式。所有的清單都沒有順序,而且所有的清單項目都會使用項目符號。
段落標籤 <p> 標籤會建立新的段落。 文字欄位必須設為多行文字欄位,才能使用這個標籤。<p> 標籤支援下列特質:
  • align:指定段落內文字的對齊方式;有效值為 leftrightjustifycenter
  • class:指定由 flash.text.StyleSheet 物件定義的 CSS 樣式類別。
Span 標籤 <span> 標籤只能用於 CSS 文字樣式 它支援以下特質:
  • class:指定由 flash.text.StyleSheet 物件定義的 CSS 樣式類別。
文字格式標籤

<textformat> 標籤可讓您在文字欄位內使用 TextFormat 類別的段落格式屬性之子集,包括行距、縮排、邊界及定位停駐點。 您可以將 <textformat> 標籤與內建的 HTML 標籤組合使用。

<textformat> 標籤具有下列特質:

  • blockindent:以點為單位指定區塊縮排;對應於 TextFormat.blockIndent
  • indent:指定段落中從左方邊界到第一個字元的縮排,對應於 TextFormat.indent。 正值與負值均可接受。
  • leading:指定行與行之間的距離 (垂直間距),對應於 TextFormat.leading。 正值與負值均可接受。
  • leftmargin:以點為單位指定段落的左邊界;對應於 TextFormat.leftMargin
  • rightmargin:以點為單位指定段落的右邊界,對應於 TextFormat.rightMargin
  • tabstops:指定自訂定位停駐點為非負值整數的陣列,對應於 TextFormat.tabStops
底線標籤 <u> 標籤會為標籤內的文字加上底線。

Flash Player 和 AIR 支援下列 HTML 實體:

實體 說明
&lt; < (小於)
&gt; > (大於)
&amp; & (&符號)
&quot; " (雙引號)
&apos; ' (所有格、單引號)

Flash Player 和 AIR 也明確支援字元碼,如 &#38; (ASCII 的 & 符號) 及 &#x20AC; (Unicode 的 € 符號)。



實作
    public function get htmlText():String
    public function set htmlText(value:String):void

length

屬性 
length:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字欄位中的字元數。 像是定位點字元 (\t) 這類字元也算是一個字元。



實作
    public function get length():int

locale

屬性 
locale:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get locale():String
    public function set locale(value:String):void

maxChars

屬性 
maxChars:int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get maxChars():int
    public function set maxChars(value:int):void

相關 API 元素

maxScrollH

屬性 
maxScrollH:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get maxScrollH():int

相關 API 元素

maxScrollV

屬性 
maxScrollV:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get maxScrollV():int

相關 API 元素

mouseWheelEnabled

屬性 
mouseWheelEnabled:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get mouseWheelEnabled():Boolean
    public function set mouseWheelEnabled(value:Boolean):void

相關 API 元素

multiline

屬性 
multiline:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get multiline():Boolean
    public function set multiline(value:Boolean):void

相關 API 元素

numLines

屬性 
numLines:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

會定義多行文字欄位中的文字行數。 如果 wordWrap 屬性設定為 true,行數便會在文字換行時增加。



實作
    public function get numLines():int

restrict

屬性 
restrict:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get restrict():String
    public function set restrict(value:String):void

相關 API 元素

scrollH

屬性 
scrollH:int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get scrollH():int
    public function set scrollH(value:int):void

相關 API 元素

scrollV

屬性 
scrollV:int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get scrollV():int
    public function set scrollV(value:int):void

相關 API 元素

selectable

屬性 
selectable:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get selectable():Boolean
    public function set selectable(value:Boolean):void

相關 API 元素

selectionBeginIndex

屬性 
selectionBeginIndex:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get selectionBeginIndex():int

相關 API 元素

selectionEndIndex

屬性 
selectionEndIndex:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get selectionEndIndex():int

相關 API 元素

sharpness

屬性 
sharpness:Number

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get sharpness():Number
    public function set sharpness(value:Number):void

相關 API 元素

styleSheet

屬性 
styleSheet:StyleSheet

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

將樣式表附加至文字欄位。 如需建立樣式表的資訊,請參閱 StyleSheet 類別和「ActionScript 3.0 開發人員指南」。

您隨時都能變更與文字欄位有關聯的樣式表。 如果您變更使用中的樣式表,便會以新的樣式表重繪文字欄位。 您可以將樣式表設定為 nullundefined 以移除樣式表。 使用的樣式表若被移除,文字欄位會在沒有樣式表的情況下重新繪製。

注意:如果移除樣式表,TextField.textTextField.htmlText 的內容都會變更,以便將該樣式表先前套用的格式納入。 若要保留不含格式的原始 TextField.htmlText 內容,請先將該值儲存在變數中,再移除樣式表。



實作
    public function get styleSheet():StyleSheet
    public function set styleSheet(value:StyleSheet):void

相關 API 元素

text

屬性 
text:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

做為文字欄位中目前文字的字串。 字行是由歸位字元 ('\r',ASCII 13) 加以區隔。 這個屬性包含文字欄位中不含 HTML 標籤的未格式化文字。

若要取得 HTML 格式的文字,請使用 htmlText 屬性。

注意:如果樣式表套用到文字欄位,text 屬性的內容將會解譯為 HTML。



實作
    public function get text():String
    public function set text(value:String):void

textColor

屬性 
textColor:uint

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字欄位中文字的顏色,以十六進位格式表示。 16 進位顏色系統使用六位數來代表顏色值。 每位數字都具有 16 種可能的值或字元。字元的範圍從 0 到 9,並從 A 到 F。例如,黑色是 0x000000;白色是 0xFFFFFF



實作
    public function get textColor():uint
    public function set textColor(value:uint):void

textHeight

屬性 
textHeight:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字的高度,以像素為單位。



實作
    public function get textHeight():Number

textWidth

屬性 
textWidth:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字的寬度,以像素為單位。



實作
    public function get textWidth():Number

thickness

屬性 
thickness:Number

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get thickness():Number
    public function set thickness(value:Number):void

相關 API 元素

type

屬性 
type:String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

文字欄位的類型。 可以是下列其中一個 TextFieldType 常數:TextFieldType.DYNAMIC,會指定使用者無法編輯的動態文字欄位;或是 TextFieldType.INPUT,會指定使用者可以編輯的輸入文字欄位。



實作
    public function get type():String
    public function set type(value:String):void

useRichTextClipboard

屬性 
useRichTextClipboard:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.



實作
    public function get useRichTextClipboard():Boolean
    public function set useRichTextClipboard(value:Boolean):void

相關 API 元素

wordWrap

屬性 
wordWrap:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

指出文字欄位是否具有文字換行功能的 Boolean 值。 如果 wordWrap 的值是 true,文字欄位便有文字換行;如果這個值是 false,文字欄位就沒有文字換行。 預設值是 false



實作
    public function get wordWrap():Boolean
    public function set wordWrap(value:Boolean):void
建構函式詳細資料

FTETextField

()建構函式
public function FTETextField()

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Constructor.

方法詳細資訊

appendText

()方法
public function appendText(newText:String):void

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

newText:String — n/a

相關 API 元素

getCharBoundaries

()方法 
public function getCharBoundaries(charIndex:int):Rectangle

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

charIndex:int — n/a

傳回值
Rectangle — n/a

相關 API 元素

getCharIndexAtPoint

()方法 
public function getCharIndexAtPoint(x:Number, y:Number):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

x:Number — n/a
 
y:Number — n/a

傳回值
int — n/a

相關 API 元素

getFirstCharInParagraph

()方法 
public function getFirstCharInParagraph(charIndex:int):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

charIndex:int — n/a

傳回值
int — n/a

相關 API 元素

getImageReference

()方法 
public function getImageReference(id:String):DisplayObject

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

id:String — n/a

傳回值
DisplayObject — n/a

相關 API 元素

getLineIndexAtPoint

()方法 
public function getLineIndexAtPoint(x:Number, y:Number):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

x:Number — n/a
 
y:Number — n/a

傳回值
int — n/a

相關 API 元素

getLineIndexOfChar

()方法 
public function getLineIndexOfChar(charIndex:int):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

charIndex:int — n/a

傳回值
int — n/a

相關 API 元素

getLineLength

()方法 
public function getLineLength(lineIndex:int):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

lineIndex:int — n/a

傳回值
int — n/a

相關 API 元素

getLineMetrics

()方法 
public function getLineMetrics(lineIndex:int):flash.text:TextLineMetrics

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

會傳回關於指定之文字行的公制字資訊。

參數

lineIndex:int — The line number for which you want metrics information.

傳回值
flash.text:TextLineMetrics — A TextLineMetrics object.

getLineOffset

()方法 
public function getLineOffset(lineIndex:int):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

lineIndex:int — n/a

傳回值
int — n/a

相關 API 元素

getLineText

()方法 
public function getLineText(lineIndex:int):String

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

lineIndex:int — n/a

傳回值
String — n/a

相關 API 元素

getParagraphLength

()方法 
public function getParagraphLength(charIndex:int):int

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

charIndex:int — n/a

傳回值
int — n/a

相關 API 元素

getTextFormat

()方法 
public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):flash.text:TextFormat

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

beginIndex:int (default = -1) — n/a
 
endIndex:int (default = -1) — n/a

傳回值
flash.text:TextFormat — n/a

相關 API 元素

replaceSelectedText

()方法 
public function replaceSelectedText(value:String):void

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

value:String — n/a

相關 API 元素

replaceText

()方法 
public function replaceText(beginIndex:int, endIndex:int, newText:String):void

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

beginIndex:int — n/a
 
endIndex:int — n/a
 
newText:String — n/a

相關 API 元素

setSelection

()方法 
public function setSelection(beginIndex:int, endIndex:int):void

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

beginIndex:int — n/a
 
endIndex:int — n/a

相關 API 元素

setTextFormat

()方法 
public function setTextFormat(format:flash.text:TextFormat, beginIndex:int = -1, endIndex:int = -1):void

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: 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.

參數

format:flash.text:TextFormat — n/a
 
beginIndex:int (default = -1) — n/a
 
endIndex:int (default = -1) — n/a

相關 API 元素





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。