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

UIMovieClip  - 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.flash
類別public dynamic class UIMovieClip
繼承UIMovieClip Inheritance MovieClip Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
實作 IDeferredInstantiationUIComponent, IToolTipManagerClient, IStateClient, IFocusManagerComponent, IConstraintClient, IAutomationObject, IVisualElement, ILayoutElement, IFlexModule
子類別 ContainerMovieClip

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Components created in Adobe Flash Professional for use in Flex are subclasses of the mx.flash.UIMovieClip class. The UIMovieClip class implements the interfaces necessary for a Flash component to be used like a normal Flex component. Therefore, a subclass of UIMovieClip can be used as a child of a Flex container or as a skin, and it can respond to events, define view states and transitions, and work with effects in the same way as can any Flex component.

The following procedure describes the basic process for creating a Flex component in Flash Professional:

  1. Install the Adobe Flash Component Kit for Flex.
  2. Create symbols for your dynamic assets in the FLA file.
  3. Run Commands > Make Flex Component to convert your symbol to a subclass of the UIMovieClip class, and to configure the Flash Professional publishing settings for use with Flex.
  4. Publish your FLA file as a SWC file.
  5. Reference the class name of your symbols in your Flex application as you would any class.
  6. Include the SWC file in your library-path when you compile your Flex application.

For more information, see the documentation that ships with the Flex/Flash Integration Kit at http://www.adobe.com/go/flex3_cs3_swfkit.



公用屬性
 屬性定義自
 InheritedaccessibilityImplementation : AccessibilityImplementation
對此 InteractiveObject 實體目前的輔助功能實作 (AccessibilityImplementation)。
InteractiveObject
 InheritedaccessibilityProperties : AccessibilityProperties
此顯示物件的目前輔助功能選項。
DisplayObject
 Inheritedalpha : Number
指出所指定物件的 Alpha 透明度值。
DisplayObject
  automationDelegate : Object
The delegate object that handles the automation-related functionality.
UIMovieClip
  automationEnabled : Boolean
[唯讀] True if this component is enabled for automation, false otherwise.
UIMovieClip
  automationName : String
Name that can be used as an identifier for this object.
UIMovieClip
  automationOwner : DisplayObjectContainer
[唯讀] The owner of this component for automation purposes.
UIMovieClip
  automationParent : DisplayObjectContainer
[唯讀] The parent of this component for automation purposes.
UIMovieClip
  automationTabularData : Object
[唯讀] An implementation of the IAutomationTabularData interface, which can be used to retrieve the data.
UIMovieClip
  automationValue : Array
[唯讀] This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
UIMovieClip
  automationVisible : Boolean
[唯讀] True if this component is visible for automation, false otherwise.
UIMovieClip
  autoUpdateCurrentState : Boolean
Whether we should actively watch changes to the label of the flash object.
UIMovieClip
  autoUpdateMeasuredSize : Boolean
Whether we should actively watch changes to the size of the flash object.
UIMovieClip
  baseline : Object
The vertical distance in pixels from the top edge of the content area to the component's baseline position.
UIMovieClip
  baselinePosition : Number
[唯讀] The y-coordinate of the baseline of the first line of text of the component.
UIMovieClip
 InheritedblendMode : String
來自 BlendMode 類別的值,會指定要使用何種混合模式。
DisplayObject
 InheritedblendShader : Shader
[唯寫] 設定用來混合前景和背景的著色器。
DisplayObject
  bottom : Object
The vertical distance, in pixels, from the lower edge of the component to the lower edge of its content area.
UIMovieClip
  boundingBoxName : String = "boundingBox"
Name of the object to use as the bounding box.
UIMovieClip
 InheritedbuttonMode : Boolean
可指定此 sprite 的按鈕模式。
Sprite
 InheritedcacheAsBitmap : Boolean
如果設定為 true,Flash 執行階段會快取顯示物件的內部點陣圖表示法。
DisplayObject
 Inherited    cacheAsBitmapMatrix : Matrix
如果為非 null,當 cacheAsBitmap 設定為 true 時,這個 Matrix 物件會定義顯示物件的顯示方法。
DisplayObject
  cacheHeuristic : Boolean
[唯寫] Used by Flex to suggest bitmap caching for the object.
UIMovieClip
  cachePolicy : String
[唯讀] Specifies the bitmap caching policy for this object.
UIMovieClip
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
 InheritedcontextMenu : NativeMenu
指定與此物件有關聯的快顯選單。
InteractiveObject
 InheritedcurrentFrame : int
[唯讀] 指定在影片片段實體時間軸上,播放磁頭所在的影格編號。
MovieClip
 InheritedcurrentFrameLabel : String
[唯讀] MovieClip 實體之時間軸的目前影格中的標籤。
MovieClip
 InheritedcurrentLabel : String
[唯讀] 在 MovieClip 實體時間軸中,播放磁頭所在的目前標籤。
MovieClip
 InheritedcurrentLabels : Array
[唯讀] 從目前場景傳回 FrameLabel 物件陣列。
MovieClip
 InheritedcurrentScene : Scene
[唯讀] 在 MovieClip 實體時間軸中,播放磁頭所在的目前場景。
MovieClip
  currentState : String
The current state of this component.
UIMovieClip
  depth : Number
Determines the order in which items inside of containers are rendered.
UIMovieClip
  descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used by the createComponentFromDescriptor() method to create this UIComponent instance.
UIMovieClip
  designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual element.
UIMovieClip
  document : Object
A reference to the document object associated with this component.
UIMovieClip
 InheriteddoubleClickEnabled : Boolean
會指定物件是否會收到 doubleClick 事件。
InteractiveObject
 InheriteddropTarget : DisplayObject
[唯讀] 指定要將 sprite 拖曳至或丟棄至哪個顯示物件上。
Sprite
 Inheritedenabled : Boolean
這是一個 Boolean 值,用來指示影片片段是否已啟用。
MovieClip
  explicitHeight : Number
The explicitly specified height for the component, in pixels, as the component's coordinates.
UIMovieClip
  explicitMaxHeight : Number
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
UIMovieClip
  explicitMaxWidth : Number
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
UIMovieClip
  explicitMinHeight : Number
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
UIMovieClip
  explicitMinWidth : Number
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
UIMovieClip
  explicitWidth : Number
The explicitly specified width for the component, in pixels, as the component's coordinates.
UIMovieClip
 Inheritedfilters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。
DisplayObject
  focusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected.
UIMovieClip
  focusPane : Sprite
A single Sprite object that is shared among components and used as an overlay for drawing focus.
UIMovieClip
 InheritedfocusRect : Object
會指定這個物件是否會顯示焦點矩形。
InteractiveObject
 InheritedframesLoaded : int
[唯讀] 從串流 SWF 檔中載入的影格數目。
MovieClip
 Inheritedgraphics : Graphics
[唯讀] 指定屬於此 sprite 物件的 Graphics 物件,其中可能會產生向量繪圖命令。
Sprite
  hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus.
UIMovieClip
  hasLayoutMatrix3D : Boolean
[唯讀] Contains true if the element has 3D Matrix.
UIMovieClip
  height : Number
[覆寫] The height of this object, in pixels.
UIMovieClip
 InheritedhitArea : Sprite
指定用來當作 sprite 作用區域的另一個 sprite。
Sprite
  horizontalCenter : Object
The horizontal distance in pixels from the center of the component's content area to the center of the component.
UIMovieClip
  id : String
ID of the component.
UIMovieClip
  includeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
UIMovieClip
  is3D : Boolean
[唯讀] Contains true when the element is in 3D.
UIMovieClip
 InheritedisPlaying : Boolean
[唯讀] Boolean 值,指示目前是否正在播放影片片段。
MovieClip
  isPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
UIMovieClip
  layoutDirection : String
Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit).
UIMovieClip
  left : Object
The horizontal distance, in pixels, from the left edge of the component's content area to the left edge of the component.
UIMovieClip
 InheritedloaderInfo : LoaderInfo
[唯讀] 會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。
DisplayObject
  maintainProjectionCenter : Boolean
When true, the component will keep its projection matrix centered on the middle of its bounding box.
UIMovieClip
 Inheritedmask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。
DisplayObject
  maxHeight : Number
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
UIMovieClip
  maxWidth : Number
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
UIMovieClip
  measuredHeight : Number
[唯讀] The measured height of this object.
UIMovieClip
  measuredMinHeight : Number
The default minimum height of the component, in pixels.
UIMovieClip
  measuredMinWidth : Number
The default minimum width of the component, in pixels.
UIMovieClip
  measuredWidth : Number
[唯讀] The measured width of this object.
UIMovieClip
 InheritedmetaData : Object
如果中繼資料是透過 PlaceObject4 標籤與 SWF 檔案中的這個 DisplayObject 實體一同儲存,則會取得 DisplayObject 實體的中繼資料物件。
DisplayObject
  minHeight : Number
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
UIMovieClip
  minWidth : Number
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
UIMovieClip
  moduleFactory : IFlexModuleFactory
A module factory is used as context for using embeded fonts and for finding the style manager that controls the styles for this component.
UIMovieClip
 InheritedmouseChildren : Boolean
判斷物件的子系是否支援啟用滑鼠或使用者輸入裝置。
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
指定此物件是否接收滑鼠或其他使用者輸入及訊息。
InteractiveObject
  mouseFocusEnabled : Boolean
[唯讀] A flag that indicates whether the component can receive focus when selected with the mouse.
UIMovieClip
 InheritedmouseX : Number
[唯讀] 指出滑鼠或使用者輸入裝置位置的 x 座標,以像素為單位。
DisplayObject
 InheritedmouseY : Number
[唯讀] 指出滑鼠或使用者輸入裝置位置的 y 座標,以像素為單位。
DisplayObject
 Inheritedname : String
指出 DisplayObject 的實體名稱。
DisplayObject
 InheritedneedsSoftKeyboard : Boolean
