Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: AIR 30.0 이하, Flash Player 30.0 이하, Flash Lite 4
Flex 4.6 이하, Flash Pro CS6 이하
필터 숨기기
mx.core 

IUITextField  - 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 태그
사용되지 않는 요소의 목록
액세스 가능성 구현 상수
ActionScript 예제 사용 방법
법적 고지 사항
패키지mx.core
인터페이스public interface IUITextField extends IIMESupport , IFlexModule , IInvalidating , ISimpleStyleClient , IToolTipManagerClient , IUIComponent , IFlexDisplayObject , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher
구현자 UIFTETextField, UITextField

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The IUITextField interface defines the basic set of APIs for UITextField instances.



공용 속성
 속성정의 주체
 InheritedaccessibilityProperties : AccessibilityProperties
이 표시 객체의 현재 액세스 가능성 옵션입니다.
IFlexDisplayObject
 Inheritedalpha : Number
지정된 객체의 알파 투명도 값을 나타냅니다.
IFlexDisplayObject
  alwaysShowSelection : Boolean
true로 설정하면 텍스트 필드에 포커스가 없는 경우 Flash Player에서 텍스트 필드의 선택 영역이 회색으로 강조 표시됩니다.
IUITextField
  antiAliasType : String
이 텍스트 필드에 사용되는 앤티앨리어싱 유형입니다.
IUITextField
  autoSize : String
텍스트 필드의 자동 크기 조절 및 정렬을 제어합니다.
IUITextField
  background : Boolean
텍스트 필드에 배경 칠이 있는지 여부를 지정합니다.
IUITextField
  backgroundColor : uint
텍스트 필드의 배경색입니다.
IUITextField
 InheritedbaselinePosition : Number
[읽기 전용] The y-coordinate of the baseline of the first line of text of the component.
IUIComponent
 InheritedblendMode : String
사용할 블렌드 모드를 지정하는 BlendMode 클래스 값입니다.
IFlexDisplayObject
  border : Boolean
텍스트 필드에 테두리가 있는지 여부를 지정합니다.
IUITextField
  borderColor : uint
텍스트 필드의 테두리 색상입니다.
IUITextField
  bottomScrollV : int
[읽기 전용] 지정된 텍스트 필드에서 현재 맨 아래에 표시되는 행을 나타내는 정수 인덱스(1부터 시작)입니다.
IUITextField
 InheritedcacheAsBitmap : Boolean
true로 설정된 경우 Flash 런타임은 표시 객체의 내부 비트맵 표현을 캐시합니다.
IFlexDisplayObject
  caretIndex : int
[읽기 전용] 삽입점(캐럿) 위치의 인덱스입니다.
IUITextField
  condenseWhite : Boolean
HTML 텍스트가 있는 텍스트 필드에서 공백 문자, 줄 바꿈 등의 불필요한 공백을 제거할지 여부를 지정하는 부울 값입니다.
IUITextField
  defaultTextFormat : flash.text:TextFormat
replaceSelectedText() 메서드로 삽입한 텍스트 또는 사용자가 입력한 텍스트 등 새로 삽입되는 텍스트에 적용할 서식을 지정합니다.
IUITextField
  displayAsPassword : Boolean
텍스트 필드가 암호 텍스트 필드인지 여부를 지정합니다.
IUITextField
 Inheriteddocument : Object
A reference to the document object associated with this component.
IUIComponent
  doubleClickEnabled : Boolean
이 객체에서 doubleClick 이벤트를 받을지 여부를 지정합니다.
IUITextField
  embedFonts : Boolean
포함된 글꼴 외곽선을 사용하여 렌더링할지 여부를 지정합니다.
IUITextField
 Inheritedenabled : Boolean
Whether the component can accept user interaction.
IUIComponent
 InheritedenableIME : Boolean
[읽기 전용] Specifies whether the IME should be enabled when this component has focus.
IIMESupport
 InheritedexplicitHeight : Number
The explicitly specified height for the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxHeight : Number
[읽기 전용] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxWidth : Number
[읽기 전용] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinHeight : Number
[읽기 전용] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinWidth : Number
[읽기 전용] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitWidth : Number
The explicitly specified width for the component, in pixels, as the component's coordinates.
IUIComponent
 Inheritedfilters : Array
현재 표시 객체와 연관된 각 필터 객체가 들어 있는 인덱싱된 배열입니다.
IFlexDisplayObject
 InheritedfocusPane : Sprite
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator.
IUIComponent
  focusRect : Object
이 객체에서 포커스 사각형을 표시할지 여부를 지정합니다.
IUITextField
  gridFitType : String
이 텍스트 필드에 사용되는 격자 맞춤의 유형입니다.
IUITextField
 Inheritedheight : Number
표시 객체의 높이를 픽셀 단위로 나타냅니다.
IFlexDisplayObject
  htmlText : String
텍스트 필드 내용의 HTML 표현이 들어 있습니다.
IUITextField
  ignorePadding : Boolean
If true, the paddingLeft and paddingRight styles will not add space around the text of the component.
IUITextField
 InheritedimeMode : String
The IME mode of the component.
IIMESupport
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
IUIComponent
  inheritingStyles : Object
The beginning of this UITextField's chain of inheriting styles.
IUITextField
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
IUIComponent
  length : int
[읽기 전용] 텍스트 필드의 문자 수입니다.
IUITextField
 InheritedloaderInfo : LoaderInfo
[읽기 전용] 이 표시 객체가 속한 파일의 로딩 정보가 포함된 LoaderInfo 객체를 반환합니다.
IFlexDisplayObject
 Inheritedmask : DisplayObject
호출하는 표시 객체는 지정된 mask 객체에 의해 마스크 처리됩니다.
IFlexDisplayObject
  maxChars : int
사용자가 입력하여 텍스트 필드에 포함될 수 있는 최대 문자 수입니다.
IUITextField
 InheritedmaxHeight : Number
[읽기 전용] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
  maxScrollH : int
[읽기 전용] scrollH의 최대값입니다.
IUITextField
  maxScrollV : int
[읽기 전용] scrollV의 최대값입니다.
IUITextField
 InheritedmaxWidth : Number
[읽기 전용] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmeasuredHeight : Number
[읽기 전용] The measured height of this object.
IFlexDisplayObject
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
IUIComponent
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
IUIComponent
 InheritedmeasuredWidth : Number
[읽기 전용] The measured width of this object.
IFlexDisplayObject
 InheritedminHeight : Number
[읽기 전용] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedminWidth : Number
[읽기 전용] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
  mouseEnabled : Boolean
이 객체가 마우스 또는 기타 사용자 입력, 메시지를 수신할지 여부를 지정합니다.
IUITextField
  mouseWheelEnabled : Boolean
사용자가 텍스트 필드를 클릭하고 마우스 휠을 굴릴 때 여러 줄 텍스트 필드가 자동으로 스크롤되는지 여부를 나타내는 부울 값입니다.
IUITextField
 InheritedmouseX : Number
[읽기 전용] 마우스 또는 사용자 입력 장치 위치의 x 좌표를 픽셀로 나타냅니다.
IFlexDisplayObject
 InheritedmouseY : Number
[읽기 전용] 마우스 또는 사용자 입력 장치 위치의 y 좌표를 픽셀로 나타냅니다.
IFlexDisplayObject
  multiline : Boolean
필드가 여러 행 텍스트 필드인지 여부를 나타냅니다.
IUITextField
 Inheritedname : String
DisplayObject의 인스턴스 이름을 나타냅니다.
IFlexDisplayObject
  nestLevel : int
Depth of this object in the containment hierarchy.
IUITextField
  nonInheritingStyles : Object
The beginning of this UITextField's chain of non-inheriting styles.
IUITextField
  nonZeroTextHeight : Number
[읽기 전용] Unlike textHeight, this returns a non-zero value even when the text is empty.
IUITextField
  numLines : int
[읽기 전용] 여러 행 텍스트 필드의 텍스트 행 수를 정의합니다.
IUITextField
 InheritedopaqueBackground : Object
표시 객체를 특정 배경색으로 불투명하게 처리할지 여부를 지정합니다.
IFlexDisplayObject
 Inheritedowner : DisplayObjectContainer
