用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: AIR 30.0 和更早版本, Flash Player 30.0 和更早版本, Flash Lite 4
Flex 4.6 和更早版本, Flash Pro CS6 和更早版本
隐藏过滤条件
mx.flash 

ContainerMovieClip  - 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 的标签
Motion XML 元素
Timed Text 标记
不推荐使用的元素的列表
AccessibilityImplementation 常量
如何使用 ActionScript 示例
法律声明
mx.flash
public dynamic class ContainerMovieClip
继承ContainerMovieClip Inheritance UIMovieClip Inheritance MovieClip Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
实现 IVisualElementContainer

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

在 Adobe Flash Professional 中创建以便在 Flex 中使用的容器组件是 mx.flash.ContainerMovieClip 类的子类。您可以将 ContainerMovieClip 的子类用作 Flex 容器,它可以保存子项、响应事件、定义视图状态和转换,还可以像所有 Flex 组件一样使用效果。

一个 Flash 容器只能具有一个 Flex IUIComponent 子项。但是,这个子项可以是允许添加其它子项的 Flex 容器。

如果 Flash 容器要修改其中包含的 Flex 组件的可视特征(如更改 alpha 属性),您必须嵌入 Flex 组件所用的字体。对 Flex 组件应用 Dissolve、Fade 和 Rotate 效果时,也需要同样的要求。

以下过程描述了在 Flash Professional 中创建 Flex 组件的基本流程:

  1. 安装 Adobe Flash 工作流程集成工具包。
  2. 在 FLA 文件中为动态资源创建元件。
  3. 运行“命令”>“生成 Flex 容器”,将元件转换为 ContainerMovieClip 类的子类,配置 Flash Professional 发布设置以使用 Flex,并向库中添加名为 FlexContentHolder 的新元件。此元件定义容器的内容区域,您可以在此区域中放置 Flex 子组件。
  4. 将 FLA 文件发布为 SWC 文件。
  5. 像使用其他类一样,在 Flex 应用程序中引用元件的类名称。
  6. 编译 Flex 应用程序时,在 library-path 中包括 SWC 文件。

有关详细信息,请参阅随 Flex/Flash 集成工具包提供的文档,网址为 http://www.adobe.com/go/flex3_cs3_swfkit

默认 MXML 属性content



公共属性
 属性由以下参数定义
 InheritedaccessibilityImplementation : AccessibilityImplementation
InteractiveObject 实例的当前辅助功能实现 (AccessibilityImplementation)。
InteractiveObject
 InheritedaccessibilityProperties : AccessibilityProperties
此显示对象的当前辅助功能选项。
DisplayObject
 Inheritedalpha : Number
表示指定对象的 Alpha 透明度值。
DisplayObject
 InheritedautomationDelegate : Object
处理自动化相关功能的委托对象。
UIMovieClip
 InheritedautomationEnabled : Boolean
[只读] 如果此组件启用了自动化,则为 true;否则为 false。
UIMovieClip
 InheritedautomationName : String
可用作此对象的标识符的名称。
UIMovieClip
 InheritedautomationOwner : DisplayObjectContainer
[只读] 用于自动化目的的此组件的所有者。
UIMovieClip
 InheritedautomationParent : DisplayObjectContainer
[只读] 用于自动化目的的此组件的父级。
UIMovieClip
 InheritedautomationTabularData : Object
[只读] IAutomationTabularData 接口的实现,可用于检索数据。
UIMovieClip
 InheritedautomationValue : Array
[只读] 此值通常对应于对象的经呈示的外观,当对象在应用中以可视方式显示时,此值使标识符与该对象相关联。
UIMovieClip
 InheritedautomationVisible : Boolean
[只读] 如果此组件对于自动化是可见的,则为 true;否则为 false。
UIMovieClip
 InheritedautoUpdateCurrentState : Boolean
我们是否应主动观察对 flash 对象的标签的更改。
UIMovieClip
 InheritedautoUpdateMeasuredSize : Boolean
我们是否应主动观察对 flash 对象的大小的更改。
UIMovieClip
 Inheritedbaseline : Object
从内容区域顶边到组件基线位置的垂直距离(以像素为单位)。
UIMovieClip
 InheritedbaselinePosition : Number
[只读] 组件第一行文本的基线的 y 坐标。
UIMovieClip
 InheritedblendMode : String
BlendMode 类中的一个值,用于指定要使用的混合模式。
DisplayObject
 InheritedblendShader : Shader
[只写] 设置用于混合前景和背景的着色器。
DisplayObject
 Inheritedbottom : Object
从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。
UIMovieClip
 InheritedboundingBoxName : String = "boundingBox"
用作边框的对象的名称。
UIMovieClip
 InheritedbuttonMode : Boolean
指定此 sprite 的按钮模式。
Sprite
 InheritedcacheAsBitmap : Boolean
如果设置为 true,则 Flash 运行时将缓存显示对象的内部位图表示形式。
DisplayObject
 Inherited    cacheAsBitmapMatrix : Matrix
如果为非 null,则 Matrix 对象会定义显示对象在 cacheAsBitmap 设置为 true 时的呈现方式。
DisplayObject
 InheritedcacheHeuristic : Boolean
[只写] 供 Flex 使用,表示建议为对象实施位图缓存。
UIMovieClip
 InheritedcachePolicy : String
[只读] 指定此对象的位图缓存策略。
UIMovieClip
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
  content : IUIComponent