指定虛擬鍵盤 (螢幕上的軟體鍵盤) 是否應在此 InteractiveObject 實體接收到焦點時顯示。
InteractiveObject
  numAutomationChildren : int
[唯讀] The number of automation children this container has.
UIMovieClip
 InheritednumChildren : int
[唯讀] 傳回此物件的子系數量。
DisplayObjectContainer
 InheritedopaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。
DisplayObject
  owner : DisplayObjectContainer
Typically the parent container of this component.
UIMovieClip
 Inheritedparent : DisplayObjectContainer
[唯讀] 指出包含此顯示物件的 DisplayObjectContainer 物件。
DisplayObject
  parentDocument : Object
[唯讀] The document containing this component.
UIMovieClip
  percentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
UIMovieClip
  percentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
UIMovieClip
  postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the component's transform in a way that is invisible to the component's parent's layout.
UIMovieClip
  right : Object
The horizontal distance, in pixels, from the right edge of the component to the right edge of its content area.
UIMovieClip
 Inheritedroot : DisplayObject
[唯讀] 對載入之 SWF 檔案的顯示物件而言,root 屬性就是該 SWF 檔案所呈現之顯示清單樹狀結構部分的最上層顯示物件。
DisplayObject
  rotation : Number
[覆寫] 指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。
UIMovieClip
  rotationX : Number
[覆寫] Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
UIMovieClip
  rotationY : Number
[覆寫] Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
UIMovieClip
  rotationZ : Number
[覆寫] Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
UIMovieClip
 Inheritedscale9Grid : Rectangle
目前產生效用的縮放格線。
DisplayObject
  scaleX : Number
[覆寫] Number that specifies the horizontal scaling factor.
UIMovieClip
  scaleY : Number
[覆寫] Number that specifies the vertical scaling factor.
UIMovieClip
  scaleZ : Number
[覆寫] Number that specifies the scaling factor along the z axis.
UIMovieClip
 Inheritedscenes : Array
[唯讀] Scene 物件的陣列,每個 Scene 物件都會列出 MovieClip 實體場景的名稱、影格數目,以及影格標籤。
MovieClip
 InheritedscrollRect : Rectangle
顯示物件的捲動矩形範圍。
DisplayObject
  showInAutomationHierarchy : Boolean
A flag that determines if an automation object shows in the automation hierarchy.
UIMovieClip
 Inherited    softKeyboard : String
控制軟體鍵盤的外觀。
InteractiveObject
 InheritedsoftKeyboardInputAreaOfInterest : Rectangle
定義顯示軟體鍵盤時,應保留於螢幕上的區域 (iOS 未提供)。
InteractiveObject
 InheritedsoundTransform : flash.media:SoundTransform
控制此 Sprite 的聲音。
Sprite
 Inheritedstage : Stage
[唯讀] 顯示物件的「舞台」。
DisplayObject
  systemManager : ISystemManager
A reference to the SystemManager object for this component.
UIMovieClip
 InheritedtabChildren : Boolean
判斷物件的子系是否支援啟用定位鍵。
DisplayObjectContainer
 InheritedtabEnabled : Boolean
會指定這個物件是否在停駐點順序中。
InteractiveObject
  tabFocusEnabled : Boolean
A flag that indicates whether child objects can receive focus This is similar to the tabEnabled property used by the Flash Player. This is usually true for components that handle keyboard input, but some components in controlbars have them set to false because they should not steal focus from another component like an editor.
UIMovieClip
 InheritedtabIndex : int
會指定 SWF 檔中的物件停駐點順序。
InteractiveObject
 InheritedtextSnapshot : flash.text:TextSnapshot
[唯讀] 傳回此 DisplayObjectContainer 實體的 TextSnapshot 物件。
DisplayObjectContainer
  toolTip : String
Text to display in the ToolTip.
UIMovieClip
  top : Object
The vertical distance, in pixels, from the top edge of the control's content area to the top edge of the component.
UIMovieClip
 InheritedtotalFrames : int
[唯讀] MovieClip 實體中的影格總數。
MovieClip
 InheritedtrackAsMenu : Boolean
指出屬於 SimpleButton 或 MovieClip 物件的其他顯示工具是否可以接收滑鼠放開事件或其他使用者輸入放開事件。
MovieClip
 Inheritedtransform : flash.geom:Transform
這是一個物件,具有和顯示物件的矩陣、顏色轉換和像素邊界有關的屬性。
DisplayObject
  transformX : Number
Sets the x coordinate for the transform center of the component.
UIMovieClip
  transformY : Number
Sets the y coordinate for the transform center of the component.
UIMovieClip
  transformZ : Number
Sets the z coordinate for the transform center of the component.
UIMovieClip
  tweeningProperties : Array
Used by EffectManager.
UIMovieClip
 InheriteduseHandCursor : Boolean
指示當指標滑入 Sprite,且其 buttonMode 屬性設為 true 時,是否要出現指示手掌 (手掌游標) 的 Boolean 值。
Sprite
  verticalCenter : Object
The vertical distance in pixels from the center of the component's content area to the center of the component.
UIMovieClip
  visible : Boolean
[覆寫] Whether or not the display object is visible.
UIMovieClip
  width : Number
[覆寫] The width of this object, in pixels.
UIMovieClip
  x : Number
[覆寫] Number that specifies the component's horizontal position, in pixels, within its parent container.
UIMovieClip
  y : Number
[覆寫] Number that specifies the component's vertical position, in pixels, within its parent container.
UIMovieClip
  z : Number
[覆寫] Indicates the z coordinate position along the z-axis of the DisplayObject instance relative to the 3D parent container.
UIMovieClip
保護屬性
 屬性定義自
  bounds : Rectangle
[唯讀] The unscaled bounds of the content.
UIMovieClip
  initialized : Boolean = false
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
UIMovieClip
公用方法
 方法定義自
  
Constructor.
UIMovieClip
 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
 Inherited
指出安全性限制是否會造成傳回的清單 (可用指定的 point 點呼叫 DisplayObjectContainer.getObjectsUnderPoint() 方法來取得) 省略任何顯示物件。
DisplayObjectContainer
 Inherited
判斷指定的顯示物件是否為 DisplayObjectContainer 實體的子系,或為實體本身。
DisplayObjectContainer
  
Returns a set of properties that identify the child within this container.
UIMovieClip
  
Returns a set of properties that identify the child within this container.
UIMovieClip
  
Creates an id reference to this IUIComponent object on its parent document object.
UIMovieClip
  
Deletes the id reference to this IUIComponent object on its parent document object.
UIMovieClip
 Inherited
會將事件傳送到事件流程。
EventDispatcher
  
Called by the FocusManager when the component receives focus.
UIMovieClip
  
executeBindings(recurse:Boolean = false):void
Executes the data bindings into this UIComponent object.
UIMovieClip
  
Provides the automation object at the specified index.
UIMovieClip
  
Provides the automation object list .
UIMovieClip
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。
DisplayObject
  
getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the x coordinate of the element's bounds at the specified element size.
UIMovieClip
  
getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the y coordinate of the element's bounds at the specified element size.
UIMovieClip
 Inherited
傳回存在於指定索引位置的子顯示物件實體。
DisplayObjectContainer
 Inherited
傳回具有指定名稱的子顯示物件。
DisplayObjectContainer
 Inherited
傳回 child DisplayObject 實體的索引位置。
DisplayObjectContainer
  
getConstraintValue(constraintName:String):*
Returns the specified constraint value.
UIMovieClip
  
A convenience method for determining whether to use the explicit or measured height
UIMovieClip
  
A convenience method for determining whether to use the explicit or measured width
UIMovieClip
  
getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's layout height.
UIMovieClip
  
getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's layout width.
UIMovieClip
  
getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
Returns the x coordinate that the element uses to draw on screen.
UIMovieClip
  
getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
Returns the y coordinate that the element uses to draw on screen.
UIMovieClip
  
Returns the transform matrix that is used to calculate the component's layout relative to its siblings.
UIMovieClip
  
Returns the layout transform Matrix3D for this element.
UIMovieClip
  
getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's maximum height.
UIMovieClip
  
getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's maximum width.
UIMovieClip
  
getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's minimum height.
UIMovieClip
  
getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's minimum width.
UIMovieClip
 Inherited
傳回位於指定點底下,且屬於此 DisplayObjectContainer 實體之子系 (或孫系,以下類推) 的物件陣列。
DisplayObjectContainer
  
getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's preferred height.
UIMovieClip
  
getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's preferred width.
UIMovieClip
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。
DisplayObject
 Inherited
將 point 物件從「舞台」(全域) 座標轉換成顯示物件的 (區域) 座標。
DisplayObject
 Inherited
將二維點從「舞台」(全域) 座標轉換為三維顯示物件的 (區域) 座標。
DisplayObject
 Inherited
gotoAndPlay(frame:Object, scene:String = null):void
在指定影格開始播放 SWF 檔。
MovieClip
 Inherited
gotoAndStop(frame:Object, scene:String = null):void
將播放磁頭移到此影片片段中的指定影格,然後停在該處。
MovieClip
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
EventDispatcher
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
評估顯示物件的範圍框,看它是否與 obj 顯示物件的範圍框重疊或相交。
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
評估顯示物件,看它是否與 x 和 y 參數所指定的點重疊或相交。
DisplayObject
  
Initialize the object.
UIMovieClip
  
An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes.
UIMovieClip
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
將三維顯示物件的 (區域) 座標的三維點轉換為「舞台」(全域) 座標中的二維點。
DisplayObject
 Inherited
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。
DisplayObject
  
Moves this object to the specified x and y coordinates.
UIMovieClip
 Inherited
將播放磁頭移到下一個影格,並停止播放。
MovieClip
 Inherited
將播放磁頭移動到 MovieClip 實體的下一個場景。
MovieClip
  