The owner of this IVisualElement object.
IUIComponent
 Inheritedparent : DisplayObjectContainer
[읽기 전용] 이 표시 객체가 포함된 DisplayObjectContainer 객체를 나타냅니다.
IFlexDisplayObject
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
IUIComponent
 InheritedpercentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
IUIComponent
  restrict : String
사용자가 텍스트 필드에 입력할 수 있는 문자 세트를 나타냅니다.
IUITextField
 Inheritedroot : DisplayObject
[읽기 전용] 로드된 SWF 파일에 있는 표시 객체의 경우, 해당 SWF 파일이 나타내는 표시 목록의 트리 구조 부분에서 맨 위에 위치하는 표시 객체가 루트 속성이 됩니다.
IFlexDisplayObject
 Inheritedrotation : Number
DisplayObject 인스턴스가 원점으로부터 회전한 각도입니다.
IFlexDisplayObject
 Inheritedscale9Grid : Rectangle
현재 적용 중인 크기 조절 격자입니다.
IFlexDisplayObject
 InheritedscaleX : Number
등록 포인트에서 적용된 객체의 가로 크기(백분율)를 나타냅니다.
IFlexDisplayObject
 InheritedscaleY : Number
객체의 등록 포인트에서 적용된 객체의 세로 크기(백분율)를 나타냅니다.
IFlexDisplayObject
  scrollH : int
현재 가로 스크롤 위치입니다.
IUITextField
 InheritedscrollRect : Rectangle
표시 객체의 스크롤 사각형 경계입니다.
IFlexDisplayObject
  scrollV : int
텍스트 필드에서 텍스트의 수직 위치입니다.
IUITextField
  selectable : Boolean
텍스트 필드를 선택할 수 있는지 여부를 나타내는 부울 값입니다.
IUITextField
  selectionBeginIndex : int
[읽기 전용] 현재 선택 영역에 있는 첫 문자의 문자 인덱스 값(0부터 시작)입니다.
IUITextField
  selectionEndIndex : int
[읽기 전용] 현재 선택 영역에 있는 마지막 문자의 문자 인덱스 값(0부터 시작)입니다.
IUITextField
  sharpness : Number
이 텍스트 필드의 글리프 가장자리 선명도입니다.
IUITextField
 Inheritedstage : Stage
[읽기 전용] 표시 객체의 Stage입니다.
IFlexDisplayObject
 InheritedstyleName : Object
The source of this object's style values.
ISimpleStyleClient
  styleSheet : StyleSheet
텍스트 필드에 스타일 시트를 연결합니다.
IUITextField
 InheritedsystemManager : ISystemManager
A reference to the SystemManager object for this component.
IUIComponent
  tabEnabled : Boolean
이 객체가 탭 순서에 있는지 여부를 지정합니다.
IUITextField
  tabIndex : int
SWF 파일에서 객체의 탭 순서를 지정합니다.
IUITextField
  text : String
텍스트 필드의 현재 텍스트인 문자열입니다.
IUITextField
  textColor : uint
텍스트 필드의 16진수 형식 텍스트 색상입니다.
IUITextField
  textHeight : Number
[읽기 전용] 텍스트의 높이(픽셀 단위)입니다.
IUITextField
  textWidth : Number
[읽기 전용] 텍스트의 폭(픽셀 단위)입니다.
IUITextField
  thickness : Number
이 텍스트 필드의 글리프 가장자리 두께입니다.
IUITextField
 InheritedtoolTip : String
The text of this component's tooltip.
IToolTipManagerClient
 Inheritedtransform : flash.geom:Transform
표시 객체의 행렬, 색상 변환 및 픽셀 경계와 관련된 속성을 가진 객체입니다.
IFlexDisplayObject
 InheritedtweeningProperties : Array
Used by EffectManager.
IUIComponent
  type : String
텍스트 필드의 유형입니다.
IUITextField
  useRichTextClipboard : Boolean
텍스트와 함께 텍스트 서식을 복사하여 붙여 넣을지 여부를 지정합니다.
IUITextField
 Inheritedvisible : Boolean
표시 객체가 표시되는지 여부를 나타냅니다.
IFlexDisplayObject
 Inheritedwidth : Number
표시 객체의 폭을 픽셀 단위로 나타냅니다.
IFlexDisplayObject
  wordWrap : Boolean
텍스트 필드에 자동 줄 바꿈이 사용되는지 여부를 나타내는 부울 값입니다.
IUITextField
 Inheritedx : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 x 좌표를 나타냅니다.
IFlexDisplayObject
 Inheritedy : Number
부모 DisplayObjectContainer의 로컬 좌표를 기준으로 DisplayObject 인스턴스의 y 좌표를 나타냅니다.
IFlexDisplayObject
공용 메서드
 메서드정의 주체
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다.
IEventDispatcher
  
newText 매개 변수에 지정된 문자열을 텍스트 필드의 텍스트 끝에 추가합니다.
IUITextField
 Inherited
이벤트를 이벤트 흐름으로 전달합니다.
IEventDispatcher
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
targetCoordinateSpace 객체의 좌표계를 기준으로 표시 객체의 영역을 정의하는 사각형을 반환합니다.
IFlexDisplayObject
  
문자의 경계 상자인 사각형을 반환합니다.
IUITextField
  
x 및 y 매개 변수로 지정된 점에 있는 문자의 인덱스 값(0부터 시작)을 반환합니다.
IUITextField
 Inherited
A convenience method for determining whether to use the explicit or measured height
IUIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured width
IUIComponent
  
지정된 문자 인덱스와 같은 단락에 있는 첫 문자의 인덱스를 반환합니다.
IUITextField
  
<img> 태그를 사용하여 HTML 형식 텍스트 필드에 추가된 이미지 또는 SWF 파일에 대한 지정된 ID의 DisplayObject 참조를 반환합니다.
IUITextField
  
x 및 y 매개 변수로 지정된 점에 있는 행의 인덱스 값(0부터 시작)을 반환합니다.
IUITextField
  
charIndex 매개 변수로 지정된 문자가 들어 있는 행의 인덱스 값(0부터 시작)을 반환합니다.
IUITextField
  
getLineLength(lineIndex:int):int
특정 텍스트 행의 문자 수를 반환합니다.
IUITextField
  
지정된 텍스트 행에 대한 메트릭 정보를 반환합니다.
IUITextField
  
getLineOffset(lineIndex:int):int
lineIndex 매개 변수로 지정된 행에 있는 첫 문자의 문자 인덱스를 반환합니다.
IUITextField
  
lineIndex 매개 변수로 지정된 행의 텍스트를 반환합니다.
IUITextField
  
지정된 문자 인덱스가 포함된 단락의 길이를 반환합니다.
IUITextField
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
대상 좌표 공간 매개 변수에 의해 정의되는 좌표계를 기준으로 모양의 획을 제외하고 표시 객체의 경계를 정의하는 사각형을 반환합니다.
IFlexDisplayObject
  
getStyle(styleProp:String):*
Gets a style property that has been set anywhere in this component's style lookup chain.
IUITextField
  
getTextFormat(beginIndex:int = -1, endIndex:int = -1):flash.text:TextFormat
beginIndex 및 endIndex 매개 변수로 지정된 텍스트 범위에 대한 서식 정보가 들어 있는 TextFormat 객체를 반환합니다.
IUITextField
  
Returns a UITextFormat object that contains formatting information for this component.
IUITextField
 Inherited
Point 객체를 Stage 전역 좌표에서 표시 객체의 로컬 좌표로 변환합니다.
IFlexDisplayObject
 Inherited
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다.
IEventDispatcher
 Inherited
표시 객체의 경계 상자를 평가하여 obj 표시 객체의 경계 상자와 겹치거나 교차하는지 확인합니다.
IFlexDisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
표시 객체를 평가하여 x 및 y 매개 변수에 의해 지정된 점과 겹치거나 교차하는지 확인합니다.
IFlexDisplayObject
 Inherited
Initialize the object.
IUIComponent
 Inherited
Calling this method results in a call to the component's validateDisplayList() method before the display list is rendered.
IInvalidating
 Inherited
Calling this method results in a call to the component's validateProperties() method before the display list is rendered.
IInvalidating
 Inherited