要在此容器内部显示的 Flex 内容。
ContainerMovieClip
 InheritedcontextMenu : NativeMenu
指定与此对象相关联的上下文菜单。
InteractiveObject
 InheritedcurrentFrame : int
[只读] 指定播放头在 MovieClip 实例的时间轴中所处的帧的编号。
MovieClip
 InheritedcurrentFrameLabel : String
[只读] MovieClip 实例的时间轴中当前帧上的标签。
MovieClip
 InheritedcurrentLabel : String
[只读] 在 MovieClip 实例的时间轴中播放头所在的当前标签。
MovieClip
 InheritedcurrentLabels : Array
[只读] 返回由当前场景的 FrameLabel 对象组成的数组。
MovieClip
 InheritedcurrentScene : Scene
[只读] 在 MovieClip 实例的时间轴中播放头所在的当前场景。
MovieClip
 InheritedcurrentState : String
此组件的当前状态。
UIMovieClip
 Inheriteddepth : Number
确定容器内各项目的呈示顺序。
UIMovieClip
 Inheriteddescriptor : UIComponentDescriptor
引用 UIComponentDescriptor(如果有),过去曾通过 createComponentFromDescriptor() 方法使用它来创建此 UIComponent 实例。
UIMovieClip
 InheriteddesignLayer : DesignLayer
指定与该可视元素关联的可选 DesignLayer 实例。
UIMovieClip
 Inheriteddocument : Object
对与此组件关联的文档对象的引用。
UIMovieClip
 InheriteddoubleClickEnabled : Boolean
指定此对象是否接收 doubleClick 事件。
InteractiveObject
 InheriteddropTarget : DisplayObject
[只读] 指定拖动 sprite 时经过的显示对象,或放置 sprite 的显示对象。
Sprite
 Inheritedenabled : Boolean
一个布尔值,表示影片剪辑是否处于活动状态。
MovieClip
 InheritedexplicitHeight : Number
在组件坐标中显式指定的组件高度(以像素为单位)。
UIMovieClip
 InheritedexplicitMaxHeight : Number
在组件坐标中指定组件最大高度的数字(以像素为单位)。
UIMovieClip
 InheritedexplicitMaxWidth : Number
在组件坐标中指定组件最大宽度的数字(以像素为单位)。
UIMovieClip
 InheritedexplicitMinHeight : Number
在组件坐标中指定组件最小高度的数字(以像素为单位)。
UIMovieClip
 InheritedexplicitMinWidth : Number
在组件坐标中指定组件最小宽度的数字(以像素为单位)。
UIMovieClip
 InheritedexplicitWidth : Number
在组件坐标中显式指定的组件宽度(以像素为单位)。
UIMovieClip
 Inheritedfilters : Array
包含当前与显示对象关联的每个滤镜对象的索引数组。
DisplayObject
 InheritedfocusEnabled : Boolean
一个标志,用于指示组件处于选中状态时是否可以获得焦点。
UIMovieClip
 InheritedfocusPane : Sprite
在组件中共享并用作绘图焦点叠加层的单个 Sprite 对象。
UIMovieClip
 InheritedfocusRect : Object
指定此对象是否显示焦点矩形。
InteractiveObject
 InheritedframesLoaded : int
[只读] 从流式 SWF 文件加载的帧数。
MovieClip
 Inheritedgraphics : Graphics
[只读] 指定属于此 sprite 的 Graphics 对象,在此 sprite 中可执行矢量绘图命令。
Sprite
 InheritedhasFocusableChildren : Boolean
一个标志,指示子对象是否能够获得焦点。
UIMovieClip
 InheritedhasLayoutMatrix3D : Boolean
[只读] 如果元素具有 3D 矩阵,则为 true。
UIMovieClip
 Inheritedheight : Number
[覆盖] 此对象的高度(以像素为单位)。
UIMovieClip
 InheritedhitArea : Sprite
指定一个 sprite 用作另一个 sprite 的点击区域。
Sprite
 InheritedhorizontalCenter : Object
从组件内容区域的中心到组件中心的水平距离(以像素为单位)。
UIMovieClip
 Inheritedid : String
组件 ID。
UIMovieClip
 InheritedincludeInLayout : Boolean
指定此组件是否包含在父容器的布局中。
UIMovieClip
 Inheritedis3D : Boolean
[只读] 当元素为 3D 时,则为 true。
UIMovieClip
 InheritedisPlaying : Boolean
[只读] 一个布尔值,指示影片剪辑当前是否正在播放。
MovieClip
 InheritedisPopUp : Boolean
PopUpManager 将其设置为 true 以指示已弹出该组件。
UIMovieClip
 InheritedlayoutDirection : String
指定元素的所需布局方向:LayoutDirection.LTR(从左到右)、LayoutDirection.RTL(从右到左)或 null(继承)。
UIMovieClip
 Inheritedleft : Object
从组件内容区域的左边到组件左边之间的水平距离(以像素为单位)。
UIMovieClip
 InheritedloaderInfo : LoaderInfo
[只读] 返回一个 LoaderInfo 对象,其中包含加载此显示对象所属的文件的相关信息。
DisplayObject
 InheritedmaintainProjectionCenter : Boolean
如果为 true,则该组件将使其投影矩阵在其边框的中央保持居中。
UIMovieClip
 Inheritedmask : DisplayObject
调用显示对象被指定的 mask 对象遮罩。
DisplayObject
 InheritedmaxHeight : Number