owns(displayObject:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
UIMovieClip
  
Called by Flex when a UIComponent object is added to or removed from a parent.
UIMovieClip
 Inherited
移動影片片段時間軸上的播放磁頭。
MovieClip
 Inherited
將播放磁頭移到上一個影格,並停止播放。
MovieClip
 Inherited
將播放磁頭移動到 MovieClip 實體的上一個場景。
MovieClip
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
  
For each effect event, register the EffectManager as one of the event listeners.
UIMovieClip
 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
  
Replays the specified event.
UIMovieClip
 Inherited
升起顯示虛擬鍵盤。
InteractiveObject
  
Resolves a child by using the id provided.
UIMovieClip
  
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
UIMovieClip
 Inherited
變更顯示物件容器中現有子系的位置。
DisplayObjectContainer
  
setConstraintValue(constraintName:String, value:*):void
Sets the specified constraint value.
UIMovieClip
  
Called by the FocusManager when the component receives focus.
UIMovieClip
  
setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void
Sets the coordinates that the element uses to draw on screen.
UIMovieClip
  
setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void
Sets the layout size of the element.
UIMovieClip
  
setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.
UIMovieClip
  
setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.
UIMovieClip
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
  
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
UIMovieClip
 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
停止影片片段中的播放磁頭。
MovieClip
 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
  
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space.
UIMovieClip
  
transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void
A utility method to transform a point specified in the local coordinates of this object to its location in the object's parent's coordinates.
UIMovieClip
 Inherited
會傳回指定之物件的基本值。
Object
 Inherited
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。
EventDispatcher
保護方法
 方法定義自
  
This enter frame handler is used when our width, height, x, or y value changes.
UIMovieClip
  
Recursively finds all children that have tabEnabled=true and adds them to the focusableObjects array.
UIMovieClip
  
Called when focus is entering any of our children.
UIMovieClip
  
Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout is true).
UIMovieClip
  
Notify our parent that our size has changed.
UIMovieClip
  
This enter frame handler progresses through transitions.
UIMovieClip
事件
 事件 摘要 定義自
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。EventDispatcher
  Dispatched when the component is added to a container as a content child by using the addChild() or addChildAt() method.UIMovieClip
 Inherited當顯示物件加入顯示清單中時傳送。DisplayObject
 Inherited會在顯示物件加入舞台上的顯示清單時,以直接或是透過加入包含該顯示物件之子樹狀結構的方式傳送。DisplayObject
 Inherited當使用者從文字快顯選單中選取「清除」(或「刪除」) 時傳送。InteractiveObject
 Inherited會當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置主按鈕時傳送。InteractiveObject
 Inherited
    contextMenu
當使用者手勢在 AIR 應用程式中觸發與此互動式物件相關聯的快顯選單時傳送。InteractiveObject
 Inherited當使用者針對複製作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「複製」時傳送。InteractiveObject
  Dispatched when the component has finished its construction.UIMovieClip
  Dispatched after the view state has changed.UIMovieClip
  Dispatched after the currentState property changes, but before the view state changes.UIMovieClip
 Inherited當使用者針對剪下作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「剪下」時傳送。InteractiveObject
 Inherited[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。EventDispatcher
 Inherited在 InteractiveObject 物件的 doubleClickEnabled 旗標設為 true 的情況下,當使用者在相同的物件上方連續兩次快速按下並放開指標裝置主要按鈕時傳送。InteractiveObject
  Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop.UIMovieClip
  Dispatched by the drop target when the user releases the mouse over it.UIMovieClip
  Dispatched by a component when the user moves the mouse over the component during a drag operation.UIMovieClip
  Dispatched by the component when the user drags outside the component, but does not drop the data onto the target.UIMovieClip
  Dispatched by a component when the user moves the mouse while over the component during a drag operation.UIMovieClip
 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
  Dispatched when an object's state changes from visible to invisible.UIMovieClip
 Inherited這個事件會送出至任何支援 IME 內嵌輸入的用戶端應用程式。InteractiveObject
  Dispatched when the component has finished its construction and has all initialization properties set.UIMovieClip
 Inherited會當使用者按下按鍵時傳送。InteractiveObject
 Inherited當使用者嘗試使用鍵盤瀏覽變更焦點時傳送。InteractiveObject
 Inherited會當使用者放開按鍵時傳送。InteractiveObject
 Inherited當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置中間按鈕時傳送。InteractiveObject
 Inherited當使用者將指向裝置的中間按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
  Dispatched from a component opened using the PopUpManager when the user clicks outside it.UIMovieClip
 Inherited會當使用者嘗試使用指向裝置變更焦點時傳送。InteractiveObject
 Inherited會當指向裝置停在 InteractiveObject 上方的情況下使用者將其移動時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移開 InteractiveObject 實體時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited當滑鼠滾輪在 InteractiveObject 實體上方轉動時傳送。InteractiveObject
  Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it.UIMovieClip
  Dispatched when the object has moved.UIMovieClip
 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
  Dispatched at the beginning of the component initialization sequence.UIMovieClip
 Inherited在使用者將作用中觸控筆往下移至超過螢幕鄰近偵測邊框時傳送。InteractiveObject
 Inherited
    proximityEnd
在使用者將作用中觸控筆提到螢幕鄰近偵測邊框時傳送。InteractiveObject
 Inherited在使用者將作用中觸控筆移到螢幕上方,而其餘仍在鄰近偵測邊框內時傳送。InteractiveObject
 Inherited
    proximityOut
在使用者將作用中觸控筆移出這個 InteractiveObject 之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者直接將作用中觸控筆移到這個 InteractiveObject 上方,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者將作用中觸控筆移出這個 InteractiveObject 及其任一子系之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。InteractiveObject
 Inherited在使用者透過這個 InteractiveObject,從顯示清單中後代的物件樹狀結構之外移動作用中觸控筆時傳送 (而其餘仍在螢幕的鄰近偵測邊框內)。InteractiveObject
 Inherited當使用者第一次按下 InteractiveObject 實體上方的按鈕,然後將指向裝置滑出 InteractiveObject 實體之後即放開指向裝置上的按鈕時傳送。InteractiveObject
  Dispatched when the component is removed from a container as a content child by using the removeChild() or removeChildAt() method.UIMovieClip
 Inherited會當顯示物件將要從顯示清單移除時傳送。DisplayObject
 Inherited會在顯示物件即將從顯示清單移除時,以直接或是透過移除包含該顯示物件之子樹狀結構的方式傳送。DisplayObject
 Inherited[廣播事件] 當顯示清單將要更新和顯示時傳送。DisplayObject
  Dispatched when the component is resized.UIMovieClip
 Inherited當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置右邊按鈕時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。InteractiveObject
 Inherited當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移開 InteractiveObject 實體時傳送。InteractiveObject
 Inherited會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。InteractiveObject
 Inherited當使用者針對全選作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「全選」時傳送。InteractiveObject
  Dispatched when an object's state changes from invisible to visible.UIMovieClip
 Inherited升起顯示軟體鍵盤之後立即傳送。InteractiveObject
 Inherited升起顯示軟體鍵盤前立即傳送。InteractiveObject
 Inherited降下隱藏軟體鍵盤之後立即傳送。InteractiveObject
 Inherited在物件的 tabChildren 旗標值變更時傳送。InteractiveObject
 Inherited在物件的 tabEnabled 旗標變更時傳送。InteractiveObject
 Inherited在物件的 tabIndex 屬性值變更時傳送。InteractiveObject
 Inherited當使用者輸入一或多文字的字元時送出。InteractiveObject
  Dispatched by the component when it is time to create a ToolTip.UIMovieClip
  Dispatched by the component when its ToolTip has been hidden and will be discarded soon.UIMovieClip
  Dispatched by the component when its ToolTip is about to be hidden.UIMovieClip
  Dispatched by the component when its ToolTip is about to be shown.UIMovieClip
  Dispatched by the component when its ToolTip has been shown.UIMovieClip
  Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it.UIMovieClip
 Inherited當使用者在第一次接觸觸控裝置後傳送 (例如手指觸摸行動電話或平板電腦的觸控螢幕)。InteractiveObject
 Inherited當使用者在觸控裝置上移除接觸點後傳送 (例如在行動電話或平板電腦觸控螢幕上移開手指)。InteractiveObject
 Inherited當使用者觸控裝置時傳送,並且連續不斷地傳送,直到接觸點移除為止。InteractiveObject
 Inherited當使用者在觸控裝置中,將接觸點移出 InteractiveObject 實體後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件移至另一個顯示物件)。InteractiveObject
 Inherited當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。InteractiveObject
 Inherited當使用者在觸控裝置上,將接觸點從 InteractiveObject 實體移出後送出 (例如,在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件上方拖曳到顯示物件以外)。InteractiveObject
 Inherited當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。InteractiveObject
 Inherited當使用者在觸控裝置的同一個 InteractiveObject 實體上,在原先開始接觸點放開後送出 (例如在行動電話或平板電腦觸控螢幕上的顯示物件上方,以手指按下某個點後又鬆開)。InteractiveObject
屬性詳細資訊

automationDelegate

屬性
automationDelegate:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The delegate object that handles the automation-related functionality.



實作
    public function get automationDelegate():Object
    public function set automationDelegate(value:Object):void

automationEnabled

屬性 
automationEnabled:Boolean  [唯讀]

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

True if this component is enabled for automation, false otherwise.



實作
    public function get automationEnabled():Boolean

automationName

屬性 
automationName:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Name that can be used as an identifier for this object.



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

automationOwner

屬性 
automationOwner:DisplayObjectContainer  [唯讀]

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

The owner of this component for automation purposes.



實作
    public function get automationOwner():DisplayObjectContainer

automationParent

屬性 
automationParent:DisplayObjectContainer  [唯讀]

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

The parent of this component for automation purposes.



實作
    public function get automationParent():DisplayObjectContainer

automationTabularData

屬性 
automationTabularData:Object  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

An implementation of the IAutomationTabularData interface, which can be used to retrieve the data.



實作
    public function get automationTabularData():Object

automationValue

屬性 
automationValue:Array  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.