Calling this method results in a call to the component's validateSize() method before the display list is rendered.
IInvalidating
 Inherited
Point 객체를 표시 객체의 로컬 좌표에서 Stage 전역 좌표로 변환합니다.
IFlexDisplayObject
 Inherited
Moves this object to the specified x and y coordinates.
IFlexDisplayObject
 Inherited
owns(displayObject:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
IUIComponent
 Inherited
Called by Flex when a UIComponent object is added to or removed from a parent.
IUIComponent
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher 객체에서 리스너를 제거합니다.
IEventDispatcher
  
현재 선택 내용을 value 매개 변수의 내용으로 바꿉니다.
IUITextField
  
replaceText(beginIndex:int, endIndex:int, newText:String):void
beginIndex 및 endIndex 매개 변수로 지정된 문자 범위를 newText 매개 변수의 내용으로 바꿉니다.
IUITextField
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
IFlexDisplayObject
  
Sets the font color of the text.
IUITextField
  
Sets the focus to this component.
IUITextField
  
setSelection(beginIndex:int, endIndex:int):void
beginIndex 및 endIndex 매개 변수로 지정된 첫 번째 및 마지막 문자의 인덱스 값으로 지정된 텍스트를 선택된 상태로 설정합니다.
IUITextField
  
setTextFormat(format:flash.text:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
텍스트 필드의 지정된 텍스트에 format 매개 변수로 지정된 텍스트 서식을 적용합니다.
IUITextField
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
IUIComponent
 Inherited
Called when the value of a style property is changed.
ISimpleStyleClient
  
truncateToFit(truncationIndicator:String = null):Boolean
Truncate text to make it fit horizontally in the area defined for the control, and append an ellipsis, three periods (...), to the text.
IUITextField
 Inherited
Validates and updates the properties and layout of this object by immediately calling validateProperties(), validateSize(), and validateDisplayList(), if necessary.
IInvalidating
 Inherited
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다.
IEventDispatcher
속성 세부 정보

alwaysShowSelection

속성
alwaysShowSelection:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

true로 설정하면 텍스트 필드에 포커스가 없는 경우 Flash Player에서 텍스트 필드의 선택 영역이 회색으로 강조 표시됩니다. false로 설정하면 텍스트 필드에 포커스가 없는 경우 Flash Player에서 텍스트 필드의 선택 영역이 강조 표시되지 않습니다.



구현
    public function get alwaysShowSelection():Boolean
    public function set alwaysShowSelection(value:Boolean):void

antiAliasType

속성 
antiAliasType:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 텍스트 필드에 사용되는 앤티앨리어싱 유형입니다. 이 속성에는 flash.text.AntiAliasType 상수를 사용합니다. 이 설정은 글꼴이 포함되어 있는 경우(embedFonts 속성이 true로 설정)에만 제어할 수 있습니다. 기본 설정은 flash.text.AntiAliasType.NORMAL입니다.

이 속성의 값을 설정하려면 다음 문자열 값을 사용합니다.

문자열 값설명
flash.text.AntiAliasType.NORMAL일반 텍스트 앤티앨리어싱을 적용합니다. 이 값은 Flash Player 7 이하 버전에서 사용되는 앤티앨리어싱 유형과 같습니다.
flash.text.AntiAliasType.ADVANCED텍스트를 보다 읽기 쉽게 표시하는 고급 앤티앨리어싱을 적용합니다. 이 기능은 Flash Player 8에서 추가되었습니다. 고급 앤티앨리어싱을 사용하면 작은 크기의 글꼴을 고품질로 렌더링할 수 있습니다. 이 설정은 글자 크기가 작은 텍스트가 많이 포함된 응용 프로그램에서 사용하면 좋습니다. 글자 크기 48포인트 이상의 글꼴에는 고급 앤티앨리어싱 설정을 사용하지 않는 것이 좋습니다.



구현
    public function get antiAliasType():String
    public function set antiAliasType(value:String):void

autoSize

속성 
autoSize:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 자동 크기 조절 및 정렬을 제어합니다. TextFieldAutoSize 상수에 사용할 수 있는 값은 TextFieldAutoSize.NONE(기본값), TextFieldAutoSize.LEFT, TextFieldAutoSize.RIGHTTextFieldAutoSize.CENTER입니다.

autoSize를 기본값인 TextFieldAutoSize.NONE으로 설정하면 크기가 자동으로 조절되지 않습니다.

autoSizeTextFieldAutoSize.LEFT로 설정하면 텍스트가 왼쪽 정렬로 간주되어 텍스트 필드의 왼쪽 여백이 고정되며 텍스트 필드의 단일 행에 대한 모든 크기 조절이 오른쪽 여백에 적용됩니다. 텍스트에 "\n" 또는 "\r" 등의 줄 바꿈이 포함된 경우 아래쪽 크기가 다음 텍스트 행에 맞게 조절됩니다. 또한 wordWraptrue로 설정하면 텍스트 필드의 아래쪽만 크기가 조절되고 오른쪽은 고정됩니다.

autoSizeTextFieldAutoSize.RIGHT로 설정하면 텍스트가 오른쪽 정렬로 간주되어 텍스트 필드의 오른쪽 여백이 고정되며 텍스트 필드의 단일 행에 대한 모든 크기 조절이 왼쪽 여백에 적용됩니다. 텍스트에 "\n" 또는 "\r" 등의 줄 바꿈이 포함된 경우 아래쪽 크기가 다음 텍스트 행에 맞게 조절됩니다. 또한 wordWraptrue로 설정하면 텍스트 필드의 아래쪽만 크기가 조절되고 왼쪽은 고정됩니다.

autoSizeTextFieldAutoSize.CENTER로 설정하면 텍스트가 가운데 정렬로 간주되어 텍스트 필드의 단일 행에 대한 모든 크기 조절이 오른쪽 여백과 왼쪽 여백에 균등하게 적용됩니다. 텍스트에 "\n" 또는 "\r" 등의 줄 바꿈이 포함된 경우 아래쪽 크기가 다음 텍스트 행에 맞게 조절됩니다. 또한 wordWraptrue로 설정하면 텍스트 필드의 아래쪽만 크기가 조절되고 왼쪽과 오른쪽은 고정됩니다.



구현
    public function get autoSize():String
    public function set autoSize(value:String):void

background

속성 
background:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드에 배경 칠이 있는지 여부를 지정합니다. true이면 텍스트 필드에 배경 칠이 있습니다. false이면 텍스트 필드에 배경 칠이 없습니다. 텍스트 필드의 배경색을 설정하려면 backgroundColor 속성을 사용합니다.



구현
    public function get background():Boolean
    public function set background(value:Boolean):void

backgroundColor

속성 
backgroundColor:uint

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 배경색입니다. 기본값은 0xFFFFFF(흰색)입니다. 이 속성은 현재 배경이 없어도 가져오거나 설정할 수 있지만 색상을 표시하려면 텍스트 필드의 background 속성을 true로 설정해야 합니다.



구현
    public function get backgroundColor():uint
    public function set backgroundColor(value:uint):void

border

속성 
border:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드에 테두리가 있는지 여부를 지정합니다. true이면 텍스트 필드에 테두리가 있습니다. false이면 텍스트 필드에 테두리가 없습니다. 테두리 색상을 설정하려면 borderColor 속성을 사용합니다.



구현
    public function get border():Boolean
    public function set border(value:Boolean):void

borderColor

속성 
borderColor:uint

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 테두리 색상입니다. 기본값은 0x000000(검정)입니다. 이 속성은 현재 테두리가 없어도 가져오거나 설정할 수 있지만 색상을 표시하려면 텍스트 필드의 border 속성을 true로 설정해야 합니다.



구현
    public function get borderColor():uint
    public function set borderColor(value:uint):void

bottomScrollV

속성 
bottomScrollV:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

지정된 텍스트 필드에서 현재 맨 아래에 표시되는 행을 나타내는 정수 인덱스(1부터 시작)입니다. 텍스트 필드는 텍스트 블록 위의 "윈도우"라고 이해할 수 있습니다. scrollV 속성은 윈도우에서 맨 위에 표시되는 행의 인덱스(1부터 시작)입니다.

scrollVbottomScrollV로 지정한 행 사이의 모든 텍스트가 현재 텍스트 필드에 표시됩니다.



구현
    public function get bottomScrollV():int

caretIndex

속성 
caretIndex:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

삽입점(캐럿) 위치의 인덱스입니다. 삽입점이 표시되지 않는 경우 이 값은 필드에 포커스가 돌아올 때 삽입점이 놓일 위치입니다. 이 위치는 일반적으로 삽입점이 마지막으로 있었던 위치이며, 필드가 포커스를 가진 적이 없는 경우에는 0입니다.

선택 범위 인덱스는 0부터 시작합니다. 예를 들어 첫 위치는 0이고 두 번째 위치는 1과 같은 식입니다.



구현
    public function get caretIndex():int

condenseWhite

속성 
condenseWhite:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

HTML 텍스트가 있는 텍스트 필드에서 공백 문자, 줄 바꿈 등의 불필요한 공백을 제거할지 여부를 지정하는 부울 값입니다. 기본값은 false입니다. condenseWhite 속성은 htmlText 속성이 설정된 텍스트에만 적용되고 text 속성이 설정된 텍스트에는 적용되지 않습니다. 텍스트에 text 속성을 설정하면 condenseWhite가 무시됩니다.

condenseWhitetrue로 설정한 경우 텍스트 필드에 줄 바꿈을 배치하려면 <BR><P> 등의 표준 HTML 명령을 사용합니다.

condenseWhite 속성은 htmlText 속성을 설정하기 전에 설정해야 합니다.



구현
    public function get condenseWhite():Boolean
    public function set condenseWhite(value:Boolean):void

defaultTextFormat

속성 
defaultTextFormat:flash.text:TextFormat

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

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

displayAsPassword

속성 
displayAsPassword:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드가 암호 텍스트 필드인지 여부를 지정합니다. 이 속성의 값이 true이면 텍스트 필드가 암호 텍스트 필드로 간주되며 실제 문자 대신 별표를 사용하여 입력 문자가 숨겨집니다. 이 값이 false이면 텍스트 필드가 암호 텍스트 필드로 간주되지 않습니다. 암호 모드를 사용하면 잘라내기 및 복사 명령과 해당 키보드 단축키가 작동하지 않습니다. 이 보안 메커니즘은 악의적인 사용자가 단축키를 사용하여 아무도 없는 컴퓨터에서 암호를 알아낼 수 없게 합니다.



구현
    public function get displayAsPassword():Boolean
    public function set displayAsPassword(value:Boolean):void

doubleClickEnabled

속성 
doubleClickEnabled:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 객체에서 doubleClick 이벤트를 받을지 여부를 지정합니다. 기본값은 false로, InteractiveObject 인스턴스가 doubleClick 이벤트를 기본적으로 수신하지 않음을 의미합니다. doubleClickEnabled 속성이 true로 설정된 경우 인스턴스는 해당 경계 안에서 doubleClick 이벤트를 수신합니다. InteractiveObject 인스턴스의 mouseEnabled 속성도 doubleClick 이벤트를 수신하려면 해당 객체에 대해 true로 설정되어야 합니다.

이 속성을 설정할 때 전달되는 이벤트는 없습니다. addEventListener() 메서드를 사용하여 doubleClick 이벤트에 대한 이벤트 리스너를 추가해야 합니다.



구현
    public function get doubleClickEnabled():Boolean
    public function set doubleClickEnabled(value:Boolean):void

embedFonts

속성 
embedFonts:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

포함된 글꼴 외곽선을 사용하여 렌더링할지 여부를 지정합니다. false이면 Flash Player에서 장치 글꼴을 사용하여 텍스트 필드를 렌더링합니다.

텍스트 필드의 embedFonts 속성을 true로 설정한 경우 텍스트 필드에 적용된 TextFormat 객체의 font 속성을 사용하여 해당 텍스트의 글꼴을 지정해야 합니다. 지정한 글꼴이 SWF 파일에 포함되어 있지 않으면 텍스트가 표시되지 않습니다.



구현
    public function get embedFonts():Boolean
    public function set embedFonts(value:Boolean):void

focusRect

속성 
focusRect:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 객체에서 포커스 사각형을 표시할지 여부를 지정합니다. true, false 또는 null이라는 세 가지 값 중 하나를 사용할 수 있습니다. truefalse 값은 예상대로 작동하여 포커스 사각형의 표시 여부를 지정합니다. null 값은 이 객체가 Stage의 stageFocusRect 속성을 사용함을 나타냅니다.



구현
    public function get focusRect():Object
    public function set focusRect(value:Object):void

gridFitType

속성 
gridFitType:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 텍스트 필드에 사용되는 격자 맞춤의 유형입니다. 이 속성은 텍스트 필드의 flash.text.AntiAliasType 속성을 flash.text.AntiAliasType.ADVANCED로 설정한 경우에만 적용됩니다.

격자 맞춤의 유형은 Flash Player에서 굵은 가로 및 세로 선을 픽셀 격자에 맞출지, 하위 픽셀 격자에 맞출지 아니면 전혀 맞추지 않을지를 결정하는 데 사용됩니다.

flash.text.GridFitType 속성에는 다음 문자열 값을 사용할 수 있습니다.

문자열 값설명
flash.text.GridFitType.NONE격자 맞춤을 지정하지 않습니다. 글리프의 가로 선과 세로 선이 픽셀 격자에 강제로 맞추어지지 않습니다. 이 설정은 애니메이션이나 큰 글꼴 크기에 적합합니다.
flash.text.GridFitType.PIXEL굵은 가로 선 및 세로 선이 픽셀 격자에 맞도록 지정합니다. 이 설정은 왼쪽 정렬 텍스트 필드에만 적용됩니다. 이 설정을 사용하려면 텍스트 필드의 flash.dispaly.AntiAliasType 속성을 flash.text.AntiAliasType.ADVANCED로 설정해야 합니다. 이 설정을 왼쪽 정렬 텍스트에 적용하면 일반적으로 가독성이 가장 좋아집니다.
flash.text.GridFitType.SUBPIXEL굵은 가로 선 및 세로 선이 LCD 모니터의 하위 픽셀 격자에 맞춰지도록 지정합니다. 이 설정을 사용하려면 텍스트 필드의 flash.text.AntiAliasType 속성을 flash.text.AntiAliasType.ADVANCED로 설정해야 합니다. flash.text.GridFitType.SUBPIXEL 설정은 주로 오른쪽 정렬 또는 가운데 정렬 동적 텍스트에 적합하며 애니메이션과 텍스트 간의 품질을 절충하는 데 유용합니다.



구현
    public function get gridFitType():String
    public function set gridFitType(value:String):void

htmlText

속성 
htmlText:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드 내용의 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을 상대 URL로 간주합니다. link 이벤트를 사용하면 링크를 통해 URL을 여는 대신 SWF 파일에서 ActionScript 함수를 실행할 수 있습니다. link 이벤트를 지정하려면 href 특성에 http 체계 대신 이벤트 체계를 사용합니다. 예를 들어 href="event:myText"href="http://myURL" 대신 사용할 수 있습니다. 사용자가 이벤트 체계를 포함하고 있는 하이퍼링크를 클릭하면 텍스트 필드가 링크 TextEvent를 text 속성과 함께 전달하며, 이 속성은 "myText"로 설정됩니다. 그러면 ActionScript 함수를 생성할 수 있고 이 함수는 TextEvent 링크가 전달될 때마다 실행됩니다. 스타일 시트를 사용하여 앵커 태그의 a:link, a:hovera:active 스타일을 정의할 수도 있습니다.
굵게 태그 <b> 태그는 텍스트를 굵은 글꼴로 렌더링합니다. 이때 사용된 글꼴이 굵은 글꼴을 지원해야 합니다.
행 분리 태그 <br> 태그는 텍스트 필드에서 줄을 바꿉니다. 이 태그를 사용하려면 텍스트 필드를 여러 행 텍스트 필드로 설정해야 합니다.
글꼴 태그 <font> 태그는 텍스트를 표시할 글꼴 또는 글꼴 목록을 지정합니다. 지원되는 특성은 다음과 같습니다.
  • color: 16진수 색상(#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: 단락 내에서 텍스트 정렬 방법을 지정합니다. left, right, justifycenter 값을 사용할 수 있습니다.
  • 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

ignorePadding

속성 
ignorePadding:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

If true, the paddingLeft and paddingRight styles will not add space around the text of the component.



구현
    public function get ignorePadding():Boolean
    public function set ignorePadding(value:Boolean):void

inheritingStyles

속성 
inheritingStyles:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The beginning of this UITextField's chain of inheriting styles. The getStyle() method accesses inheritingStyles[styleName] to search the entire prototype-linked chain. This object is set up by the initProtoChain() method. You typically never need to access this property directly.



구현
    public function get inheritingStyles():Object
    public function set inheritingStyles(value:Object):void

length

속성 
length:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 문자 수입니다. 탭(\t) 같은 문자는 한 문자로 계산됩니다.



구현
    public function get length():int

maxChars

속성 
maxChars:int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

사용자가 입력하여 텍스트 필드에 포함될 수 있는 최대 문자 수입니다. 스크립트를 사용하면 maxChars에서 허용하는 것보다 많은 텍스트를 삽입할 수 있습니다. maxChars 속성은 사용자가 입력할 수 있는 텍스트의 양만 나타냅니다. 이 속성의 값이 0이면 사용자는 텍스트를 무제한 입력할 수 있습니다.



구현
    public function get maxChars():int
    public function set maxChars(value:int):void

maxScrollH

속성 
maxScrollH:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

scrollH의 최대값입니다.



구현
    public function get maxScrollH():int

maxScrollV

속성 
maxScrollV:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

scrollV의 최대값입니다.



구현
    public function get maxScrollV():int

mouseEnabled

속성 
mouseEnabled:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 객체가 마우스 또는 기타 사용자 입력, 메시지를 수신할지 여부를 지정합니다. 기본값은 true로, 표시 목록에 있는 InteractiveObject 인스턴스가 기본적으로 마우스 이벤트 또는 기타 사용자 입력 이벤트를 수신함을 의미합니다. mouseEnabledfalse로 설정하면 인스턴스가 마우스 이벤트(또는 키보드 이벤트와 같은 기타 사용자 입력 이벤트)를 수신하지 않습니다. 표시 목록에 있는 이 인스턴스의 자식은 영향을 받지 않습니다. 표시 목록에 있는 특정 객체의 모든 자식에 대한 mouseEnabled 비헤이비어를 변경하려면 flash.display.DisplayObjectContainer.mouseChildren을 사용합니다.

이 속성을 설정할 때 전달되는 이벤트는 없습니다. 대화형 기능을 만들려면 addEventListener() 메서드를 사용해야 합니다.



구현
    public function get mouseEnabled():Boolean
    public function set mouseEnabled(value:Boolean):void

mouseWheelEnabled

속성 
mouseWheelEnabled:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

사용자가 텍스트 필드를 클릭하고 마우스 휠을 굴릴 때 여러 줄 텍스트 필드가 자동으로 스크롤되는지 여부를 나타내는 부울 값입니다. 기본적으로 이 값은 true입니다. 이 속성은 마우스 휠로 텍스트 필드의 내용을 스크롤하지 못하도록 하거나 고유한 텍스트 필드 스크롤 방식을 구현할 때 유용합니다.



구현
    public function get mouseWheelEnabled():Boolean
    public function set mouseWheelEnabled(value:Boolean):void

multiline

속성 
multiline:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

필드가 여러 행 텍스트 필드인지 여부를 나타냅니다. 값이 true이면 텍스트 필드가 여러 행이고, 값이 false이면 텍스트 필드가 한 행입니다. TextFieldType.INPUT 유형 필드에서 multiline 값은 Enter 키를 누를 때 새 행이 만들어지는지 여부를 결정합니다. 값이 false이면 Enter 키가 무시됩니다. TextField(multiline 값이 false)에 텍스트를 붙여 넣으면 텍스트에서 개행 문자가 제거됩니다.



구현
    public function get multiline():Boolean
    public function set multiline(value:Boolean):void

nestLevel

속성 
nestLevel:int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Depth of this object in the containment hierarchy. This number is used by the measurement and layout code. The value is 0 if this component is not on the DisplayList.



구현
    public function get nestLevel():int
    public function set nestLevel(value:int):void

nonInheritingStyles

속성 
nonInheritingStyles:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The beginning of this UITextField's chain of non-inheriting styles. The getStyle() method accesses nonInheritingStyles[styleName] method to search the entire prototype-linked chain. This object is set up by the initProtoChain() method. You typically never need to access this property directly.



구현
    public function get nonInheritingStyles():Object
    public function set nonInheritingStyles(value:Object):void

nonZeroTextHeight

속성 
nonZeroTextHeight:Number  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Unlike textHeight, this returns a non-zero value even when the text is empty. In this case, it returns what the textHeight would be if the text weren't empty.



구현
    public function get nonZeroTextHeight():Number

numLines

속성 
numLines:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

여러 행 텍스트 필드의 텍스트 행 수를 정의합니다. wordWrap 속성을 true로 설정한 경우 텍스트가 줄 바꿈되면 행 수가 증가합니다.



구현
    public function get numLines():int

restrict

속성 
restrict:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

사용자가 텍스트 필드에 입력할 수 있는 문자 세트를 나타냅니다. restrict 속성 값이 null이면 아무 문자나 입력할 수 있습니다. restrict 속성 값이 빈 문자열이면 어떠한 문자도 입력할 수 없습니다. restrict 속성 값이 문자열이면 이 문자열에 있는 문자만 텍스트 필드에 입력할 수 있습니다. 문자열은 왼쪽에서 오른쪽으로 검색되고, 하이픈(-) 문자를 사용하여 범위를 지정할 수 있습니다. 사용자 상호 작용만 제한되며 스크립트를 통해서는 텍스트 필드에 모든 텍스트를 입력할 수 있습니다. 이 속성은 속성 관리자의 글꼴 포함 옵션과 동기화되지 않습니다.

문자열이 캐럿(^)으로 시작되면 기본적으로 모든 문자가 허용되며 문자열에서 캐럿 이후의 문자는 허용되는 문자 세트에서 제외됩니다. 문자열이 캐럿(^)으로 시작되지 않으면 기본적으로 어떠한 문자도 허용되지 않으며 문자열에 있는 문자만 허용되는 문자 세트에 포함됩니다.

다음 예제에서는 대문자, 공백 및 숫자만 텍스트 필드에 입력할 수 있습니다.

     my_txt.restrict = "A-Z 0-9";
     

다음 예제에서는 소문자를 제외한 모든 문자를 포함합니다.

     my_txt.restrict = "^a-z";
     

백슬래시를 사용하여 ^ 또는 -를 입력할 수 있습니다. 또한 \-, \^, \\ 등의 백슬래시 시퀀스를 사용할 수 있습니다. 백슬래시는 문자열의 실제 문자여야 하므로 ActionScript에 지정될 때는 이중 백슬래시를 사용해야 합니다. 예를 들어 다음 코드에는 대시(-)와 캐럿(^)만 포함됩니다.

     my_txt.restrict = "\\-\\^";
     

문자열의 아무 위치에서나 ^를 사용하여 포함 문자와 제외 문자를 전환할 수 있습니다. 다음 코드는 대문자 Q를 제외한 대문자만 포함합니다.

     my_txt.restrict = "A-Z^Q";
     

\u 이스케이프 시퀀스를 사용하여 restrict 문자열을 구성할 수 있습니다. 다음 코드는 ASCII 32(공백)에서 ASCII 126(물결 표시)까지의 문자만 포함합니다.

     my_txt.restrict = "\u0020-\u007E";
     



구현
    public function get restrict():String
    public function set restrict(value:String):void

scrollH

속성 
scrollH:int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

현재 가로 스크롤 위치입니다. scrollH 속성이 0이면 텍스트가 가로 방향으로 스크롤되지 않은 것입니다. 이 속성 값은 가로 위치를 픽셀 단위로 나타내는 정수입니다.

가로 스크롤 단위는 픽셀인 반면 세로 스크롤 단위는 행입니다. 가로 스크롤을 픽셀 단위로 측정하는 이유는 일반적으로 사용하는 대부분의 글꼴은 간격이 비례적이므로 문자마다 폭이 다를 수 있기 때문입니다. Flash Player에서 세로 스크롤을 행 단위로 수행하는 이유는 일반적으로 텍스트의 행 일부가 아닌 전체 텍스트 행을 표시하는 것이 유용하기 때문입니다. 한 행에 여러 글꼴이 사용되는 경우 행의 높이는 사용 중인 가장 큰 글꼴에 맞게 조정됩니다.

참고: scrollH 속성은 0부터 시작하는 반면 scrollV 세로 스크롤 속성은 1부터 시작합니다.



구현
    public function get scrollH():int
    public function set scrollH(value:int):void

scrollV

속성 
scrollV:int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드에서 텍스트의 수직 위치입니다. scrollV 속성은 긴 텍스트에서 특정 단락으로 이동하거나 스크롤 텍스트 필드를 만들 때 유용합니다.

세로 스크롤 단위는 행인 반면 가로 스크롤 단위는 픽셀입니다. 표시된 첫 번째 행이 텍스트 필드의 첫 행인 경우 scrollV는 0이 아니라 1로 설정됩니다. 가로 스크롤을 픽셀 단위로 측정하는 이유는 대부분의 글꼴은 간격이 비례적이므로 문자마다 폭이 다를 수 있기 때문입니다. Flash에서 세로 스크롤을 행 단위로 수행하는 이유는 일반적으로 텍스트의 행 일부가 아닌 전체 텍스트 행을 표시하는 것이 유용하기 때문입니다. 한 행에 여러 글꼴이 사용되는 경우 행의 높이는 사용 중인 가장 큰 글꼴에 맞게 조정됩니다.



구현
    public function get scrollV():int
    public function set scrollV(value:int):void

selectable

속성 
selectable:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드를 선택할 수 있는지 여부를 나타내는 부울 값입니다. 값이 true이면 텍스트를 선택할 수 있습니다. selectable 속성은 텍스트 필드를 편집할 수 있는지 여부가 아니라 텍스트 필드를 선택할 수 있는지 여부를 제어합니다. 동적 텍스트 필드는 편집할 수 없더라도 선택할 수 있습니다. 동적 텍스트 필드를 선택할 수 없게 하면 사용자가 텍스트를 선택할 수 없습니다.

selectablefalse로 설정하면 텍스트 필드의 텍스트가 마우스나 키보드의 선택 명령에 응답하지 않으며 [복사] 명령으로 텍스트를 복사할 수 없습니다. selectabletrue로 설정하면 마우스나 키보드로 텍스트 필드의 텍스트를 선택할 수 있고 [복사] 명령으로 텍스트를 복사할 수 있습니다. 텍스트 필드가 입력 텍스트 필드가 아닌 동적 텍스트 필드인 경우에도 이러한 방법으로 텍스트를 선택할 수 있습니다.



구현
    public function get selectable():Boolean
    public function set selectable(value:Boolean):void

selectionBeginIndex

속성 
selectionBeginIndex:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

현재 선택 영역에 있는 첫 문자의 문자 인덱스 값(0부터 시작)입니다. 예를 들어 첫 번째 문자는 0, 두 번째 문자는 1입니다. 선택한 텍스트가 없으면 이 속성은 caretIndex의 값입니다.



구현
    public function get selectionBeginIndex():int

selectionEndIndex

속성 
selectionEndIndex:int  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

현재 선택 영역에 있는 마지막 문자의 문자 인덱스 값(0부터 시작)입니다. 예를 들어 첫 번째 문자는 0, 두 번째 문자는 1입니다. 선택한 텍스트가 없으면 이 속성은 caretIndex의 값입니다.



구현
    public function get selectionEndIndex():int

sharpness

속성 
sharpness:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 텍스트 필드의 글리프 가장자리 선명도입니다. 이 속성은 텍스트 필드의 flash.text.AntiAliasType 속성을 flash.text.AntiAliasType.ADVANCED로 설정한 경우에만 적용됩니다. sharpness의 범위는 -400에서 400 사이입니다. sharpness를 이 범위에서 벗어난 값으로 설정하면 속성이 범위 내의 가장 가까운 값(-400 또는 400)으로 설정됩니다.



구현
    public function get sharpness():Number
    public function set sharpness(value:Number):void

styleSheet

속성 
styleSheet:StyleSheet

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드에 스타일 시트를 연결합니다. 스타일 시트를 만드는 방법에 대한 자세한 내용은 StyleSheet 클래스 및 ActionScript 3.0 개발자 안내서를 참조하십시오.

언제든지 텍스트 필드에 연결된 스타일 시트를 변경할 수 있습니다. 사용 중인 스타일 시트를 변경하면 텍스트 필드가 새 스타일 시트를 사용하여 다시 그려집니다. 스타일 시트를 null 또는 undefined로 설정하여 스타일 시트를 제거할 수 있습니다. 사용 중인 스타일 시트를 제거하면 스타일 시트 없이 텍스트 필드가 다시 그려집니다.

참고: 스타일 시트를 제거하면 TextField.textTextField.htmlText의 내용이 변경되어 이전에 스타일 시트에 의해 적용된 서식이 통합됩니다. 서식 지정 없이 원래 TextField.htmlText 내용을 유지하려면 스타일 시트를 제거하기 전에 값을 변수에 저장하십시오.



구현
    public function get styleSheet():StyleSheet
    public function set styleSheet(value:StyleSheet):void

tabEnabled

속성 
tabEnabled:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 객체가 탭 순서에 있는지 여부를 지정합니다. 이 객체가 탭 순서에 있으면 값이 true이고, 그렇지 않으면 false입니다. 기본적으로 이 값은 다음 경우를 제외하고 false입니다.

  • SimpleButton 객체의 경우 값은 true입니다.
  • type = "input"인 TextField 객체의 경우 값은 true입니다.
  • buttonMode = true인 Sprite 객체나 MovieClip 객체의 경우 값은 true입니다.



구현
    public function get tabEnabled():Boolean
    public function set tabEnabled(value:Boolean):void

tabIndex

속성 
tabIndex:int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

SWF 파일에서 객체의 탭 순서를 지정합니다. tabIndex 속성의 기본값은 -1로, 해당 객체에 대해 설정된 탭 인덱스가 없음을 의미합니다.

SWF 파일에 현재 표시되어 있는 임의의 객체가 tabIndex 속성을 포함하고 있으면 자동 탭 순서는 사용되지 않으며, 해당 SWF 파일에 있는 객체의 tabIndex 속성에서 탭 순서가 계산됩니다. 사용자 정의 탭 순서에는 tabIndex 속성을 가진 객체만 포함됩니다.

tabIndex 속성은 음수가 아닌 정수가 될 수 있습니다. 객체는 tabIndex 속성에 따라 오름차순으로 정렬됩니다. tabIndex 값이 1인 객체가 tabIndex 값이 2인 객체보다 앞에 옵니다. 여러 객체에 대해 같은 tabIndex 값을 사용해서는 안 됩니다.

tabIndex 속성이 정의하는 사용자 정의 탭 순서는 평면적입니다. 즉, SWF 파일에서 객체의 계층 관계가 무시됩니다. SWF 파일에서 tabIndex 속성을 갖는 모든 객체는 탭 순서대로 정렬되며, 이 탭 순서는 tabIndex 값의 순서에 따라 결정됩니다.

참고: TLFTextField 인스턴스에 대한 탭 순서를 설정하려면 TLFTextField의 표시 객체 자식을 InteractiveObject로 형 변환한 다음 tabIndex 속성을 설정합니다. 예를 들면 다음과 같습니다.

	 InteractiveObject(tlfInstance.getChildAt(1)).tabIndex = 3;
	 
TLFTextField 객체(tlfInstance1, tlfInstance2tlfInstance3)의 세 인스턴스에 대한 기본 설정에서 탭 순서를 반대로 바꾸려면 다음을 사용합니다.
	 InteractiveObject(tlfInstance1.getChildAt(1)).tabIndex = 3;
	 InteractiveObject(tlfInstance2.getChildAt(1)).tabIndex = 2;
	 InteractiveObject(tlfInstance3.getChildAt(1)).tabIndex = 1;
	 



구현
    public function get tabIndex():int
    public function set tabIndex(value:int):void

text

속성 
text:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 현재 텍스트인 문자열입니다. 각 행은 캐리지 리턴 문자('\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 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 16진수 형식 텍스트 색상입니다. 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 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트의 높이(픽셀 단위)입니다.



구현
    public function get textHeight():Number

textWidth

속성 
textWidth:Number  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트의 폭(픽셀 단위)입니다.



구현
    public function get textWidth():Number

thickness

속성 
thickness:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

이 텍스트 필드의 글리프 가장자리 두께입니다. 이 속성은 flash.text.AntiAliasTypeflash.text.AntiAliasType.ADVANCED로 설정한 경우에만 적용됩니다.

thickness의 범위는 -200에서 200 사이입니다. thickness를 이 범위에서 벗어난 값으로 설정하면 속성이 범위 내의 가장 가까운 값(-200 또는 200)으로 설정됩니다.



구현
    public function get thickness():Number
    public function set thickness(value:Number):void

type

속성 
type:String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 유형입니다. 값으로는 TextFieldType 상수 중 하나가 사용됩니다. TextFieldType.DYNAMIC은 사용자가 편집할 수 없는 동적 텍스트 필드를, TextFieldType.INPUT은 사용자가 편집할 수 있는 입력 텍스트 필드를 지정합니다.



구현
    public function get type():String
    public function set type(value:String):void

useRichTextClipboard

속성 
useRichTextClipboard:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트와 함께 텍스트 서식을 복사하여 붙여 넣을지 여부를 지정합니다. true로 설정하면 텍스트 필드 간에 텍스트를 복사하여 붙여 넣을 때 Flash Player에서 정렬, 굵게, 기울임체 등의 서식을 함께 복사하여 붙여 넣습니다. 이때 복사하여 붙여 넣는 원본 텍스트 필드와 대상 텍스트 필드 모두에서 useRichTextClipboardtrue로 설정해야 합니다. 기본값은 false입니다.



구현
    public function get useRichTextClipboard():Boolean
    public function set useRichTextClipboard(value:Boolean):void

wordWrap

속성 
wordWrap:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드에 자동 줄 바꿈이 사용되는지 여부를 나타내는 부울 값입니다. wordWrap 값이 true이면 텍스트 필드에 줄 바꿈이 적용되고, 값이 false이면 텍스트 필드에 줄 바꿈이 적용되지 않습니다. 기본값은 false입니다.



구현
    public function get wordWrap():Boolean
    public function set wordWrap(value:Boolean):void
메서드 세부 정보

appendText

()메서드
public function appendText(newText:String):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

newText 매개 변수에 지정된 문자열을 텍스트 필드의 텍스트 끝에 추가합니다. 이 메서드는 추가 할당(+=)을 text 속성(예: someTextField.text += moreText)에 하는 것보다 효율적입니다. 특히 내용이 많은 텍스트 필드의 경우에 유용합니다.

매개 변수

newText:String — The string to append to the existing text.

getCharBoundaries

()메서드 
public function getCharBoundaries(charIndex:int):Rectangle

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

문자의 경계 상자인 사각형을 반환합니다.

매개 변수

charIndex:int — The zero-based index value for the character (for example, the first position is 0, the second position is 1, and so on).

반환값
Rectangle — A rectangle with x and y minimum and maximum values defining the bounding box of the character.

getCharIndexAtPoint

()메서드 
public function getCharIndexAtPoint(x:Number, y:Number):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

xy 매개 변수로 지정된 점에 있는 문자의 인덱스 값(0부터 시작)을 반환합니다.

매개 변수

x:Number — The x coordinate of the character.
 
y:Number — The y coordinate of the character.

반환값
int — The zero-based index value of the character (for example, the first position is 0, the second position is 1, and so on). Returns -1 if the point is not over any character.

getFirstCharInParagraph

()메서드 
public function getFirstCharInParagraph(charIndex:int):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

지정된 문자 인덱스와 같은 단락에 있는 첫 문자의 인덱스를 반환합니다.

매개 변수

charIndex:int — The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).

반환값
int — The zero-based index value of the first character in the same paragraph.

getImageReference

()메서드 
public function getImageReference(id:String):DisplayObject

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

<img> 태그를 사용하여 HTML 형식 텍스트 필드에 추가한 이미지 또는 SWF 파일에 지정된 id의 DisplayObject 참조를 반환합니다. <img> 태그의 형식은 다음과 같습니다.

   <img src = 'filename.jpg' id = 'instanceName' >

매개 변수

id:String — The id to match (in the id attribute of the <img> tag).

반환값
DisplayObject — The display object corresponding to the image or SWF file with the matching id attribute in the <img> tag of the text field. For media loaded from an external source, this object is a Loader object, and, once loaded, the media object is a child of that Loader object. For media embedded in the SWF file, it is the loaded object. If no <img> tag with the matching id exists, the method returns null.

getLineIndexAtPoint

()메서드 
public function getLineIndexAtPoint(x:Number, y:Number):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

xy 매개 변수로 지정된 점에 있는 행의 인덱스 값(0부터 시작)을 반환합니다.

매개 변수

x:Number — The x coordinate of the line.
 
y:Number — The y coordinate of the line.

반환값
int — The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on). Returns -1 if the point is not over any line.

getLineIndexOfChar

()메서드 
public function getLineIndexOfChar(charIndex:int):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

charIndex 매개 변수로 지정된 문자가 들어 있는 행의 인덱스 값(0부터 시작)을 반환합니다.

매개 변수

charIndex:int — The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).

반환값
int — The zero-based index value of the line.

getLineLength

()메서드 
public function getLineLength(lineIndex:int):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

특정 텍스트 행의 문자 수를 반환합니다.

매개 변수

lineIndex:int — The line number for which you want the length.

반환값
int — The number of characters in the line.

getLineMetrics

()메서드 
public function getLineMetrics(lineIndex:int):flash.text:TextLineMetrics

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

지정된 텍스트 행에 대한 메트릭 정보를 반환합니다.

매개 변수

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 3
런타임 버전: Flash Player 9, AIR 1.1

lineIndex 매개 변수로 지정된 행에 있는 첫 문자의 문자 인덱스를 반환합니다.

매개 변수

lineIndex:int — The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on).