在组件坐标中指定组件最大高度的数字(以像素为单位)。
UIMovieClip
 InheritedmaxWidth : Number
在组件坐标中指定组件最大宽度的数字(以像素为单位)。
UIMovieClip
 InheritedmeasuredHeight : Number
[只读] 此对象的测量高度。
UIMovieClip
 InheritedmeasuredMinHeight : Number
组件的默认最小高度(以像素为单位)。
UIMovieClip
 InheritedmeasuredMinWidth : Number
组件的默认最小宽度(以像素为单位)。
UIMovieClip
 InheritedmeasuredWidth : Number
[只读] 此对象的测量宽度。
UIMovieClip
 InheritedmetaData : Object
如果元数据是通过 PlaceObject4 标记与此 DisplayObject 的实例一起存储在 SWF 文件中的,则获取 DisplayObject 实例的元数据对象。
DisplayObject
 InheritedminHeight : Number
在组件坐标中指定组件最小高度的数字(以像素为单位)。
UIMovieClip
 InheritedminWidth : Number
在组件坐标中指定组件最小宽度的数字(以像素为单位)。
UIMovieClip
 InheritedmoduleFactory : IFlexModuleFactory
模块工厂用作上下文,用于为组件使用嵌入字体,和查找用于控制样式的样式管理器。
UIMovieClip
 InheritedmouseChildren : Boolean
确定对象的子级是否支持鼠标或用户输入设备。
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
指定此对象是否接收鼠标或其他用户输入、消息。
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
[只读] 一个标志,用于当使用鼠标选中组件时组件是否可以获得焦点。
UIMovieClip
 InheritedmouseX : Number
[只读] 表示此鼠标或用户输入设备位置的 x 坐标,以像素为单位。
DisplayObject
 InheritedmouseY : Number
[只读] 表示此鼠标或用户输入设备位置的 y 坐标,以像素为单位。
DisplayObject
 Inheritedname : String
表示 DisplayObject 的实例名称。
DisplayObject
 InheritedneedsSoftKeyboard : Boolean
指定当该 InteractiveObject 实例获得焦点时,是否显示虚拟键盘(显示在屏幕上的软键盘)。
InteractiveObject
 InheritednumAutomationChildren : int
[只读] 此容器包含的自动化子项数。
UIMovieClip
 InheritednumChildren : int
[只读] 返回此对象的子项数目。
DisplayObjectContainer
  numElements : int
[只读] 如果存在视域,则返回 1;否则,返回 0。
ContainerMovieClip
 InheritedopaqueBackground : Object
指定显示对象是否由于具有某种背景颜色而不透明。
DisplayObject
 Inheritedowner : DisplayObjectContainer
通常为此组件的父容器。
UIMovieClip
 Inheritedparent : DisplayObjectContainer
[只读] 表示包含此显示对象的 DisplayObjectContainer 对象。
DisplayObject
 InheritedparentDocument : Object
[只读] 包含此组件的文档。
UIMovieClip
 InheritedpercentHeight : Number
以组件父项大小百分比的方式指定组件高度的数字。
UIMovieClip
 InheritedpercentWidth : Number
以组件父项大小百分比形式指定其宽度的数字。
UIMovieClip
 InheritedpostLayoutTransformOffsets : mx.geom:TransformOffsets
定义一组调整,可以使用一种对组件父项的布局不可见的方式将这些调整应用到组件的转换。
UIMovieClip
 Inheritedright : Object
从组件右边到其内容区域右边之间的水平距离(以像素为单位)。
UIMovieClip
 Inheritedroot : DisplayObject
[只读] 对于加载的 SWF 文件中的显示对象,root 属性是此 SWF 文件所表示的显示列表树结构部分中的顶级显示对象。
DisplayObject
 Inheritedrotation : Number
[覆盖] 表示 DisplayObject 实例距其原始方向的旋转程度,以度为单位。
UIMovieClip
 InheritedrotationX : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 x 轴旋转(以度为单位)。
UIMovieClip
 InheritedrotationY : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 y 轴旋转(以度为单位)。
UIMovieClip
 InheritedrotationZ : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 z 轴旋转(以度为单位)。
UIMovieClip
 Inheritedscale9Grid : Rectangle
当前有效的缩放网格。
DisplayObject
  scaleContentWhenResized : Boolean
由于调整容器大小而导致该容器的缩放是否会影响 flex 内容的缩放。
ContainerMovieClip
 InheritedscaleX : Number
[覆盖] 用于指定水平缩放系数的数字。
UIMovieClip
 InheritedscaleY : Number
[覆盖] 用于指定垂直缩放系数的数字。
UIMovieClip
 InheritedscaleZ : Number
[覆盖] 指定沿着 z 轴的缩放因子的数值。
UIMovieClip
 Inheritedscenes : Array
[只读] 一个由 Scene 对象组成的数组,每个对象都列出了 MovieClip 实例中场景的名称、帧数和帧标签。
MovieClip
 InheritedscrollRect : Rectangle
显示对象的滚动矩形范围。
DisplayObject
 InheritedshowInAutomationHierarchy : Boolean
用于确定自动化对象是否显示在自动化层次中的标志。
UIMovieClip
 Inherited    softKeyboard : String
控制软键盘的外观。
InteractiveObject
 InheritedsoftKeyboardInputAreaOfInterest : Rectangle