實作
    public function get automationValue():Array

automationVisible

屬性 
automationVisible:Boolean  [唯讀]

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

True if this component is visible for automation, false otherwise.



實作
    public function get automationVisible():Boolean

autoUpdateCurrentState

屬性 
autoUpdateCurrentState:Boolean

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

Whether we should actively watch changes to the label of the flash object. The Flex currentState property depends on this flash label. If this is set to true, then every frame, the label of the flash obejct will be quieried. If the label has changed, that will become the new currentState for the Flex object.

Note: Setting this property to true may be expensive because we now are asking the flash object for is current label every single frame.

預設值為 false。



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

autoUpdateMeasuredSize

屬性 
autoUpdateMeasuredSize:Boolean

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

Whether we should actively watch changes to the size of the flash object. If this is set to true, then every frame, the size of the flash object will be determined. If the size has changed, then the flash object will scale appropriately to fit its explicit bounds (or it will resize and notify its parent if there is no explicit sizing).

Note: Setting this property to true may be expensive because we now are asking the flash object its current size every single frame.

預設值為 false。



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

baseline

屬性 
baseline:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The vertical distance in pixels from the top edge of the content area to the component's baseline position. If this property is set, the baseline of the component is anchored to the top edge of its content area; when its container is resized, the two edges maintain their separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get baseline():Object
    public function set baseline(value:Object):void

baselinePosition

屬性 
baselinePosition:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The y-coordinate of the baseline of the first line of text of the component.



實作
    public function get baselinePosition():Number

bottom

屬性 
bottom:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The vertical distance, in pixels, from the lower edge of the component to the lower edge of its content area. If this property is set, the lower edge of the component is anchored to the bottom edge of its content area; when its container is resized, the two edges maintain their separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get bottom():Object
    public function set bottom(value:Object):void

boundingBoxName

屬性 
public var boundingBoxName:String = "boundingBox"

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Name of the object to use as the bounding box.

The bounding box is an object that is used by Flex to determine the size of the component. The actual content can be larger or smaller than the bounding box, but Flex uses the size of the bounding box when laying out the component. This object is optional. If omitted, the actual content size of the component is used instead.

預設值為 "boundingBox"。

bounds

屬性 
bounds:Rectangle  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The unscaled bounds of the content.



實作
    protected function get bounds():Rectangle

cacheHeuristic

屬性 
cacheHeuristic:Boolean  [唯寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Used by Flex to suggest bitmap caching for the object. If cachePolicy is UIComponentCachePolicy.AUTO, then cacheHeuristic is used to control the object's cacheAsBitmap property.



實作
    public function set cacheHeuristic(value:Boolean):void

cachePolicy

屬性 
cachePolicy:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Specifies the bitmap caching policy for this object. Possible values in MXML are "on", "off" and "auto" (default).

Possible values in ActionScript are UIComponentCachePolicy.ON, UIComponentCachePolicy.OFF and UIComponentCachePolicy.AUTO (default).

  • A value of UIComponentCachePolicy.ON means that the object is always cached as a bitmap.
  • A value of UIComponentCachePolicy.OFF means that the object is never cached as a bitmap.
  • A value of UIComponentCachePolicy.AUTO means that the framework uses heuristics to decide whether the object should be cached as a bitmap.

預設值為 UIComponentCachePolicy.AUTO。



實作
    public function get cachePolicy():String

currentState

屬性 
currentState:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The current state of this component. For UIMovieClip, the value of the currentState property is the current frame label.



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

depth

屬性 
depth:Number

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

Determines the order in which items inside of containers are rendered. Spark containers order their items based on their depth property, with the lowest depth in the back, and the higher in the front. Items with the same depth value appear in the order they are added to the container.



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

descriptor

屬性 
descriptor:UIComponentDescriptor

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Reference to the UIComponentDescriptor, if any, that was used by the createComponentFromDescriptor() method to create this UIComponent instance. If this UIComponent instance was not created from a descriptor, this property is null.



實作
    public function get descriptor():UIComponentDescriptor
    public function set descriptor(value:UIComponentDescriptor):void

相關 API 元素

designLayer

屬性 
designLayer:DesignLayer

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

Specifies the optional DesignLayer instance associated with this visual element.

When a DesignLayer is assigned, a visual element must consider the visibility and alpha of its parent layer when ultimately committing its own effective visibility or alpha to its backing DisplayObject (if applicable).

A visual element must listen for layerPropertyChange notifications from the associated layer parent. When the effectiveAlpha or effectiveVisibility of the layer changes, the element must then compute its own effective visibility (or alpha) and apply it accordingly.

This property should not be set within MXML directly.

The designLayer property is not used for z-order control, please see depth.



實作
    public function get designLayer():DesignLayer
    public function set designLayer(value:DesignLayer):void

document

屬性 
document:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A reference to the document object associated with this component. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.



實作
    public function get document():Object
    public function set document(value:Object):void

explicitHeight

屬性 
explicitHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The explicitly specified height for the component, in pixels, as the component's coordinates. If no height is explicitly specified, the value is NaN.



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

相關 API 元素

explicitMaxHeight

屬性 
explicitMaxHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the maximum height of the component, in pixels, as the component's coordinates.



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

相關 API 元素

explicitMaxWidth

屬性 
explicitMaxWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the maximum width of the component, in pixels, as the component's coordinates.



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

相關 API 元素

explicitMinHeight

屬性 
explicitMinHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the minimum height of the component, in pixels, as the component's coordinates.



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

相關 API 元素

explicitMinWidth

屬性 
explicitMinWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the minimum width of the component, in pixels, as the component's coordinates.



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

相關 API 元素

explicitWidth

屬性 
explicitWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The explicitly specified width for the component, in pixels, as the component's coordinates. If no width is explicitly specified, the value is NaN.



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

相關 API 元素

focusEnabled

屬性 
focusEnabled:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A flag that indicates whether the component can receive focus when selected.

As an optimization, if a child component in your component implements the IFocusManagerComponent interface, and you never want it to receive focus, you can set focusEnabled to false before calling addChild() on the child component.

This will cause the FocusManager to ignore this component and not monitor it for changes to the tabFocusEnabled, tabChildren, and mouseFocusEnabled properties. This also means you cannot change this value after addChild() and expect the FocusManager to notice.

Note: It does not mean that you cannot give this object focus programmatically in your setFocus() method; it just tells the FocusManager to ignore this IFocusManagerComponent component in the Tab and mouse searches.



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

focusPane

屬性 
focusPane:Sprite

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A single Sprite object that is shared among components and used as an overlay for drawing focus. Components share this object if their parent is a focused component, not if the component implements the IFocusManagerComponent interface.



實作
    public function get focusPane():Sprite
    public function set focusPane(value:Sprite):void

相關 API 元素

hasFocusableChildren

屬性 
hasFocusableChildren:Boolean

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

A flag that indicates whether child objects can receive focus.

Note: This property is similar to the tabChildren property used by Flash Player. Use the hasFocusableChildren property with Flex applications. Do not use the tabChildren property.

This property is usually false because most components either receive focus themselves or delegate focus to a single internal sub-component and appear as if the component has received focus. For example, a TextInput control contains a focusable child RichEditableText control, but while the RichEditableText sub-component actually receives focus, it appears as if the TextInput has focus. TextInput sets hasFocusableChildren to false because TextInput is considered the component that has focus. Its internal structure is an abstraction.

Usually only navigator components, such as TabNavigator and Accordion, have this flag set to true because they receive focus on Tab but focus goes to components in the child containers on further Tabs.

The default value is false, except for the spark.components.Scroller component. For that component, the default value is true.

預設值為 true。

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 hasFocusableChildrenChange 事件。



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

hasLayoutMatrix3D

屬性 
hasLayoutMatrix3D:Boolean  [唯讀]

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

Contains true if the element has 3D Matrix.

Use hasLayoutMatrix3D instead of calling and examining the return value of getLayoutMatrix3D() because that method returns a valid matrix even when the element is in 2D.



實作
    public function get hasLayoutMatrix3D():Boolean

height

屬性 
height:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The height of this object, in pixels.



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

horizontalCenter

屬性 
horizontalCenter:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The horizontal distance in pixels from the center of the component's content area to the center of the component. If this property is set, the center of the component will be anchored to the center of its content area; when its container is resized, the two centers maintain their horizontal separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get horizontalCenter():Object
    public function set horizontalCenter(value:Object):void

id

屬性 
id:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

ID of the component. This value becomes the instance name of the object and should not contain any white space or special characters. Each component throughout an application should have a unique id.

If your application is going to be tested by third party tools, give each component a meaningful id. Testing tools use ids to represent the control in their scripts and having a meaningful name can make scripts more readable. For example, set the value of a button to submit_button rather than b1 or button1.



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

includeInLayout

屬性 
includeInLayout:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Specifies whether this component is included in the layout of the parent container. If true, the object is included in its parent container's layout. If false, the object is positioned by its parent container as per its layout rules, but it is ignored for the purpose of computing the position of the next child.

預設值為 true。



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

initialized

屬性 
protected var initialized:Boolean = false

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).

is3D

屬性 
is3D:Boolean  [唯讀]

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

Contains true when the element is in 3D. The element can be in 3D either because it has 3D transform properties or it has 3D post layout transform offsets or both.



實作
    public function get is3D():Boolean

isPopUp

屬性 
isPopUp:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Set to true by the PopUpManager to indicate that component has been popped up.



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

layoutDirection

屬性 
layoutDirection:String

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

Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit). This property is typically backed by an inheriting style. If null, the layoutDirection style will be set to undefined. Classes like GraphicElement, which implement ILayoutDirectionElement but do not support styles, must additionally support a null value for this property which means the layoutDirection must be inherited from its parent.



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

left

屬性 
left:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The horizontal distance, in pixels, from the left edge of the component's content area to the left edge of the component. If this property is set, the left edge of the component is anchored to the left edge of its content area; when its container is resized, the two edges maintain their separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get left():Object
    public function set left(value:Object):void