반환값
int — The zero-based index value of the first character in the line.

getLineText

()메서드 
public function getLineText(lineIndex:int):String

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

lineIndex 매개 변수로 지정된 행의 텍스트를 반환합니다.

매개 변수

lineIndex:int — The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on).

반환값
String — The text string contained in the specified line.

getParagraphLength

()메서드 
public function getParagraphLength(charIndex:int):int

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

지정된 문자 인덱스가 포함된 단락의 길이를 반환합니다. 이 길이의 기준은 전달된 문자 인덱스가 아니라 getFirstCharInParagraph()로 반환되는 단락의 첫 문자입니다.

매개 변수

charIndex:int — The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).

반환값
int — Returns the number of characters in the paragraph.

getStyle

()메서드 
public function getStyle(styleProp:String):*

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Gets a style property that has been set anywhere in this component's style lookup chain.

This same method is used to get any kind of style property, so the value returned can be a Boolean, String, Number, int, uint (for an RGB color), Class (for a skin), or any kind of object. Therefore the return type is simply specified as *.

If you are getting a particular style property, you know its type and often want to store the result in a variable of that type. No casting from * to that type is necessary.

var backgroundColor:uint = getStyle("backgroundColor");

If the style property has not been set anywhere in the style lookup chain, the value returned by getStyle() is undefined. Note that undefined is a special value that is not the same as false, "", NaN, 0, or null. No valid style value is ever undefined. You can use the method IStyleManager2.isValidStyleValue() to test whether the value was set.