定义当显示软键盘时应在屏幕上保留的区域(在 iOS 上不支持)。
InteractiveObject
 InheritedsoundTransform : flash.media:SoundTransform
控制此 sprite 中的声音。
Sprite
 Inheritedstage : Stage
[只读] 显示对象的舞台。
DisplayObject
 InheritedsystemManager : ISystemManager
对此组件的 SystemManager 对象的引用。
UIMovieClip
 InheritedtabChildren : Boolean
确定对象的子项是否支持 Tab 键。
DisplayObjectContainer
 InheritedtabEnabled : Boolean
指定此对象是否遵循 Tab 键顺序。
InteractiveObject
 InheritedtabFocusEnabled : Boolean
一个标志,指示子对象是否能够获得焦点。这与 Flash Player 使用的 tabEnabled 属性类似。对于处理键盘输入的组件该标志通常为 true,但是控件栏中的一些组件将其设置为 false,因为它们不能像编辑器一样从另外的组件窃取焦点。
UIMovieClip
 InheritedtabIndex : int
指定 SWF 文件中的对象按 Tab 键顺序排列。
InteractiveObject
 InheritedtextSnapshot : flash.text:TextSnapshot
[只读] 返回此 DisplayObjectContainer 实例的 TextSnapshot 对象。
DisplayObjectContainer
 InheritedtoolTip : String
要在 ToolTip 中显示的文本。
UIMovieClip
 Inheritedtop : Object
从控件内容区域的顶边到组件顶边之间的垂直距离(以像素为单位)。
UIMovieClip
 InheritedtotalFrames : int
[只读] MovieClip 实例中帧的总数。
MovieClip
 InheritedtrackAsMenu : Boolean
表示属于 SimpleButton 或 MovieClip 对象的其他显示对象是否可以接收 mouse release 事件或其他 user input release 事件。
MovieClip
 Inheritedtransform : flash.geom:Transform
一个对象,具有与显示对象的矩阵、颜色转换和像素范围有关的属性。
DisplayObject
 InheritedtransformX : Number
设置组件转换中心的 x 坐标。
UIMovieClip
 InheritedtransformY : Number
设置组件转换中心的 y 坐标。
UIMovieClip
 InheritedtransformZ : Number
设置组件转换中心的 z 坐标。
UIMovieClip
 InheritedtweeningProperties : Array
由 EffectManager 使用。
UIMovieClip
 InheriteduseHandCursor : Boolean
布尔值,表示当指针滑过 buttonMode 属性设置为 true 的 sprite 时是否显示指针手形(手形光标)。
Sprite
 InheritedverticalCenter : Object
从组件内容区域的中心到组件中心的垂直距离(以像素为单位)。
UIMovieClip
 Inheritedvisible : Boolean
[覆盖] 显示对象是否可见。
UIMovieClip
 Inheritedwidth : Number
[覆盖] 此对象的宽度(以像素为单位)。
UIMovieClip
 Inheritedx : Number
[覆盖] 指定组件在其父容器中的水平位置(以像素为单位)的数字。
UIMovieClip
 Inheritedy : Number
[覆盖] 指定组件在其父容器中的垂直位置(以像素为单位)的数字。
UIMovieClip
 Inheritedz : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器沿 z 轴的 z 坐标位置。
UIMovieClip
受保护的属性
 属性由以下参数定义
 Inheritedbounds : Rectangle
[只读] 未经缩放的内容范围。
UIMovieClip
 Inheritedinitialized : Boolean = false
一个标志,用于确定某个对象是否已通过布局的所有三个阶段:提交、测量和布局(假设每个阶段都是必需的)。
UIMovieClip
公共方法
 方法由以下参数定义
  
构造函数
ContainerMovieClip
 Inherited
将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
 Inherited
将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
  
将可视元素添加到此容器中。
ContainerMovieClip
  
将可视元素添加到此容器中。
ContainerMovieClip
 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
 Inherited
返回标识此容器中的子项的一组属性。
UIMovieClip
 Inherited
返回标识此容器中的子项的一组属性。
UIMovieClip
 Inherited
在 IUIComponent 对象的父项文档对象上创建对此对象的 id 引用。
UIMovieClip
 Inherited
在 IUIComponent 对象的父项文档对象上删除对此对象的 id 引用。
UIMovieClip
 Inherited
将事件调度到事件流中。
EventDispatcher
 Inherited
当组件获得焦点时,由 FocusManager 调用。
UIMovieClip
 Inherited
executeBindings(recurse:Boolean = false):void
将数据绑定到此 UIComponent 对象。
UIMovieClip
 Inherited
在指定的索引位置提供自动化对象。
UIMovieClip
 Inherited
提供自动化对象列表。
UIMovieClip
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象坐标系的显示对象区域。
DisplayObject
 Inherited
getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
按指定的元素大小,返回元素边界的 x 坐标。
UIMovieClip
 Inherited
getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
按指定的元素大小,返回元素边界的 y 坐标。
UIMovieClip
 Inherited
返回位于指定索引处的子显示对象实例。
DisplayObjectContainer
 Inherited
返回具有指定名称的子显示对象。
DisplayObjectContainer
 Inherited
返回 DisplayObject 的 child 实例的索引位置。
DisplayObjectContainer
 Inherited
getConstraintValue(constraintName:String):*
返回指定的约束值。
UIMovieClip
  
如果存在视域,且传入的索引为 0,则返回该视域。
ContainerMovieClip
  