maintainProjectionCenter

屬性 
maintainProjectionCenter:Boolean

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

When true, the component will keep its projection matrix centered on the middle of its bounding box. If no projection matrix is defined on the component, one will be added automatically.



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

maxHeight

屬性 
maxHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the maximum height of the component, in pixels, as the component's coordinates.



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

相關 API 元素

maxWidth

屬性 
maxWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the maximum width of the component, in pixels, as the component's coordinates.



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

相關 API 元素

measuredHeight

屬性 
measuredHeight:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The measured height of this object.

This is typically hard-coded for graphical skins because this number is simply the number of pixels in the graphic. For code skins, it can also be hard-coded if you expect to be drawn at a certain size. If your size can change based on properties, you may want to also be an ILayoutManagerClient so a measure() method will be called at an appropriate time, giving you an opportunity to compute a measuredHeight.



實作
    public function get measuredHeight():Number

measuredMinHeight

屬性 
measuredMinHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The default minimum height of the component, in pixels. This value is set by the measure() method.



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

measuredMinWidth

屬性 
measuredMinWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The default minimum width of the component, in pixels. This value is set by the measure() method.



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

measuredWidth

屬性 
measuredWidth:Number  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The measured width of this object.

This is typically hard-coded for graphical skins because this number is simply the number of pixels in the graphic. For code skins, it can also be hard-coded if you expect to be drawn at a certain size. If your size can change based on properties, you may want to also be an ILayoutManagerClient so a measure() method will be called at an appropriate time, giving you an opportunity to compute a measuredHeight.



實作
    public function get measuredWidth():Number

minHeight

屬性 
minHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the minimum height of the component, in pixels, as the component's coordinates.



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

相關 API 元素

minWidth

屬性 
minWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the minimum width of the component, in pixels, as the component's coordinates.



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

相關 API 元素

moduleFactory

屬性 
moduleFactory:IFlexModuleFactory

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

A module factory is used as context for using embeded fonts and for finding the style manager that controls the styles for this component.



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

mouseFocusEnabled

屬性 
mouseFocusEnabled:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A flag that indicates whether the component can receive focus when selected with the mouse. If false, focus will be transferred to the first parent that is mouseFocusEnabled.



實作
    public function get mouseFocusEnabled():Boolean

numAutomationChildren

屬性 
numAutomationChildren:int  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The number of automation children this container has. This sum should not include any composite children, though it does include those children not significant within the automation hierarchy.



實作
    public function get numAutomationChildren():int

owner

屬性 
owner:DisplayObjectContainer

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Typically the parent container of this component. However, if this is a popup component, the owner is the component that popped it up. For example, the owner of a dropdown list of a ComboBox control is the ComboBox control itself. This property is not managed by Flex, but by each component. Therefore, if you popup a component, you should set this property accordingly.



實作
    public function get owner():DisplayObjectContainer
    public function set owner(value:DisplayObjectContainer):void

parentDocument

屬性 
parentDocument:Object  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The document containing this component.



實作
    public function get parentDocument():Object

percentHeight

屬性 
percentHeight:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the height of a component as a percentage of its parent's size. Allowed values are 0 to 100.



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

percentWidth

屬性 
percentWidth:Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the width of a component as a percentage of its parent's size. Allowed values are 0 to 100.



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

postLayoutTransformOffsets

屬性 
postLayoutTransformOffsets:mx.geom:TransformOffsets

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

Defines a set of adjustments that can be applied to the component's transform in a way that is invisible to the component's parent's layout. For example, if you want a layout to adjust for a component that will be rotated 90 degrees, you set the component's rotation property. If you want the layout to not adjust for the component being rotated, you set its postLayoutTransformOffsets.rotationZ property.



實作
    public function get postLayoutTransformOffsets():mx.geom:TransformOffsets
    public function set postLayoutTransformOffsets(value:mx.geom:TransformOffsets):void

right

屬性 
right:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The horizontal distance, in pixels, from the right edge of the component to the right edge of its content area. If this property is set, the right edge of the component is anchored to the right edge of its content area; when its container is resized, the two edges maintain their separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get right():Object
    public function set right(value:Object):void

rotation

屬性 
rotation:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。 0 至 180 之間的數值代表順時針方向旋轉;0 至 -180 之間的數值代表逆時針方向旋轉。超過此範圍的數值會被加上或減去 360 的倍數,以獲得該範圍之內的數值。 例如,my_video.rotation = 450 陳述式會與 my_video.rotation = 90 相同。



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

rotationX

屬性 
rotationX:Number[覆寫]

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

Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.



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

rotationY

屬性 
rotationY:Number[覆寫]

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

Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.



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

rotationZ

屬性 
rotationZ:Number[覆寫]

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

Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range.



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

scaleX

屬性 
scaleX:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the horizontal scaling factor.

The default value is 1.0, which means that the object is not scaled. A scaleX of 2.0 means the object has been magnified by a factor of 2, and a scaleX of 0.5 means the object has been reduced by a factor of 2.

A value of 0.0 is an invalid value. Rather than setting it to 0.0, set it to a small value, or set the visible property to false to hide the component.

預設值為 1.0。



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

scaleY

屬性 
scaleY:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the vertical scaling factor.

The default value is 1.0, which means that the object is not scaled. A scaleY of 2.0 means the object has been magnified by a factor of 2, and a scaleY of 0.5 means the object has been reduced by a factor of 2.

A value of 0.0 is an invalid value. Rather than setting it to 0.0, set it to a small value, or set the visible property to false to hide the component.

預設值為 1.0。



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

scaleZ

屬性 
scaleZ:Number[覆寫]

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

Number that specifies the scaling factor along the z axis.

A scaling along the z axis will not affect a typical component, which lies flat in the z=0 plane. components with children that have 3D transforms applied, or components with a non-zero transformZ, will be affected.

The default value is 1.0, which means that the object is not scaled.

This property is ignored during calculation by any of Flex's 2D layouts.

預設值為 1.0。



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

showInAutomationHierarchy

屬性 
showInAutomationHierarchy:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A flag that determines if an automation object shows in the automation hierarchy. Children of containers that are not visible in the hierarchy appear as children of the next highest visible parent. Typically containers used for layout, such as boxes and Canvas, do not appear in the hierarchy.

Some controls force their children to appear in the hierarchy when appropriate. For example a List will always force item renderers, including boxes, to appear in the hierarchy. Implementers must support setting this property to true.



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

systemManager

屬性 
systemManager:ISystemManager

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A reference to the SystemManager object for this component.



實作
    public function get systemManager():ISystemManager
    public function set systemManager(value:ISystemManager):void

tabFocusEnabled

屬性 
tabFocusEnabled:Boolean

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

A flag that indicates whether child objects can receive focus

This is similar to the tabEnabled property used by the Flash Player.

This is usually true for components that handle keyboard input, but some components in controlbars have them set to false because they should not steal focus from another component like an editor.

預設值為 true。

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 tabFocusEnabledChange 事件。



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

toolTip

屬性 
toolTip:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Text to display in the ToolTip.

預設值為 null。



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

top

屬性 
top:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The vertical distance, in pixels, from the top edge of the control's content area to the top edge of the component. If this property is set, the top edge of the component is anchored to the top edge of its content area; when its container is resized, the two edges maintain their separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get top():Object
    public function set top(value:Object):void

transformX

屬性 
transformX:Number

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

Sets the x coordinate for the transform center of the component.

When this component is the target of a Spark transform effect, you can override this property by setting the AnimateTransform.autoCenterTransform property. If autoCenterTransform is false, the transform center is determined by the transformX, transformY, and transformZ properties of the effect target. If autoCenterTransform is true, the effect occurs around the center of the target, (width/2, height/2).

Setting this property on the Spark effect class overrides the setting on the target component.



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

transformY

屬性 
transformY:Number

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

Sets the y coordinate for the transform center of the component.

When this component is the target of a Spark transform effect, you can override this property by setting the AnimateTransform.autoCenterTransform property. If autoCenterTransform is false, the transform center is determined by the transformX, transformY, and transformZ properties of the effect target. If autoCenterTransform is true, the effect occurs around the center of the target, (width/2, height/2).

Seeting this property on the Spark effect class overrides the setting on the target component.



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

transformZ

屬性 
transformZ:Number

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

Sets the z coordinate for the transform center of the component.

When this component is the target of a Spark transform effect, you can override this property by setting the AnimateTransform.autoCenterTransform property. If autoCenterTransform is false, the transform center is determined by the transformX, transformY, and transformZ properties of the effect target. If autoCenterTransform is true, the effect occurs around the center of the target, (width/2, height/2).

Seeting this property on the Spark effect class overrides the setting on the target component.



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

tweeningProperties

屬性 
tweeningProperties:Array

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.



實作
    public function get tweeningProperties():Array
    public function set tweeningProperties(value:Array):void

verticalCenter

屬性 
verticalCenter:Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The vertical distance in pixels from the center of the component's content area to the center of the component. If this property is set, the center of the component is anchored to the center of its content area; when its container is resized, the two centers maintain their vertical separation.

This property only has an effect when used on a component in a Canvas container, or when used on a component in a Panel or Application container that has the layout property set to absolute.

The default value is undefined, which means it is not set.

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。



實作
    public function get verticalCenter():Object
    public function set verticalCenter(value:Object):void

visible

屬性 
visible:Boolean[覆寫]

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

Whether or not the display object is visible. Display objects that are not visible are disabled. For example, if visible=false for an InteractiveObject instance, it cannot be clicked.

When setting to true, the object dispatches a show event. When setting to false, the object dispatches a hide event. In either case the children of the object does not emit a show or hide event unless the object has specifically written an implementation to do so.



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

width

屬性 
width:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The width of this object, in pixels.



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

x

屬性 
x:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the component's horizontal position, in pixels, within its parent container.