매개 변수

styleProp:String — Name of the style property.

반환값
* — Style value.

getTextFormat

()메서드 
public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):flash.text:TextFormat

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

beginIndexendIndex 매개 변수로 지정된 텍스트 범위에 대한 서식 정보가 들어 있는 TextFormat 객체를 반환합니다. 결과 TextFormat 객체에는 지정된 텍스트 전체에서 공통되는 속성만 설정됩니다. 텍스트의 각 위치마다 값이 다름을 의미하는 혼합 속성은 값이 null입니다.

이러한 매개 변수에 값을 지정하지 않으면 텍스트 필드의 텍스트 전체에 이 메서드가 적용됩니다.

다음 표에서는 가능한 세 가지 사용법을 설명합니다.

구문설명
my_textField.getTextFormat()텍스트 필드의 모든 텍스트에 대한 서식 정보가 들어 있는 TextFormat 객체를 반환합니다. 결과 TextFormat 객체에는 텍스트 필드의 모든 텍스트에서 공통되는 속성만 설정됩니다. 텍스트의 각 위치마다 값이 다름을 의미하는 혼합 속성은 값이 null입니다.
my_textField.getTextFormat(beginIndex:Number)beginIndex 위치에 있는 문자의 텍스트 서식 복사본이 포함된 TextFormat 객체를 반환합니다.
my_textField.getTextFormat(beginIndex:Number,endIndex:Number)beginIndex에서 endIndex-1 사이에 있는 텍스트 범위의 서식 정보가 포함된 TextFormat 객체를 반환합니다. 지정된 범위의 모든 텍스트에 공통인 속성만 결과 TextFormat 객체에 설정됩니다. 범위의 다른 위치에서 다른 값을 가지는 혼합된 모든 속성은 해당 값이 null로 설정됩니다.