如果传入的元素是视域,则返回 0。
ContainerMovieClip
 Inherited
确定是使用显式高度还是测量高度的一种简便方法
UIMovieClip
 Inherited
确定是使用显式宽度还是测量宽度的一种简便方法
UIMovieClip
 Inherited
getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的布局高度。
UIMovieClip
 Inherited
getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的布局宽度。
UIMovieClip
 Inherited
getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
返回元素在屏幕上进行绘制时所用的 x 坐标。
UIMovieClip
 Inherited
getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
返回元素在屏幕上进行绘制时所用的 y 坐标。
UIMovieClip
 Inherited
返回用于相对于其同级组件计算组件的布局的转换矩阵。
UIMovieClip
 Inherited
返回此元素的布局转换 Matrix3D。
UIMovieClip
 Inherited
getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的最大高度。
UIMovieClip
 Inherited
getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的最大宽度。
UIMovieClip
 Inherited
getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的最小高度。
UIMovieClip
 Inherited
getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的最小宽度。
UIMovieClip
 Inherited
返回对象的数组,这些对象位于指定点下,并且是该 DisplayObjectContainer 实例的子项(或孙子项,依此类推)。
DisplayObjectContainer
 Inherited
getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的首选高度。
UIMovieClip
 Inherited
getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的首选宽度。
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
 Inherited
初始化对象。
UIMovieClip
 Inherited
当某元素的 layoutDirection 更改或其父代的 layoutDirection 更改时,该元素必须调用该方法。
UIMovieClip
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
将三维显示对象的(本地)坐标的三维点转换为舞台(全局)坐标中的二维点。
DisplayObject
 Inherited
将 point 对象从显示对象的(本地)坐标转换为舞台(全局)坐标。
DisplayObject
 Inherited
将此对象移动到指定的 x 和 y 坐标。
UIMovieClip
 Inherited
将播放头转到下一帧并停止。
MovieClip
 Inherited
将播放头移动到 MovieClip 实例的下一场景。
MovieClip
 Inherited
owns(displayObject:DisplayObject):Boolean
如果 owner 属性链从 child 指向此 UIComponent,则返回 true。
UIMovieClip
 Inherited
当在父项中添加或删除 UIComponent 对象时由 Flex 调用。
UIMovieClip
 Inherited
在影片剪辑的时间轴中移动播放头。
MovieClip
 Inherited
将播放头转到前一帧并停止。
MovieClip
 Inherited
将播放头移动到 MovieClip 实例的前一场景。
MovieClip
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
 Inherited
对于每个效果事件,注册 EffectManager 作为其中一个事件侦听器。
UIMovieClip
  
从容器中删除所有可视元素。
ContainerMovieClip
 Inherited
从 DisplayObjectContainer 实例的子列表中删除指定的 child DisplayObject 实例。
DisplayObjectContainer
 Inherited
从 DisplayObjectContainer 的子列表中指定的 index 位置删除子 DisplayObject。
DisplayObjectContainer
 Inherited
removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void
从 DisplayObjectContainer 实例的子级列表中删除所有子 DisplayObject 实例。
DisplayObjectContainer
  
从此容器的子列表中删除指定的可视元素。
ContainerMovieClip
  
从容器中的指定索引位置删除可视元素。
ContainerMovieClip
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
EventDispatcher
 Inherited
重放指定的事件。
UIMovieClip
 Inherited
显示虚拟键盘。
InteractiveObject
 Inherited
使用提供的 ID 解析子项。
UIMovieClip
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
设置此对象的实际大小。
UIMovieClip
 Inherited
更改现有子项在显示对象容器中的位置。
DisplayObjectContainer
 Inherited
setConstraintValue(constraintName:String, value:*):void
设置指定的约束值。
UIMovieClip
  
在可视容器中更改现有可视元素的位置。
ContainerMovieClip
 Inherited
当组件获得焦点时,由 FocusManager 调用。
UIMovieClip
 Inherited
setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void
设置元素在屏幕上进行绘制时所用的坐标。
UIMovieClip
 Inherited
setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void
设置元素的布局大小。
UIMovieClip
 Inherited
setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
设置用于相对于其同级组件计算组件的布局大小和位置的转换 Matrix。
UIMovieClip
 Inherited
setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
设置用于计算组件相对于其同级组件的布局大小和位置的转换 Matrix3D。
UIMovieClip
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
当 visible 属性发生更改时调用。
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
对源起于此对象的所有 MovieClip 递归停止时间轴执行。
DisplayObjectContainer
 Inherited
结束 startDrag() 方法。
Sprite
 Inherited
stopTouchDrag(touchPointID:int):void
结束 startTouchDrag() 方法,用于启用触摸的设备。
Sprite
 Inherited
交换两个指定子对象的 Z 轴顺序(从前到后顺序)。
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
在子级列表中两个指定的索引位置,交换子对象的 Z 轴顺序(前后顺序)。
DisplayObjectContainer
  
交换两个指定可视元素的索引。
ContainerMovieClip
  
swapElementsAt(index1:int, index2:int):void
交换容器中位于两个指定索引位置的可视元素。
ContainerMovieClip
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
 Inherited
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
用于更新转换的旋转、缩放和平移的一种实用程序方法,同时保留某个特定点,该点是在组件自己的坐标空间中指定的,且在父项的坐标空间中是固定的。
UIMovieClip
 Inherited
transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void
一种实用程序方法,用于将以该对象的本地坐标指定的点转换为在该对象父坐标中的相应位置。
UIMovieClip
 Inherited
返回指定对象的原始值。
Object
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
EventDispatcher
受保护的方法
 方法由以下参数定义
 Inherited
当 width、height、x 或 y 值更改时,将使用此 enter 帧处理函数。
UIMovieClip
 Inherited
以递归方式查找所有 tabEnabled=true 的子项,并将它们添加到 focusableObjects 数组。
UIMovieClip
 Inherited
当焦点进入我们的任一子项时调用。
UIMovieClip
 Inherited
此对象影响其布局时(includeInLayout 为 true),使父代大小和显示列表失效的 Helper 方法。
UIMovieClip
 Inherited
通知父项大小已更改。
UIMovieClip
 Inherited
此 enter 帧处理函数通过转换进行。
UIMovieClip
事件
 事件 摘要 由以下参数定义
 Inherited[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。EventDispatcher
 Inherited使用 addChild() 或 addChildAt() 方法将组件作为内容子项添加到容器时调度。UIMovieClip
 Inherited将显示对象添加到显示列表中时调度。DisplayObject
 Inherited在将显示对象直接添加到舞台显示列表或将包含显示对象的子树添加至舞台显示列表中时调度。DisplayObject
 Inherited当用户从文本上下文菜单中选择“清除”(或“删除”)时调度。InteractiveObject
 Inherited用户在同一 InteractiveObject 上按下并释放用户指针设备的主按钮时调度。InteractiveObject
 Inherited
    contextMenu
当用户手势触发 AIR 应用程序中与此交互式对象相关联的上下文菜单时调度。InteractiveObject
 Inherited在用户为复制操作激活特定于平台的加速键组合或从文本上下文菜单中选择“复制”时调度。InteractiveObject
 Inherited当组件完成构建时调度。UIMovieClip
 Inherited视图状态更改后调度。UIMovieClip
 Inherited在 currentState 属性更改后但视图状态更改前调度。UIMovieClip
 Inherited在用户为剪切操作激活特定于平台的加速键组合或从文本上下文菜单中选择“剪切”时调度。InteractiveObject
 Inherited[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。EventDispatcher
 Inherited如果 InteractiveObject 的 doubleClickEnabled 标志设置为 true,当用户在该对象上快速连续按下两次并释放指针设备的主按钮时调度。InteractiveObject
 Inherited在拖动操作完成时(将拖动的数据放到放置目标时或在没有执行放置操作的情况下结束拖放操作时)由拖动启动器(作为要拖动的数据源的组件)调度。UIMovieClip
 Inherited用户在放置目标上释放鼠标时由放置目标调度。UIMovieClip
 Inherited当用户在拖动操作过程中将鼠标移动到某个组件所处的位置时,由该组件调度。UIMovieClip
 Inherited用户在组件外拖动但没有将数据放置到目标时,由组件调度。UIMovieClip
 Inherited在拖动操作期间,当用户在鼠标位于组件上方的情况下移动鼠标时,由组件调度。UIMovieClip
 Inherited[播放事件] 播放头进入新帧时调度。DisplayObject
 Inherited[广播事件] 播放头退出当前帧时调度。DisplayObject
 Inherited显示对象获得焦点后调度。InteractiveObject
 Inherited显示对象失去焦点后调度。InteractiveObject
 Inherited[广播事件] 在帧显示对象的构造函数运行之后但在帧脚本运行之前调度。DisplayObject
 Inherited当用户使用 InteractiveObject 实例沿触摸面边缘创建接触点时调度(如在 Siri Remote for Apple TV 上沿触摸面边缘轻击)。有些设备也可能将这种接触解释为多个触摸事件的组合。InteractiveObject
 Inherited当用户在启用触摸设备上的同一 InteractiveObject 实例上按下两个接触点时(例如,在配有触摸屏的移动电话或平板电脑上的显示对象上按下和释放两个手指)调度。InteractiveObject
 Inherited当用户在启用触摸的设备上的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上的显示对象上从左向右移动手指)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行旋转手势时(例如,将两个手指放在屏幕上,然后在配有触摸屏的移动电话或平板电脑上的显示对象上旋转这两个手指)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行滑动手势(例如,在配有触摸屏的移动电话或平板电脑上用三根手指触摸屏幕,然后在一个显示对象上平行移动这三根手指)时调度。InteractiveObject
 Inherited当用户使用 InteractiveObject 实例创建接触点,然后点击启用触屏的设备时(例如,将几个手指放在显示对象上以打开菜单,然后点击一个手指在配有触摸屏的移动电话或平板电脑上选择一个菜单项)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行缩放手势操作时(例如,将两个手指放在屏幕上,然后在配有触摸屏的移动电话或平板电脑上的显示对象上快速分开手指)调度。InteractiveObject
 Inherited当对象的状态从可见变为不可见时调度。UIMovieClip
 Inherited此事件被调度到任何支持使用 IME 进行内联输入的客户端应用程序InteractiveObject
 Inherited当组件完成构建并设置了所有初始化属性后调度。UIMovieClip
 Inherited用户按下某个键时调度。InteractiveObject
 Inherited用户尝试使用键盘导航更改焦点时调度。InteractiveObject
 Inherited用户释放某个键时调度。InteractiveObject
 Inherited当用户在同一 InteractiveObject 上按下并释放用户指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited当用户在使用 PopUpManager 打开的某个组件外部单击时,从该组件调度。UIMovieClip
 Inherited用户尝试使用指针设备更改焦点时调度。InteractiveObject
 Inherited用户移动 InteractiveObject 上的指针设备时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当鼠标滚轮滚动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户使用鼠标滚轮滚动到使用 PopUpManager 打开的某个组件外部时,从该组件调度。UIMovieClip
 Inherited移动对象后调度。UIMovieClip
 Inherited当用户释放拖动手势时由拖动启动器 InteractiveObject 调度。InteractiveObject
 Inherited在将拖动对象放置到目标上且已通过对 DragManager.acceptDragDrop() 的调用接受该放置操作时,由目标 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势进入其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势离开其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势保持在其边界内时,由 InteractiveObject 持续调度。InteractiveObject
 Inherited在拖动操作开始时由在 DragManager.doDrag() 调用中指定为拖动启动器的 InteractiveObject 调度。InteractiveObject
 Inherited在拖动操作期间由在 DragManager.doDrag() 调用中指定为拖动启动器的 InteractiveObject 调度。InteractiveObject
 Inherited在用户为粘贴操作激活特定于平台的加速键组合或从文本上下文菜单中选择“粘贴”时调度。InteractiveObject
 Inherited在组件初始化序列开始时调度。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
 Inherited使用 removeChild() 或 removeChildAt() 方法将组件作为内容子项从容器中删除时调度。UIMovieClip
 Inherited将要从显示列表中删除显示对象时调度。DisplayObject
 Inherited在从显示列表中直接删除显示对象或删除包含显示对象的子树时调度。DisplayObject
 Inherited[广播事件] 将要更新和呈现显示列表时调度。DisplayObject
 Inherited在调整组件大小时调度。UIMovieClip
 Inherited当用户在同一 InteractiveObject 上按下并释放用户指针设备的右按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited在用户为全选操作激活特定于平台的加速键组合或从文本上下文菜单中选择“全选”时调度。InteractiveObject
 Inherited当对象的状态从不可见变为可见时调度。UIMovieClip
 Inherited在放开软键盘之后立即调度。InteractiveObject
 Inherited在放开软键盘之前立即调度。InteractiveObject
 Inherited在隐藏软键盘之后立即调度。InteractiveObject
 Inherited对象的 tabChildren 标志值发生更改时调度。InteractiveObject
 Inherited对象的 tabEnabled 标志发生更改时调度。InteractiveObject
 Inherited对象的 tabIndex 属性值发生更改时调度。InteractiveObject
 Inherited当用户输入一个或多个文本字符时调度。InteractiveObject
 Inherited要创建 ToolTip 时由组件调度。UIMovieClip
 Inherited已隐藏组件的 ToolTip 并要将其放弃时由组件调度。UIMovieClip
 Inherited要隐藏组件的 ToolTip 时由组件调度。UIMovieClip
 Inherited要显示组件的 ToolTip 时由组件调度。UIMovieClip
 Inherited显示组件的 ToolTip 时由组件调度。UIMovieClip
 Inherited用户将鼠标移动到设置了 toolTip 属性的组件上方后,由该组件调度。UIMovieClip
 Inherited当用户第一次触摸启用触摸的设备时(例如,用手指触摸配有触摸屏的移动电话或平板)调度。InteractiveObject
 Inherited当用户移除与启用触摸的设备的接触时(例如,将手指从配有触摸屏的移动电话或平板电脑上抬起)调度。InteractiveObject
 Inherited当用户触碰设备时进行调度,而且会连续调度,直到接触点被删除。InteractiveObject
 Inherited当用户将接触点从启用触摸的设备上的 InteractiveObject 实例移开时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从一个显示对象拖到另一个显示对象)调度。InteractiveObject
 Inherited当用户在启用触摸的设备的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从显示对象外的一点拖动到显示对象上的一点)调度。InteractiveObject
 Inherited当用户移动接触点,使其远离启用触摸的设备上的 InteractiveObject 实例时(例如,在配有触摸屏的移动电话或平板电脑上将一个手指从显示对象上的一点移动到显示对象外的一点)调度。InteractiveObject
 Inherited当用户在启用触摸的设备的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从显示对象外的一点拖动到显示对象上的一点)调度。InteractiveObject
 Inherited当用户在启用触摸设备上的已启动接触的同一 InteractiveObject 实例上抬起接触点时(例如,在配有触摸屏的移动电话或平板的显示对象上的某一点处按下并释放手指)调度。InteractiveObject