Setting this property directly or calling move() will have no effect -- or only a temporary effect -- if the component is parented by a layout container such as HBox, Grid, or Form, because the layout calculations of those containers set the x position to the results of the calculation. However, the x property must almost always be set when the parent is a Canvas or other absolute-positioning container because the default value is 0.

預設值為 0。



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

y

屬性 
y:Number[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Number that specifies the component's vertical position, in pixels, within its parent container.

Setting this property directly or calling move() will have no effect -- or only a temporary effect -- if the component is parented by a layout container such as HBox, Grid, or Form, because the layout calculations of those containers set the x position to the results of the calculation. However, the x property must almost always be set when the parent is a Canvas or other absolute-positioning container because the default value is 0.

預設值為 0。



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

z

屬性 
z:Number[覆寫]

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

Indicates the z coordinate position along the z-axis of the DisplayObject instance relative to the 3D parent container. The z property is used for 3D coordinates, not screen or pixel coordinates.

When you set a z property for a display object to something other than the default value of 0, a corresponding Matrix3D object is automatically created. for adjusting a display object's position and orientation in three dimensions. When working with the z-axis, the existing behavior of x and y properties changes from screen or pixel coordinates to positions relative to the 3D parent container.

For example, a child of the _root at position x = 100, y = 100, z = 200 is not drawn at pixel location (100,100). The child is drawn wherever the 3D projection calculation puts it. The calculation is:

(x*cameraFocalLength/cameraRelativeZPosition, y*cameraFocalLength/cameraRelativeZPosition)

此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 zChanged 事件。



實作
    override public function get z():Number
    override public function set z(value:Number):void
建構函式詳細資料

UIMovieClip

()建構函式
public function UIMovieClip()

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Constructor.

方法詳細資訊

createAutomationIDPart

()方法
public function createAutomationIDPart(child:IAutomationObject):Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.

參數

child:IAutomationObject — Child for which to provide the id.

傳回值
Object — Sets of properties describing the child which can later be used to resolve the component.

createAutomationIDPartWithRequiredProperties

()方法 
public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object

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

Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.

參數

child:IAutomationObject — Child for which to provide the id.
 
properties:Array

傳回值
Object — Sets of properties describing the child which can later be used to resolve the component.

createReferenceOnParentDocument

()方法 
public function createReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Creates an id reference to this IUIComponent object on its parent document object. This function can create multidimensional references such as b[2][4] for objects inside one or more repeaters. If the indices are null, it creates a simple non-Array reference.

參數

parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.

deleteReferenceOnParentDocument

()方法 
public function deleteReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Deletes the id reference to this IUIComponent object on its parent document object. This function can delete from multidimensional references such as b[2][4] for objects inside one or more Repeaters. If the indices are null, it deletes the simple non-Array reference.

參數

parentDocument:IFlexDisplayObject — The parent of this IUIComponent object.

drawFocus

()方法 
public function drawFocus(isFocused:Boolean):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Called by the FocusManager when the component receives focus. The component should draw or hide a graphic that indicates that the component has focus.

參數

isFocused:Boolean — If true, draw the focus indicator, otherwise hide it.

enterFrameHandler

()方法 
protected function enterFrameHandler(event:Event):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

This enter frame handler is used when our width, height, x, or y value changes. This is so the change can be delayed so that setting x and y at the same time only results in one change event.

參數

event:Event

executeBindings

()方法 
public function executeBindings(recurse:Boolean = false):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Executes the data bindings into this UIComponent object.

參數

recurse:Boolean (default = false) — Recursively execute bindings for children of this component.

findFocusCandidates

()方法 
protected function findFocusCandidates(obj:DisplayObjectContainer):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Recursively finds all children that have tabEnabled=true and adds them to the focusableObjects array.

參數

obj:DisplayObjectContainer

focusInHandler

()方法 
protected function focusInHandler(event:FocusEvent):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Called when focus is entering any of our children. Make sure our focus event handlers are called so we can take control from the Flex focus manager.

參數

event:FocusEvent

getAutomationChildAt

()方法 
public function getAutomationChildAt(index:int):IAutomationObject

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Provides the automation object at the specified index. This list should not include any children that are composites.

參數

index:int — The index of the child to return

傳回值
IAutomationObject — The child at the specified index.

getAutomationChildren

()方法 
public function getAutomationChildren():Array

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

Provides the automation object list . This list does not include any children that are composites.

傳回值
Array — The children .

getBoundsXAtSize

()方法 
public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

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

Returns the x coordinate of the element's bounds at the specified element size.

This method is typically used by layouts during a call to the measure() method to predict what the element position will be, if the element is resized to particular dimensions.

參數

width:Number — The element's bounds width, or NaN to use the preferred width.
 
height:Number — The element's bounds height, or NaN to use the preferred height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns x coordinate of the element's bounding box top-left corner. The bounding box is in element's parent coordinate space and is calculated from the specified bounds size, layout position and layout transform matrix.

傳回值
Number — The x coordinate of the element's bounds at the specified element size.

getBoundsYAtSize

()方法 
public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

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

Returns the y coordinate of the element's bounds at the specified element size. This method is typically used by layouts during a call to the measure() to predict what the element position will be, if the element is resized to particular dimensions.

參數

width:Number — The element's bounds width, or NaN to use the preferred width.
 
height:Number — The element's bounds height, or NaN to use the preferred height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the y coordinate of the element's bounding box top-left corner. The bounding box is in element's parent coordinate space and is calculated from the specified bounds size, layout position and layout transform matrix.

傳回值
Number — The y coordinate of the element's bounds at the specified element size.

getConstraintValue

()方法 
public function getConstraintValue(constraintName:String):*

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Returns the specified constraint value.

參數

constraintName:String — name of the constraint value. Constraint parameters are "baseline", "bottom", "horizontalCenter", "left", "right", "top", and "verticalCenter".

For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles.

傳回值
* — The constraint value, or null if it is not defined.

getExplicitOrMeasuredHeight

()方法 
public function getExplicitOrMeasuredHeight():Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A convenience method for determining whether to use the explicit or measured height

傳回值
Number — A Number which is explicitHeight if defined or measuredHeight if not.

getExplicitOrMeasuredWidth

()方法 
public function getExplicitOrMeasuredWidth():Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

A convenience method for determining whether to use the explicit or measured width

傳回值
Number — A Number which is explicitWidth if defined or measuredWidth if not.

getLayoutBoundsHeight

()方法 
public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number

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

Returns the element's layout height. This is the size that the element uses to draw on screen.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size and layout transform matrix.

傳回值
Number — The element's layout height.

getLayoutBoundsWidth

()方法 
public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number

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

Returns the element's layout width. This is the size that the element uses to draw on screen.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in element's parent coordinate space and is calculated from the element's layout size and layout transform matrix.

傳回值
Number — The element's layout width.

getLayoutBoundsX

()方法 
public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number

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

Returns the x coordinate that the element uses to draw on screen.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns x coordinate of the element's bounding box top-left corner. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position and layout transform matrix.

傳回值
Number — The x coordinate that the element uses to draw on screen.

getLayoutBoundsY

()方法 
public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number

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

Returns the y coordinate that the element uses to draw on screen.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns y coordinate of the element's bounding box top-left corner. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position, and layout transform matrix.

傳回值
Number — The y coordinate that the element uses to draw on screen.

getLayoutMatrix

()方法 
public function getLayoutMatrix():Matrix

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

Returns the transform matrix that is used to calculate the component's layout relative to its siblings.

This matrix is typically defined by the component's 2D properties such as x, y, rotation, scaleX, scaleY, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

傳回值
Matrix — The layout transform Matrix for this element. Do not directly modify the return value; call the setLayoutMatrix() method instead.

getLayoutMatrix3D

()方法 
public function getLayoutMatrix3D():Matrix3D

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

Returns the layout transform Matrix3D for this element.

This matrix is typically defined by the component's transform properties such as x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY, scaleZ, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

傳回值
Matrix3D — The layout transform Matrix3D for this element. Do not directly modify the return value but call the setLayoutMatrix() method instead.

getMaxBoundsHeight

()方法 
public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number

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

Returns the element's maximum height.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's maximum size and layout transform matrix.

傳回值
Number — The element's maximum height.

getMaxBoundsWidth

()方法 
public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number

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

Returns the element's maximum width.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's maximum size and layout transform matrix.

傳回值
Number — The element's maximum width.

getMinBoundsHeight

()方法 
public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number

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

Returns the element's minimum height.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's minimum size and layout transform matrix.

傳回值
Number — The element's maximum height.

getMinBoundsWidth

()方法 
public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number

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

Returns the element's minimum width.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's minimum size and layout transform matrix.

傳回值
Number — The element's maximum width.

getPreferredBoundsHeight

()方法 
public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number

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

Returns the element's preferred height.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's preferred size and layout transform matrix.

傳回值
Number — Returns the element's preferred height. Preferred height is usually based on the default element size and any explicit overrides. For UIComponent this is the same value as returned by the getExplicitOrMeasuredHeight() method.

getPreferredBoundsWidth

()方法 
public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number

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

Returns the element's preferred width.

參數

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's preferred size and layout transform matrix.

傳回值
Number — Returns the element's preferred width. Preferred width is usually based on the default element size and any explicit overrides. For UIComponent this is the same value as returned by the getExplicitOrMeasuredWidth() method.

initialize

()方法 
public function initialize():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Initialize the object.

相關 API 元素

invalidateLayoutDirection

()方法 
public function invalidateLayoutDirection():void

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

An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes. If they differ, this method is responsible for mirroring the element’s contents and for updating the element’s post-layout transform so that descendants inherit a mirrored coordinate system. IVisualElements typically implement mirroring by using postLayoutTransformOffsets to scale the X axis by -1 and to translate the x coordinate of the origin by the element's width. The net effect of this "mirror" transform is to reverse the direction in which the X axis increases without changing the element's location relative to its parent's origin.

invalidateParentSizeAndDisplayList

()方法 
protected function invalidateParentSizeAndDisplayList():void

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

Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout is true).