매개 변수

beginIndex:int (default = -1) — Optional; an integer that specifies the starting location of a range of text within the text field.
 
endIndex:int (default = -1) — Optional; an integer that specifies the position of the first character after the desired text span. As designed, if you specify beginIndex and endIndex values, the text from beginIndex to endIndex-1 is read.

반환값
flash.text:TextFormat — The TextFormat object that represents the formatting properties for the specified text.

getUITextFormat

()메서드 
public function getUITextFormat():mx.core:UITextFormat

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Returns a UITextFormat object that contains formatting information for this component. This method is similar to the getTextFormat() method of the flash.text.TextField class, but it returns a UITextFormat object instead of a TextFormat object.

The UITextFormat class extends the TextFormat class to add the text measurement methods measureText() and measureHTMLText().

반환값
mx.core:UITextFormat — An object that contains formatting information for this component.

replaceSelectedText

()메서드 
public function replaceSelectedText(value:String):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

현재 선택 내용을 value 매개 변수의 내용으로 바꿉니다. 텍스트는 현재 기본 문자 서식과 기본 단락 서식을 사용하여 현재 선택 위치에 삽입됩니다. 이 텍스트는 HTML로 간주되지 않습니다.

replaceSelectedText() 메서드를 사용하면 나머지 텍스트의 문자 및 단락 서식을 손상시키지 않고 텍스트를 삽입 및 삭제할 수 있습니다.