属性详细信息

content

属性
content:IUIComponent

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

要在此容器内部显示的 Flex 内容。

通常,要在 ActionScript 中向容器添加子项,需要使用 Container.addChild()Container.addChildAt() 方法。但是,要向 Flash 容器的 ContainerMovieClip.content 属性添加子项,则不使用 addChild()addChildAt() 方法,而是直接将子项分配给内容属性。

以下示例将向 ContainerMovieClip.content 属性分配一个容器。

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:myComps="*">
         
         <mx:Script>
             <![CDATA[
                 import mx.containers.HBox;
                 import mx.controls.Image;
     
                 private function init():void {            
                     // Define the Image control.
                     var image1:Image = new Image();
                     image1.source = "../assets/logowithtext.jpg";
                     image1.percentWidth = 80;
                     image1.percentHeight = 80;
     
                     // Define the HBox container.
                     var hb1:HBox = new HBox();
                     hb1.percentWidth = 100;
                     hb1.percentHeight = 100;
                     hb1.setStyle('borderStyle', 'solid');
                     hb1.addChild(image1);
     
                     // Assign the HBox container to the 
                     // ContainerMovieClip.content property..
                     pFrame.content = hb1;
                 }
             ]]>
         </mx:Script>    
     
         <myComps:MyPictureFrameContainer id="pFrame" 
             initialize="init();"/>
     </mx:Application>