move

()方法 
public function move(x:Number, y:Number):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Moves this object to the specified x and y coordinates.

參數

x:Number — The new x-position for this object.
 
y:Number — The new y-position for this object.

notifySizeChanged

()方法 
protected function notifySizeChanged():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Notify our parent that our size has changed.

owns

()方法 
public function owns(displayObject:DisplayObject):Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Returns true if the chain of owner properties points from child to this UIComponent.

參數

displayObject:DisplayObject — A UIComponent.

傳回值
Booleantrue if the child is parented or owned by this UIComponent.

parentChanged

()方法 
public function parentChanged(p:DisplayObjectContainer):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Called by Flex when a UIComponent object is added to or removed from a parent. Developers typically never need to call this method.

參數

p:DisplayObjectContainer — The parent of this UIComponent object.

registerEffects

()方法 
public function registerEffects(effects:Array):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

For each effect event, register the EffectManager as one of the event listeners.

參數

effects:Array — An Array of strings of effect names.

replayAutomatableEvent

()方法 
public function replayAutomatableEvent(event:Event):Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Replays the specified event. A component author should probably call super.replayAutomatableEvent in case default replay behavior has been defined in a superclass.

參數

event:Event — The event to replay.

傳回值
Booleantrue if a replay was successful.

resolveAutomationIDPart

()方法 
public function resolveAutomationIDPart(criteria:Object):Array

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Resolves a child by using the id provided. The id is a set of properties as provided by the createAutomationIDPart() method.

參數

criteria:Object — Set of properties describing the child. The criteria can contain regular expression values resulting in multiple children being matched.

傳回值
Array — Array of children that matched the criteria or null if no children could not be resolved.

setActualSize

()方法 
public function setActualSize(newWidth:Number, newHeight:Number):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Sets the actual size of this object.

This method is mainly for use in implementing the updateDisplayList() method, which is where you compute this object's actual size based on its explicit size, parent-relative (percent) size, and measured size. You then apply this actual size to the object by calling setActualSize().

In other situations, you should be setting properties such as width, height, percentWidth, or percentHeight rather than calling this method.

參數

newWidth:Number — The new width for this object.
 
newHeight:Number — The new height for this object.

setConstraintValue

()方法 
public function setConstraintValue(constraintName:String, value:*):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Sets the specified constraint value.

參數

constraintName:String — name of the constraint value. Constraint parameters are "baseline", "bottom", "horizontalCenter", "left", "right", "top", and "verticalCenter".

For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles.

 
value:* — The new value for the constraint.

setFocus

()方法 
public function setFocus():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Called by the FocusManager when the component receives focus. The component may in turn set focus to an internal component.

setLayoutBoundsPosition

()方法 
public function setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void

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

Sets the coordinates that the element uses to draw on screen.

Note that calls to the setLayoutBoundSize() method can affect the layout position, so call setLayoutBoundPosition() after calling setLayoutBoundSize().

參數

x:Number — The x-coordinate of the top-left corner of the bounding box.
 
y:Number — The y-coordinate of the top-left corner of the bounding box.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the element is positioned in such a way that the top-left corner of its bounding box is (x, y). The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position and layout transform matrix.

setLayoutBoundsSize

()方法 
public function setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void

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

Sets the layout size of the element. This is the size that the element uses to draw on screen.

If the width and/or height parameters are left unspecified (NaN), Flex sets the element's layout size to its preferred width and/or preferred height.

Note that calls to the setLayoutBoundSize() method can affect the layout position, so call setLayoutBoundPosition() after calling setLayoutBoundSize().

參數

width:Number — The element's layout width.
 
height:Number — The element's layout height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the specified sizes are those of the element's bounding box. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position, and layout transform matrix.

setLayoutMatrix

()方法 
public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void

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

Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.

The matrix is typically defined by the component's 2D properties such as x, y, rotation, scaleX, scaleY, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets.

Note that layout Matrix is factored in the getPreferredSize(), getMinSize(), getMaxSize(), getLayoutSize() methods when computed in parent coordinates as well as in getLayoutPosition() in both parent and child coordinates. Layouts that calculate the transform matrix explicitly typically call this method and work with sizes in child coordinates. Layouts calling this method pass false to the invalidateLayout() method so that a subsequent layout pass is not triggered.

參數

value:Matrix — The matrix.
 
invalidateLayout:Booleantrue to cause the parent container to re-layout its children. You typically pass true to the invalidateLayout() method.

setLayoutMatrix3D

()方法 
public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void

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

Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.

This matrix is typically defined by the component's transform properties such as x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY, scaleZ, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

Note that layout Matrix3D is factored in the getPreferredSize(), getMinSize(), getMaxSize(), getLayoutSize() when computed in parent coordinates as well as in getLayoutPosition() in both parent and child coordinates. Layouts that calculate the transform matrix explicitly typically call this method and work with sizes in child coordinates. Layouts calling this method pass false to the invalidateLayout() method so that a subsequent layout pass is not triggered.

參數

value:Matrix3D — The matrix.
 
invalidateLayout:Booleantrue to cause the parent container to re-layout its children. You typically pass true to the invalidateLayout() method.

setVisible

()方法 
public function setVisible(value:Boolean, noEvent:Boolean = false):void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Called when the visible property changes. You should set the visible property to show or hide a component instead of calling this method directly.

參數

value:Boolean — The new value of the visible property. Specify true to show the component, and false to hide it.
 
noEvent:Boolean (default = false) — If true, do not dispatch an event. If false, dispatch a show event when the component becomes visible, and a hide event when the component becomes invisible.

transformAround

()方法 
public function transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void

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

A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space. This function will assign the rotation, scale, and translation values provided, then update the x/y/z properties as necessary to keep the transform center fixed.

參數

transformCenter:Vector3D — The point, in the component's own coordinates, to keep fixed relative to its parent.
 
scale:Vector3D (default = null) — The new values for the scale of the transform
 
rotation:Vector3D (default = null) — The new values for the rotation of the transform
 
translation:Vector3D (default = null) — The new values for the translation of the transform
 
postLayoutScale:Vector3D (default = null)
 
postLayoutRotation:Vector3D (default = null)
 
postLayoutTranslation:Vector3D (default = null)
 
invalidateLayout:Boolean (default = true)

transformPointToParent

()方法 
public function transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void

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

A utility method to transform a point specified in the local coordinates of this object to its location in the object's parent's coordinates. The pre-layout and post-layout result will be set on the position and postLayoutPosition parameters, if they are non-null.

參數

localPosition:Vector3D — The point to be transformed, specified in the local coordinates of the object.
 
position:Vector3D
 
postLayoutPosition:Vector3D

transitionEnterFrameHandler

()方法 
protected function transitionEnterFrameHandler(event:Event):void

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

This enter frame handler progresses through transitions.

參數

event:Event

事件詳細資訊

add

事件
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.ADD

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the component is added to a container as a content child by using the addChild() or addChildAt() method. If the component is added to the container as a noncontent child by using the rawChildren.addChild() or rawChildren.addChildAt() method, the event is not dispatched.

The FlexEvent.ADD constant defines the value of the type property of the event object for an add event.

This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

creationComplete

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.CREATION_COMPLETE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the component has finished its construction. For Flash-based components, this is the same time as the initialize event.

The FlexEvent.CREATION_COMPLETE constant defines the value of the type property of the event object for a creationComplete event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

currentStateChange

事件  
事件物件類型: mx.events.StateChangeEvent
屬性 StateChangeEvent.type = mx.events.StateChangeEvent.CURRENT_STATE_CHANGE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched after the view state has changed.

The StateChangeEvent.CURRENT_STATE_CHANGE constant defines the value of the type property of the event that is dispatched when the view state has changed. The value of this constant is "currentStateChange".

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newStateThe name of the view state that was entered.
oldStateThe name of the view state that was exited.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeStateChangeEvent.CURRENT_STATE_CHANGE

currentStateChanging

事件  
事件物件類型: mx.events.StateChangeEvent
屬性 StateChangeEvent.type = mx.events.StateChangeEvent.CURRENT_STATE_CHANGING

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched after the currentState property changes, but before the view state changes.

The StateChangeEvent.CURRENT_STATE_CHANGING constant defines the value of the type property of the event that is dispatched when the view state is about to change. The value of this constant is "currentStateChanging".

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newStateThe name of the view state that is being entered.
oldStateThe name of the view state that is being exited.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeStateChangeEvent.CURRENT_STATE_CHANGING

dragComplete

事件  
事件物件類型: mx.events.DragEvent
屬性 DragEvent.type = mx.events.DragEvent.DRAG_COMPLETE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop.

You can use this event to perform any final cleanup of the drag-and-drop operation. For example, if you drag a List control item from one list to another, you can delete the List control item from the source if you no longer need it.

If you call Event.preventDefault() in the event handler for the dragComplete event for a Tree control when dragging data from one Tree control to another, it prevents the drop.

The DragEvent.DRAG_COMPLETE constant defines the value of the type property of the event object for a dragComplete event.

The properties of the event object have the following values:

PropertyValue
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
dragInitiatorThe component that initiated the drag.
dragSourceThe DragSource object containing the data being dragged.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

dragDrop

事件  
事件物件類型: mx.events.DragEvent
屬性 DragEvent.type = mx.events.DragEvent.DRAG_DROP

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the drop target when the user releases the mouse over it.

You use this event handler to add the drag data to the drop target.

If you call Event.preventDefault() in the event handler for the dragDrop event for a Tree control when dragging data from one Tree control to another, it prevents the drop.

The DragEvent.DRAG_DROP constant defines the value of the type property of the event object for a dragDrop event.

The properties of the event object have the following values:

PropertyValue
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
dragInitiatorThe component that initiated the drag.
dragSourceThe DragSource object containing the data being dragged.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

dragEnter

事件  
事件物件類型: mx.events.DragEvent
屬性 DragEvent.type = mx.events.DragEvent.DRAG_ENTER

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by a component when the user moves the mouse over the component during a drag operation.