참고: 이 메서드는 텍스트 필드에 스타일 시트가 적용된 경우 작동하지 않습니다.

매개 변수

value:String — The string to replace the currently selected text.

replaceText

()메서드 
public function replaceText(beginIndex:int, endIndex:int, newText:String):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

beginIndexendIndex 매개 변수로 지정한 문자 범위를 newText 매개 변수의 내용으로 대체합니다. 설계했던 대로 beginIndex에서 endIndex-1까지의 텍스트가 대체됩니다.

참고: 이 메서드는 텍스트 필드에 스타일 시트가 적용된 경우 작동하지 않습니다.

매개 변수

beginIndex:int — The zero-based index value for the start position of the replacement range.
 
endIndex:int — The zero-based index position of the first character after the desired text span.
 
newText:String — The text to use to replace the specified range of characters.

setColor

()메서드 
public function setColor(color:uint):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Sets the font color of the text.

매개 변수

color:uint — The new font color.

setFocus

()메서드 
public function setFocus():void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Sets the focus to this component. The component can in turn pass focus to a subcomponent.

Note: Only the TextInput and TextArea controls show a highlight when this method sets the focus. All controls show a highlight when the user tabs to the control.

setSelection

()메서드 
public function setSelection(beginIndex:int, endIndex:int):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