实现
    public function get content():IUIComponent
    public function set content(value:IUIComponent):void

numElements

属性 
numElements:int  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

如果存在视域,则返回 1;否则,返回 0。



实现
    public function get numElements():int

scaleContentWhenResized

属性 
scaleContentWhenResized:Boolean

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

由于调整容器大小而导致该容器的缩放是否会影响 flex 内容的缩放。

调整 Flash 组件的大小后,它们会放大或缩小为新的大小。但是,这也意味着它们的子项也会相应地进行缩放。如果将此标志设置为 false,则在调整容器的大小后,会对其子项进行反向缩放。

注意:如果容器是直接缩放的(通过 scaleX 或 scaleY),则内容也会相应地缩放。此操作仅会影响通过调整大小对容器进行的缩放。

默认值为 false。



实现
    public function get scaleContentWhenResized():Boolean
    public function set scaleContentWhenResized(value:Boolean):void
构造函数详细信息

ContainerMovieClip

()构造函数
public function ContainerMovieClip()

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

构造函数

方法详细信息

addElement

()方法
public function addElement(element:IVisualElement):IVisualElement

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

将可视元素添加到此容器中。该元素将在添加完所有其他元素之后添加,并出现于所有其他元素之上。要将可视元素添加到特定索引位置,请使用 addElementAt() 方法。

如果添加的可视元素已有一个不同的容器作为父项,则该元素将会从其他容器中删除。

参数

element:IVisualElement — 要添加为此容器的子项的可视元素。

返回
IVisualElement — 已添加的元素。

addElementAt

()方法 
public function addElementAt(element:IVisualElement, index:int):IVisualElement

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

将可视元素添加到此容器中。该元素将被添加到指定的索引位置。索引 0 代表显示列表中的第一个元素。

如果添加的可视元素已有一个不同的容器作为父项,则该元素将会从其他容器中删除。

参数

element:IVisualElement — 要添加为此可视容器的子项的元素。
 
index:int — 将该元素添加到的索引位置。如果指定当前占用的索引位置,则该位置以及所有更高位置上的子对象会在子级列表中上移一个位置。

返回
IVisualElement — 已添加的元素。

getElementAt

()方法 
public function getElementAt(index:int):IVisualElement

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

如果存在视域,且传入的索引为 0,则返回该视域。否则将引发 RangeError。

参数

index:int — 要检索的元素的索引。

返回
IVisualElement — 位于指定索引位置的元素。

引发
RangeError — 如果在子列表中不存在该索引位置。

getElementIndex

()方法 
public function getElementIndex(element:IVisualElement):int

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

如果传入的元素是视域,则返回 0。否则将引发 ArgumentError。

参数

element:IVisualElement — 要标识的元素。

返回
int — 要标识的元素的索引位置。

引发
ArgumentError — 如果元素不是此对象的子项。

removeAllElements

()方法 
public function removeAllElements():void

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

从容器中删除所有可视元素。

removeElement

()方法 
public function removeElement(element:IVisualElement):IVisualElement

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

从此容器的子列表中删除指定的可视元素。在该可视容器中,位于该元素之上的所有元素的索引位置都减少 1。

参数

element:IVisualElement — 要从容器中删除的元素。

返回
IVisualElement — 已删除的元素。

removeElementAt

()方法 
public function removeElementAt(index:int):IVisualElement

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

从容器中的指定索引位置删除可视元素。在该可视容器中,位于该元素之上的所有元素的索引位置都减少 1。

参数

index:int — 要删除的元素的索引。

返回
IVisualElement — 已删除的元素。

setElementIndex

()方法 
public function setElementIndex(element:IVisualElement, index:int):void

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

在可视容器中更改现有可视元素的位置。

在调用 setElementIndex() 方法并指定一个已经占用的索引位置时,只有元素的先前位置和新位置之间的位置发生更改。其他位置保持不变。

如果将某个可视元素移动到低于其当前索引位置的某个索引位置,则在这两个索引之间的所有元素的索引都增加 1。如果将某个元素移动到高于其当前索引位置的某个索引位置,则在这两个索引之间的所有元素的索引都减少 1。

参数

element:IVisualElement — 要为其更改索引编号的元素。
 
index:int — 元素的最终索引编号。

swapElements

()方法 
public function swapElements(element1:IVisualElement, element2:IVisualElement):void

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

交换两个指定可视元素的索引。所有其他元素仍位于相同的索引位置。

参数

element1:IVisualElement — 第一个可视元素。
 
element2:IVisualElement — 第二个可视元素。

swapElementsAt

()方法 
public function swapElementsAt(index1:int, index2:int):void

语言版本: ActionScript 3.0
产品版本: Flex 4
运行时版本: Flash Player 10, AIR 1.5

交换容器中位于两个指定索引位置的可视元素。所有其他可视元素仍位于相同的索引位置。

参数

index1:int — 第一个元素的索引。
 
index2:int — 第二个元素的索引。





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。