In order to be a valid drop target, you must define a handler for this event. In the handler, you can change the appearance of the drop target to provide visual feedback to the user that the component can accept the drag. For example, you could draw a border around the drop target, or give focus to the drop target.

If you want to accept the drag, you must call the DragManager.acceptDragDrop() method. If you don't call acceptDragDrop(), you will not get any of the other drag events.

The value of the action property is always DragManager.MOVE, even if you are doing a copy. This is because the dragEnter event occurs before the control recognizes that the Control key is pressed to signal a copy. The action property of the event object for the dragOver event does contain a value that signifies the type of drag operation.

You may change the type of drag action by calling the DragManager.showFeedback() method.

The DragEvent.DRAG_ENTER constant defines the value of the type property of the event object for a dragEnter event.

The properties of the event object have the following values:

PropertyValue
actionThe action that caused the event, which is always DragManager.MOVE.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
dragInitiatorThe component that initiated the drag.
dragSourceThe DragSource object containing the data being dragged.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

相關 API 元素

dragExit

事件  
事件物件類型: mx.events.DragEvent
屬性 DragEvent.type = mx.events.DragEvent.DRAG_EXIT

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when the user drags outside the component, but does not drop the data onto the target.

You use this event to restore the drop target to its normal appearance if you modified its appearance as part of handling the dragEnter or dragOver event.

The DragEvent.DRAG_EXIT constant defines the value of the type property of the event object for a dragExit event.

The properties of the event object have the following values:

PropertyValue
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
dragInitiatorThe component that initiated the drag.
dragSourceThe DragSource object containing the data being dragged.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

dragOver

事件  
事件物件類型: mx.events.DragEvent
屬性 DragEvent.type = mx.events.DragEvent.DRAG_OVER

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by a component when the user moves the mouse while over the component during a drag operation.

In the handler, you can change the appearance of the drop target to provide visual feedback to the user that the component can accept the drag. For example, you could draw a border around the drop target, or give focus to the drop target.

You should handle this event to perform additional logic before allowing the drop, such as dropping data to various locations in the drop target, reading keyboard input to determine if the drag-and-drop action is a move or copy of the drag data, or providing different types of visual feedback based on the type of drag-and-drop action.

You may also change the type of drag action by changing the DragManager.showFeedback() method. The default value of the action property is DragManager.MOVE.

The DragEvent.DRAG_OVER constant defines the value of the type property of the event object for a dragOver event.

The properties of the event object have the following values:

PropertyValue
actionThe action that caused the event: DragManager.COPY, DragManager.LINK, DragManager.MOVE, or DragManager.NONE.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
dragInitiatorThe component that initiated the drag.
dragSourceThe DragSource object containing the data being dragged.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

相關 API 元素

hide

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.HIDE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when an object's state changes from visible to invisible.

The FlexEvent.HIDE constant defines the value of the type property of the event object for a hide event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

initialize

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.INITIALIZE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the component has finished its construction and has all initialization properties set.

The FlexEvent.INITIALIZE constant defines the value of the type property of the event object for a initialize event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

mouseDownOutside

事件  
事件物件類型: mx.events.FlexMouseEvent
屬性 FlexMouseEvent.type = mx.events.FlexMouseEvent.MOUSE_DOWN_OUTSIDE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched from a component opened using the PopUpManager when the user clicks outside it.

The FlexMouseEvent.MOUSE_DOWN_OUTSIDE constant defines the value of the type property of the event object for a mouseDownOutside event.

The properties of the event object have the following values:

PropertyValue
altKeyIndicates whether the Alt key is down (true) or not (false).
bubblesfalse
buttonDownIndicates whether the main mouse button is down (true) or not (false).
cancelablefalse
ctrlKeyIndicates whether the Control key is down (true) or not (false).
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget. For PopUpManager events, the object is the pop-up window.
deltaIndicates how many lines should be scrolled for each notch the user scrolls the mouse wheel. For PopUpManager events this value is 0.
localXThe horizontal position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control.
localYThe vertical position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control.
relatedObjectA reference to a display list object that is related to the event. For PopUpManager events, the object is the container over which the mouse pointer is located.
shiftKeyIndicates whether the Shift key is down (true) or not (false).
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event. For PopUpManager events, the object is the pop-up window.

mouseWheelOutside

事件  
事件物件類型: mx.events.FlexMouseEvent
屬性 FlexMouseEvent.type = mx.events.FlexMouseEvent.MOUSE_WHEEL_OUTSIDE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it.

The FlexMouseEvent.MOUSE_WHEEL_OUTSIDE constant defines the value of the type property of the event object for a mouseWheelOutside event.

The properties of the event object have the following values:

PropertyValue
altKeyIndicates whether the Alt key is down (true) or not (false).
bubblesfalse
buttonDownIndicates whether the main mouse button is down (true) or not (false).
cancelablefalse
ctrlKeyIndicates whether the Control key is down (true) or not (false).
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget. For PopUpManager events, the object is the pop-up window.
deltaIndicates how many lines should be scrolled for each notch the user scrolls the mouse wheel. For PopUpManager events this value is 0.
localXThe horizontal position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control.
localYThe vertical position at which the event occurred. For PopUpManager events, the value is relative to the pop-up control.
relatedObjectA reference to a display list object that is related to the event. For PopUpManager events, the object is the container over which the mouse pointer is located.
shiftKeyIndicates whether the Shift key is down (true) or not (false).
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event. For PopUpManager events, the object is the pop-up window.

move

事件  
事件物件類型: mx.events.MoveEvent
屬性 MoveEvent.type = mx.events.MoveEvent.MOVE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the object has moved.

You can move the component by setting the x or y properties, by calling the move() method, by setting one of the following properties either on the component or on other components such that the LayoutManager needs to change the x or y properties of the component:

  • minWidth
  • minHeight
  • maxWidth
  • maxHeight
  • explicitWidth
  • explicitHeight

When you call the move() method, the move event is dispatched before the method returns. In all other situations, the move event is not dispatched until after the property changes.

The MoveEvent.MOVE constant defines the value of the type property of the event object for a move event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
oldXThe previous x coordinate of the object, in pixels.
oldYThe previous y coordinate of the object, in pixels.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

preinitialize

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.PREINITIALIZE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched at the beginning of the component initialization sequence. The component is in a very raw state when this event is dispatched. Many components, such as the Button control, create internal child components to implement functionality; for example, the Button control creates an internal UITextField component to represent its label text. When Flex dispatches the preinitialize event, the children, including the internal children, of a component have not yet been created.

The FlexEvent.PREINITIALIZE constant defines the value of the type property of the event object for a preinitialize event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

remove

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.REMOVE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the component is removed from a container as a content child by using the removeChild() or removeChildAt() method. If the component is removed from the container as a noncontent child by using the rawChildren.removeChild() or rawChildren.removeChildAt() method, the event is not dispatched.

The FlexEvent.REMOVE constant defines the value of the type property of the event object for an remove event.

This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

resize

事件  
事件物件類型: mx.events.ResizeEvent
屬性 ResizeEvent.type = mx.events.ResizeEvent.RESIZE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when the component is resized.

You can resize the component by setting the width or height property, by calling the setActualSize() method, or by setting one of the following properties either on the component or on other components such that the LayoutManager needs to change the width or height properties of the component:

  • minWidth
  • minHeight
  • maxWidth
  • maxHeight
  • explicitWidth
  • explicitHeight

The resize event is not dispatched until after the property changes.

The ResizeEvent.RESIZE constant defines the value of the type property of the event object for a resize event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
oldHeightThe previous height of the object, in pixels.
oldWidthThe previous width of the object, in pixels.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

show

事件  
事件物件類型: mx.events.FlexEvent
屬性 FlexEvent.type = mx.events.FlexEvent.SHOW

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched when an object's state changes from invisible to visible.

The FlexEvent.SHOW constant defines the value of the type property of the event object for a show event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

toolTipCreate

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_CREATE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when it is time to create a ToolTip.

If you create your own IToolTip object and place a reference to it in the toolTip property of the event object that is passed to your toolTipCreate handler, the ToolTipManager displays your custom ToolTip. Otherwise, the ToolTipManager creates an instance of ToolTipManager.toolTipClass to display.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_CREATE constant defines the value of the type property of the event object for a toolTipCreate event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.

toolTipEnd

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_END

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when its ToolTip has been hidden and will be discarded soon.

If you specify an effect using the ToolTipManager.hideEffect property, this event is dispatched after the effect stops playing.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_END constant defines the value of the type property of the event object for a toolTipEnd event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.

toolTipHide

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_HIDE

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when its ToolTip is about to be hidden.

If you specify an effect using the ToolTipManager.hideEffect property, this event is dispatched before the effect starts playing.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_HIDE constant defines the value of the type property of the event object for a toolTipHide event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.

toolTipShow

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_SHOW

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when its ToolTip is about to be shown.

If you specify an effect using the ToolTipManager.showEffect property, this event is dispatched before the effect starts playing. You can use this event to modify the ToolTip before it appears.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_SHOW constant defines the value of the type property of the event object for a toolTipShow event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.

toolTipShown

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_SHOWN

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by the component when its ToolTip has been shown.

If you specify an effect using the ToolTipManager.showEffect property, this event is dispatched after the effect stops playing.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_SHOWN constant defines the value of the type property of the event object for a toolTipShown event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.

toolTipStart

事件  
事件物件類型: mx.events.ToolTipEvent
屬性 ToolTipEvent.type = mx.events.ToolTipEvent.TOOL_TIP_START

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it.

The sequence of ToolTip events is toolTipStart, toolTipCreate, toolTipShow, toolTipShown, toolTipHide, and toolTipEnd.

The ToolTipEvent.TOOL_TIP_START constant defines the value of the type property of the event object for a toolTipStart event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
tooltipThe ToolTip object to which this event applies.




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

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