beginIndexendIndex 매개 변수로 지정된 첫 번째 및 마지막 문자의 인덱스 값으로 지정된 텍스트를 선택된 상태로 설정합니다. 두 매개 변수 값이 서로 같은 경우 이 메서드는 caretIndex 속성을 설정한 것과 같이 삽입점을 설정합니다.

매개 변수

beginIndex:int — The zero-based index value of the first character in the selection (for example, the first character is 0, the second character is 1, and so on).
 
endIndex:int — The zero-based index value of the last character in the selection.

setTextFormat

()메서드 
public function setTextFormat(format:flash.text:TextFormat, beginIndex:int = -1, endIndex:int = -1):void

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

텍스트 필드의 지정된 텍스트에 format 매개 변수로 지정된 텍스트 서식을 적용합니다. format의 값은 변경할 텍스트 서식을 지정하는 TextFormat 객체여야 합니다. format의 null이 아닌 속성만 텍스트 필드에 적용됩니다. format에서 null로 설정된 속성은 모두 적용되지 않습니다. 기본적으로 새로 만든 TextFormat 객체의 모든 속성은 null로 설정됩니다.

참고: 이 메서드는 텍스트 필드에 스타일 시트가 적용된 경우 작동하지 않습니다.

setTextFormat() 메서드는 문자 범위 또는 텍스트 필드의 텍스트 본문 전체에 적용된 텍스트 서식을 변경합니다. 텍스트 필드의 텍스트 전체에 서식 속성을 적용하려면 beginIndexendIndex에 값을 지정하지 않습니다. 텍스트 범위에 서식 속성을 적용하려면 beginIndexendIndex 매개 변수에 값을 지정합니다. 인덱스 값을 확인하려면 length 속성을 사용합니다.

TextFormat 객체에는 문자 수준 서식과 단락 수준 서식이라는 두 가지 서식 정보가 들어 있습니다. 텍스트 필드의 각 문자는 글꼴 이름, 글꼴 크기, 굵게, 기울임체 등의 고유한 문자 서식 설정을 가질 수 있습니다.

단락의 경우 전체 단락의 단락 서식 설정을 단락의 첫 문자에서 검사합니다. 단락 서식 설정의 예로는 왼쪽 여백, 오른쪽 여백 및 들여쓰기가 있습니다.

사용자가 수동으로 삽입한 텍스트나 replaceSelectedText() 메서드를 사용하여 바꾼 텍스트에는 텍스트 삽입점에 지정된 서식이 아닌 새 텍스트의 기본 텍스트 필드 서식이 적용됩니다. 새 텍스트의 기본 서식을 설정하려면 defaultTextFormat을 사용합니다.

매개 변수

format:flash.text:TextFormat — A TextFormat object that contains character and paragraph formatting information.
 
beginIndex:int (default = -1) — Optional; an integer that specifies the zero-based index position specifying the first character of the desired range of text.
 
endIndex:int (default = -1) — Optional; an integer that specifies the first character after the desired text span. As designed, if you specify beginIndex and endIndex values, the text from beginIndex to endIndex-1 is updated.

UsageDescription
my_textField.setTextFormat(textFormat:TextFormat)Applies the properties of textFormat to all text in the text field.
my_textField.setTextFormat(textFormat:TextFormat, beginIndex:int)Applies the properties of textFormat to the text starting with the beginIndex position.
my_textField.setTextFormat(textFormat:TextFormat, beginIndex:int, endIndex:int)Applies the properties of the textFormat parameter to the span of text from the beginIndex position to the endIndex-1 position.

Notice that any text inserted manually by the user, or replaced by the replaceSelectedText() method, receives the default text field formatting for new text, and not the formatting specified for the text insertion point. To set a text field's default formatting for new text, use the defaultTextFormat property.

truncateToFit

()메서드 
public function truncateToFit(truncationIndicator:String = null):Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Truncate text to make it fit horizontally in the area defined for the control, and append an ellipsis, three periods (...), to the text.

매개 변수

truncationIndicator:String (default = null) — The text to be appended after truncation. If you pass null, a localizable string such as "..." will be used.

반환값
Booleantrue if the text needed truncation.




[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.