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

编译器错误 

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 示例
法律声明

x

AAAARecord    
AbandonCommand
ABRUtils
AbstractConsumer
AbstractEntityMetadata
AbstractEvent
AbstractInvoker
AbstractMessage
AbstractOperation
AbstractOperation
AbstractParticipant
AbstractProducer
AbstractSearchFilterVO
AbstractService
AbstractServiceWrapper
AbstractStage
AbstractTarget
AbstractWebService
AccConst
Accelerometer
AccelerometerEvent
Accessibility
AccessibilityImplementation
AccessibilityProperties
AccessibleButton
AccessibleText
AccessPrivileges
AccImpl
AccImpl
Accordion
AccordionAutomationImpl
AccordionHeader
AccordionHeaderAccImpl
AccordionHeaderSkin
AccordionHeaderSkin
AccordionHeaderSkin
AccordionNav
AccordionSkin
AcknowledgeMessage
ACMRelationshipManager
ActionBar
ActionBar    
ActionBarButtonSkinBase
ActionBarDefaultButtonAppearance    
ActionBarSkin    
ActionEffectInstance
ActionRenderer
ActionScriptVersion
ActionSelectedEvent
ActivationBrowser
ActivatorSkin
ActiveContentEvent
ActiveDataEvent
ActivityEvent
ActualBitrateMetric
AddAction
AddActionInstance
AddApprovalStageParticipant
AddAssetPopUp
AddChild
AddChildAction
AddChildActionInstance
AddCreatorDialog
AddItemAction
AddItemActionInstance
AddItems
AddPanelButton
AddPanelEvent
AddRemoveEffectTargetFilter
AddReviewStageParticipant
AddServiceEvent
AddStageParticipant
AddTileEvent
AddViewEvent
AddViewManagerEvent
AdjustColor
AdvanceDataElementsPanel
AdvancedChannelSet
AdvancedDataGrid
AdvancedDataGridAccImpl
AdvancedDataGridAutomationImpl
AdvancedDataGridBase
AdvancedDataGridBaseEx
AdvancedDataGridBaseExAutomationImpl
AdvancedDataGridBaseSelectionData
AdvancedDataGridColumn
AdvancedDataGridColumnGroup
AdvancedDataGridDragProxy
AdvancedDataGridEvent
AdvancedDataGridEventReason
AdvancedDataGridGroupItemRenderer
AdvancedDataGridGroupItemRendererAutomationImpl
AdvancedDataGridHeaderHorizontalSeparator
AdvancedDataGridHeaderInfo
AdvancedDataGridHeaderRenderer
AdvancedDataGridHeaderShiftEvent
AdvancedDataGridItemRenderer
AdvancedDataGridItemRendererAutomationImpl
AdvancedDataGridItemSelectEvent
AdvancedDataGridListData
AdvancedDataGridRendererDescription
AdvancedDataGridRendererProvider
AdvancedDataGridSortItemRenderer
AdvancedListBase
AdvancedListBaseAutomationImpl
AdvancedListBaseContentHolderAutomationImpl
AdvancedSearchPod
AdvancedStyleClient
AfterUpSwitchBufferBandwidthRule
AggregatingToken
AggregatingTokenError
AirDragManagerAutomationHandler
AIREvent    
AirFunctionsHelper
Alert
AlertAccImpl
AlertAutomationImpl
AlertFormatter
AlertFormAutomationImpl
AlignmentArea
AllRuntimeSparkControls
AlternativeAudioEvent
AlternativeAudioTrait
AMFChannel
AndOperator
Animate
AnimateColor
AnimateColorInstance
AnimateFilter
AnimateFilterInstance
AnimateInstance
AnimateProperty
AnimatePropertyInstance
AnimateTransform
AnimateTransform3D
AnimateTransformInstance
AnimateTransitionShader
AnimateTransitionShaderInstance
Animation
Animator
Animator3D
AnimatorBase
AnimatorFactory
AnimatorFactory3D
AnimatorFactoryBase
AnimatorFactoryUniversal
AnimatorUniversal
AnnotationParseEvent
AntiAliasType
Application
Application
Application
ApplicationAutomationImpl
ApplicationBackground
ApplicationConstants
ApplicationControlBar
ApplicationDomain
ApplicationDomainTarget
ApplicationListItem
ApplicationSkin
ApplicationSkin
ApplicationSpecifier
ApplicationTitleBarBackgroundSkin    
ApplicationUpdater    
ApplicationUpdaterUI    
ApplyElementIDOperation
ApplyElementStyleNameOperation
ApplyElementTypeNameOperation
ApplyElementUserStyleOperation
ApplyFormatOperation
ApplyFormatToElementOperation
ApplyLinkOperation
ApplyTCYOperation
ApprovalStage
ApprovalStage
Approver
Approver
ApproverCollection
ApproverStatus
ApproverStatus
ApproverVO
AreaChart
AreaRenderer
AreaSeries
AreaSeriesAutomationImpl
AreaSeriesItem
AreaSeriesRenderData
AreaSet
ARecord    
ArgumentError
arguments
Array
ArrayCollection
ArrayList
ArrayUtil
ArrowDirection    
Asset
AssetAction
AssetAction
AssetActionCompleteEvent
AssetActionCompleteEvent
AssetActionEvent
AssetActionEvent
AssetActionsChangeEvent
AssetDetailsPod
AssetEvent
AssetExplorerServiceDelegate
AssetFocusEvent
AssetHandlerRegistry
AssetHandlerRegistry
AssetManager
AssetManager
AssetManagerView
AssetModel
AssetPod
AssetPropertiesEditor
AssetPropertyDescriptor
AssetPropertyDescriptor
AssetQueryServiceDelegate
AssetReviewPod
AssetTypeDescriptor
AssetTypeDescriptor
AssetValidationEvent
AssetValidationFaultType
AssetVersionPod
AssetVO
Assignment
AssignmentConstants
AsyncErrorEvent
AsyncListView
AsyncMessage
AsyncRequest
AsyncResponder
AsyncToken
AsyncTokenResponder
AsyncTokenWrapper
Attachment
AttachmentCommand
AttachmentEvent
AttachmentHeader
AttachmentHeaderBase
AttachmentHeaderModel
AttachmentIconRenderer
AttachmentIconRendererSkin
AttachmentInfo
AttachmentList
AttachmentList
AttachmentListComponent
AttachmentListModel
AttachmentListSkin
AttachmentLoader
AttachmentPermissions
Attachments
AttachmentsModel
Attribute
AudioDecoder
AudioDeviceManager
AudioElement
AudioEvent
AudioOutputChangeEvent
AudioOutputChangeReason
AudioPlaybackMode    
AudioTrait
AuditActionVO
AuditAttributeVO
AuditLevel
AuditLevel
AuditLevelVO
AuditManager
AuditMetaInfoVO
AuditModuleVO
Auditor
AugmentedError
AugmentedErrorEvent
AuthenticatingApplication
AuthenticationEvent
AuthenticationMethod
AuthFailureCode
AuthOptions
Author
AuthorStatus
AuthorVO
AuthResult
AuthStatus
AutoCapitalize    
AutoLayoutEvent
Automation
AutomationAirEvent
AutomationClass
AutomationDragEvent
AutomationDragEventWithPositionInfo
AutomationError
AutomationEvent
AutomationEventDescriptor
AutomationFlexNativeMenuEvent
AutomationHelper
AutomationID
AutomationIDPart
AutomationManager
AutomationMethodDescriptor
AutomationPropertyDescriptor
AutomationRecordEvent
AutomationReplayEvent
AvailablePropertyIterator
AvailableQualityLevelsMetric
AVDictionaryDataEvent
AverageAggregator
AVHTTPStatusEvent
AVLoader
AVM1Movie
AVNetworkingParams
AVPauseAtPeriodEndEvent
AVTagData
AVURLLoader
AVURLStream
AxisBase
AxisLabel
AxisLabelSet
AxisRenderer
AxisRendererAutomationImpl
AXMAccordion
AXMAccordionItemVO
AXMAccordionSegment
AXMBreadCrumb
AXMButton
AXMButtonBar
AXMButtonBarButton
AXMCheckBox
AXMComboBox
AXMDropDownList
AXMDropDownListBase
AXMEnterpriseAccordionSegmentSkin
AXMEnterpriseAccordionSkin
AXMEnterpriseAssetTabBar
AXMEnterpriseAssetTabBarButtonSkin
AXMEnterpriseAssetTabBarSkin
AXMEnterpriseAssetViewTabBar
AXMEnterpriseAssetViewTabBarButtonSkin
AXMEnterpriseAssetViewTabBarSkin
AXMEnterpriseBreadCrumbButtonSkin
AXMEnterpriseBreadCrumbFocusSkin
AXMEnterpriseBreadCrumbSkin
AXMEnterpriseButtonBarFirstButtonSkin
AXMEnterpriseButtonBarLastButtonSkin
AXMEnterpriseButtonBarMiddleButtonSkin
AXMEnterpriseButtonBarSkin
AXMEnterpriseButtonSkin
AXMEnterpriseCheckboxSkin
AXMEnterpriseCheckboxSmallSkin
AXMEnterpriseClosableTabBarButtonSkin
AXMEnterpriseClosableTabBarSkin
AXMEnterpriseCloseButtonSkin
AXMEnterpriseComboBoxButtonSkin
AXMEnterpriseComboBoxSkin
AXMEnterpriseComboBoxTextInputSkin
AXMEnterpriseDropDownListButtonSkin
AXMEnterpriseDropDownListItemRenderer
AXMEnterpriseDropDownListSkin
AXMEnterpriseFocusSkin
AXMEnterpriseFooterSkin
AXMEnterpriseGridHeaderRenderer
AXMEnterpriseGridSkin
AXMEnterpriseHeaderBarSkin
AXMEnterpriseHeaderButtonBar
AXMEnterpriseHScrollBarLargeSkin
AXMEnterpriseHScrollbarNoControlsSkin
AXMEnterpriseHScrollbarSkin
AXMEnterpriseHScrollbarThumbSkin
AXMEnterpriseHScrollbarTrackNoControlsSkin
AXMEnterpriseHScrollbarTrackSkin
AXMEnterpriseIconButtonSkin
AXMEnterpriseLargeButtonSkin
AXMEnterpriseLargeToggleButtonSkin
AXMEnterpriseNavigationButtonBarSkin
AXMEnterpriseNumericStepperDecrementButtonSkin
AXMEnterpriseNumericStepperIncrementButtonSkin
AXMEnterpriseNumericStepperSkin
AXMEnterpriseNumericStepperTextInputSkin
AXMEnterprisePanelSkin
AXMEnterpriseProgressSpinnerSkin
AXMEnterpriseQuietButtonSkin
AXMEnterpriseQuietHeaderBarButton
AXMEnterpriseQuietLargeButtonSkin
AXMEnterpriseQuietLargeDropDownListButtonSkin
AXMEnterpriseRadioButtonSkin
AXMEnterpriseResizeHandleSkin
AXMEnterpriseScrollDownArrowSkin
AXMEnterpriseScrollLeftArrowSkin
AXMEnterpriseScrollRightArrowSkin
AXMEnterpriseScrollUpArrowSkin
AXMEnterpriseSlideToggleButton
AXMEnterpriseSplitActionButtonSkin
AXMEnterpriseSplitActionPopUpButtonSkin
AXMEnterpriseSplitActionSkin
AXMEnterpriseTabBarButtonSkin
AXMEnterpriseTabBarSkin
AXMEnterpriseTextAreaSkin
AXMEnterpriseTextInputSkin
AXMEnterpriseTitleWindowSkin
AXMEnterpriseToggleButtonSkin
AXMEnterpriseToolBarBottomSkin
AXMEnterpriseToolBarButtonBarFirstButtonSkin
AXMEnterpriseToolBarButtonBarLastButtonSkin
AXMEnterpriseToolBarButtonBarMiddleButtonSkin
AXMEnterpriseToolbarButtonBarSkin
AXMEnterpriseToolBarTopSkin
AXMEnterpriseViewModeButtonBarButtonSkin
AXMEnterpriseViewModeButtonBarSkin
AXMEnterpriseVScrollbarNoControlsSkin
AXMEnterpriseVScrollbarSkin
AXMEnterpriseVScrollbarThumbSkin
AXMEnterpriseVScrollbarTrackNoControlsSkin
AXMEnterpriseVScrollbarTrackSkin
AXMHeaderBar
AXMHScrollBar
AXMLightItemRenderer
AXMList
AXMPopUp
AXMProgressBar
AXMProgressSpinner
AXMResizableContainer
AXMRichTextEditor
AXMRichTextEditorControlBar
AXMScroller
AXMSplitActionButton
AXMSwitch
AXMTabBar
AXMTabBarButton
AXMTitleWindow
AXMToggleButton
AXMToolPopUp
AXMToolPopUpDropDownController
AXMVerticalDivider
AXMVScrollBar


以下是编译器遇到无效代码时生成的编译错误的列表。只有在严格模式下编译代码时,才能检测到这些错误的子集。严格模式添加了标准语言中没有的三种约束:

  • 表达式有静态类型,且类型错误为验证错误。
  • 附加验证规则捕获常见的编程错误。
  • 提前报告验证错误。以下验证错误仅在严格模式下发生:
    • 函数调用签名匹配,将检查所提供的参数数目及其类型。
    • 重复定义冲突。
    • 访问编译时未定义的方法或属性时出现未绑定的引用。
    • 在密封对象上动态添加属性。
    • 写入常量变量。
    • 删除固定属性。
    • 使用不兼容类型的比较表达式。
    • 找不到包。


 代码消息说明
 1000对 %s 的引用不明确。 引用可能指向多项。例如,以下示例使用命名空间 rssxml,每个命名空间都为 hello() 函数定义一个不同的值。trace(hello()) 语句返回此错误,因为它无法确定使用哪个命名空间。
private namespace rss;
private namespace xml;
    
public function ErrorExamples() {
  	use namespace rss;
   	use namespace xml;
	trace(hello());
}
    
rss function hello():String {
      	return "hola";
    }
    
    xml function hello():String {
        return "foo";
    }

通过使用具体的引用来纠正不明确的引用。以下示例使用 namespace::function 形式指定要使用的命名空间:

public function ErrorExamples() {
    
    trace(rss::hello());
    trace(xml::hello());
}
 
 1003不允许将访问说明符与 namespace 属性一同使用。 不能在定义中既使用访问说明符(如 private 或 public)又使用 namespace 属性。 
 1004Namespace 找不到或不是编译时常量。 该命名空间未知,或是运行时可能具有不同值的表达式。检查命名空间的拼写及其定义的导入是否正确。 
 1006super 表达式只能在类实例方法内部使用。 
 1007super 语句只能在类实例构造函数内部使用。 不能在静态成员的内部使用 super 语句。只能在类实例的内部使用 super 语句。  
 1008属性无效。 
 1010override 属性只能用于类属性定义。 不能在函数块的内部使用 override 关键字。  
 1011virtual 属性只能用于类属性定义。 声明的属性不属于某个类时(例如在函数块的内部声明某个变量时),不能使用 virtual 属性。  
 1012static 属性只能用于类内部的定义。 
 1013private 属性只能用于类属性定义。 
 1014intrinsic 属性已不受支持。 ActionScript 3.0 不支持 intrinsic 关键字。  
 1016基类为 final。 无法扩展超类,因为它标记为 final。  
 1017找不到基类 %s 的定义。 
 1018重复的类定义: %s。 
 1020标记为 override 的方法必须覆盖另一方法。 
 1021函数定义重复。 不能在同一范围内使用同一个标识符名称声明多个函数。  
 1022无法覆盖 final 存取器。 
 1023不兼容的覆盖。 标记为 override 的函数必须与它正在覆盖的函数的参数和返回类型声明完全匹配。这两个函数的参数个数必须相同,每个参数的类型必须相同,声明的返回类型也必须相同。如果存在可选参数,这些参数也必须是匹配的。此外,这两个函数还必须使用相同的访问说明符(public、private 等)或 namespace 属性。 
 1024正在覆盖未标记为 override 的函数。 如果某个类中的方法覆盖基类中的方法,则必须使用 override 属性对其进行显式声明,如下面的示例所示:
public override function foo():void{};
 
 1025不能重新定义 final 方法。 不能扩展该方法,因为它在基类中标记为 final。  
 1026构造函数必须是实例方法。 
 1027函数不能同时标记为 static 和 override。 
 1028函数不能同时标记为 static 和 virtual。 
 1029函数不能同时标记为 final 和 virtual。 
 1030必须指定变量参数数组的名称。 ...(rest) 参数定义指定:...(rest) 之后提供的所有值都收集到任一数组中。必须指定该数组的名称,如 function foo(x,...(rest)) 表达式中所示。  
 1033不支持 virtual 变量。 
 1034变量不能是 native。 
 1035变量不能同时标记为 final 和 virtual。 
 1037包不能嵌套。 
 1038找不到 break 语句的目标。 
 1039找不到 continue 语句的目标。 
 1040标签的定义重复。 
 1041属性是不可调用的。 
 1042不能在 static 方法中使用 this 关键字。该关键字只能在实例方法、函数闭包和全局代码中使用。 不能在静态成员的内部使用 this 关键字,因为 this 可能没有上下文。  
 1043命名空间未定义。 
 1044接口方法 %s(在命名空间 %s 中)未由类 %s 实现。 
 1045找不到接口 %s。 
 1046找不到类型或类型不是编译时常量: %s。 用作类型声明的类未知,或是运行时可能具有不同值的表达式。检查导入的类是否正确以及该类的包位置是否尚未更改。此外,检查包含代码(不是导入的类)的包是否进行了正确定义(例如,确保使用正确的 ActionScript 3.0 包语法,而不是 ActionScript 2.0 包语法)。

如果被引用的类没有在使用的命名空间中定义或未定义为 public,也会出现该错误:

public class Foo{}

如果使用的是 Flex™ Builder™ 2,并且该类位于库中,请确保为项目设置类路径。

 
 1047参数初始值设定项未知或不是编译时常量。 用作该参数默认值的值未定义或在运行时可能具有不同的值。检查初始值设定项的拼写是否正确,以及初始值设定项的值是不是一个会在运行时导致产生不同值的表达式。  
 1048Method 不能用作构造函数. 不能创建类方法的实例。只有全局函数才能在 new 表达式中使用。
class D { function xx() { return 22; } }
var d:D = new D();
var x = new d.xx(); // error, method cannot be used as constructor
function yy() { this.a = 22; }
var z = new yy(); // no error, global functions can be used as constructors.
 
 1049对指定为常量的变量进行的赋值非法。 
 1050无法为非引用值赋值。 
 1051返回值必须是 undefined。 您正尝试在声明的返回类型为 void 的方法内部使用 return 语句。  
 1052常量初始值设定项未知或不是编译时常量。 用来初始化该常量的值未定义,或在运行时可能具有不同的值。检查初始值设定项的拼写是否正确,以及初始值设定项的值是不是一个会在运行时导致产生不同值的表达式。  
 1053存取器类型必须匹配。 
 1054setter 定义的返回类型必须未指定或为 void。 不能为 setter 函数指定返回值。例如,下面的语句无效:
public function set gamma(g:Number):Number;

下面的语句 有效的:

public function set gamma(g:Number):void;
 
 1058属性是只写的。 
 1059属性是只读的。 此属性通过 getter 函数定义,因此,可以检索该属性的值。但是,不存在为此属性定义的 setter 函数,因此,该属性是只读的。

在下面的示例中,第 3 行会生成错误,因为不存在为 xx 定义的 setter 函数:

class D { function get xx() { return 22; } }
var d:D = new D();
d.xx = 44; // error, property is read-only
 
 1061所调用的方法 %s(通过静态类型为 %s 的引用来调用)可能未定义。 所要调用的方法未定义。  
 1063无法打开文件: %s。 
 1064元数据无效。 无法识别此元数据。  
 1065元数据属性不能包含多个元素。 
 1067将 %s 类型的值隐式强制转换为非相关类型 %s。 正在试图将对象转换为无法转换成的类型。如果所要转换的类不在正在转换的对象继承链中,可能会出现这种情况。只有当编译器在严谨模式下运行时才会出现此错误。  
 1068无法打开包括的文件: %s。 
 1069语法错误: 需要定义或指令。 检查该行的语法。  
 1071语法错误: 定义关键字(如 function)应在属性 %s 之后,而非 %s 之后。 如果作者忘记在声明中使用“var”和“function”关键字,将会出现此错误。
public int z;// should be 'public var z:int;'
编译器遇到意外字符时,也会出现此错误。例如,由于缺少括号,trace() 函数的以下用法无效(正确的语法是 trace("hello")):
trace "hello"
 
 1072语法错误: 在 namespace 之前应该有 xml。 正确的语句语法是 default xml namespace = ns。缺少关键字 xml(注意小写),或者使用了错误的关键字。有关更多信息,请参阅 default xml namespace 指令。  
 1073语法错误: 需要 catch 或 finally 子句。 
 1075语法错误: 'each'关键字必须带有'in'运算符。 
 1076语法错误: 在标识符之前应该有左括号。 
 1077应有 CaseLabel。 在 switch 块中,编译器此时应该执行 case 语句。以下 switch 块错误地在第一个 case 语句之前包含对 print 的调用:
switch(x)
{
trace(2);
case 0:  trace(0); 
break
}
 
 1078标签必须是一个简单的标识符。 
 1079super 表达式必须有一个操作数。 
 1080应有递增或递减运算符。 
 1082括号内应有一个表达式。 
 1083语法错误: 不需要 %s。 代码行缺少某些信息。在下面的示例中,最后一个加号的后面必须带有某个表达式(如其他数字):
var sum:int = 1 + 2 + ;
 
 1084语法错误: %s 应在 %s 之前。 此处不需要该表达式。如果错误是“程序结束之前应有右括号”,则表示代码块缺少右大括号 (})。

如果错误是“_ 之前应有左括号”,则表示条件表达式中可能遗漏括号,如下面的示例(有意出错)所示:

var fact:int = 1 * 2 * 3;
if fact > 2 {
	var bigger:Boolean = true;
}
 
 1086语法错误: 在 %s 之前应该有分号。 
 1087语法错误: 在程序结尾之后发现多余的字符。 
 1093语法错误。 
 1094语法错误: 在换行之前必须结束字符串文本。 
 1095语法错误: 在换行之前必须结束字符串文本。 
 1097语法错误: 字符串文本的输入已在到达右引号之前结束。 
 1099语法错误。 
 1100语法错误: XML 的开始和结束标签不匹配。 
 1102无法删除 super 后代。 
 1103命名空间定义重复。 已多次定义该命名空间。请删除或修改重复的定义。  
 1104 %s  
 1105赋值的目标必须是引用值。 可以给变量赋值,但是不能将一个值赋给另外一个值。  
 1106递增操作数必须是引用。 操作数必须是变量、数组中的元素或对象的属性。  
 1107增量操作数无效。 操作数必须是变量、数组中的元素或对象的属性。  
 1108减量操作数无效。 操作数必须是变量、数组中的元素或对象的属性。  
 1109需要表达式。 代码的一部分缺少表达式。例如,下面的代码会生成此错误(if 语句中缺少某项条件):
var x = (5 > 2) ? 
trace(x)
 
 1110缺少 XML 标签名称。 
 1111%s 文件不是有效的 ABC 文件。 
 1112可能出现无限递归,因为此文件中包含 %s。 所要编译的源代码中包含的某文件中包含可能导致无限循环的其他 include 语句。例如,在下列文件中。a.as 和 b.as 文件会生成此错误,因为每个文件都尝试包含另外一个文件。

文件 a.as 包含以下代码,它尝试包含文件 b.as:

import foo.bar.baz;
include "b.as"
trace(2);

文件 b.as 包含以下代码,它尝试包含文件 a.as:

include "a.as"
 
 1113在 %s 中检测到循环类型引用。 类正在尝试扩展超类。例如,如果类 B 从类 A 继承而来,则 A 不能扩展 B:
class a extends b { }
class b extends a { }
 
 1114public 属性只能在包的内部使用。 
 1115internal 属性只能在包的内部使用。 
 1116用户定义的 namespace 属性只能在类定义的顶级使用。 
 1118将静态类型为 %s 的值隐式强制转换为可能不相关的类型 %s。 所要使用的值不是预期的类型,不存在将其转换为预期类型的隐式强制。

可能使用的是超级类型,但需要的是子类型。例如:

class A {}
var a:A = new A(); 
class B extends A { function f() }
var b : B = a // error

最后一个语句会生成错误,因为该语句尝试将类型 A 的对象赋给类型 B 的变量。

同样,下面定义的 foo() 函数采用了 B 类型的参数。语句 foo(a); 会生成错误,因为该语句尝试使用 A 类型的参数:

function foo(x:B) { }
foo(a);

此外,下面的语句也会出错,因为 foo2() 返回值的类型必须为 B:

function foo2():B { return new A(); }
 
 1119所访问的属性 %s(通过静态类型为 %s 的引用来访问)可能未定义。 正在尝试访问的属性对于指定对象不存在。例如,下面的代码会生成此错误,因为 int 对象不包含名为 assortment 的属性:
var i:int = 44;
var str:String = i.assortment;
只有当编译器在严谨模式下运行时才会出现此错误。  
 1120所访问的属性 %s 未定义。 正在尝试访问未定义的变量。例如,如果尚未定义变量 huh,调用该变量时会生成此错误:
huh = 55;
只有编译器在严格模式下运行时,才会出现此错误。  
 1121getter 定义不能包含参数。 
 1122setter 定义只能包含一个参数。 
 1123setter 定义不能包含可选参数。 
 1124getter 定义的返回类型不能为 void。 getter 函数模拟变量。由于变量类型不能为 void,因此不能将 getter 函数声明为返回类型 void。  
 1125接口中定义的方法不能含有过程体。 
 1126函数没有函数体。 
 1127多次指定了属性 %s。 在同一语句中多次指定了某个属性。例如,语句 public static public var x; 会生成此错误,因为它两次将变量 x 指定为 public。请删除重复的声明。  
 1129接口定义重复:%s。 请更改或删除重复的定义。  
 1130构造函数不能指定返回类型。 
 1131类不能嵌套。 
 1132final 属性只能用于类中定义的方法。 
 1133native 属性只能与函数定义一起使用。 
 1134dynamic 属性只能与类定义一起使用。 
 1135语法错误: %s 不是有效的类型。 
 1136参数个数不正确。应为 %s 个。 函数需要的参数数目与提供的参数数目不同。例如,以下代码定义的函数 goo 包含两个参数:
class A { static function goo(x:int,y:int) 
{ return(x+y); } }

下面的语句可能会生成错误,因为该语句提供了三个参数:

A.goo(1,2,3);
 
 1137参数个数不正确。不应超过 %s 个。 
 1138必选参数不得位于可选参数之后。 
 1139不允许在接口中声明变量。 
 1140在 ...rest 参数定义关键字之后指定的参数只能为 Array 数据类型。 
 1141一个类只能扩展另外一个类,而不能扩展接口。 
 1142接口只能扩展其他接口,而 %s 是类。 正在尝试使用接口扩展类。一个接口只能扩展另外一个接口。  
 1143override 属性只能用于类中定义的方法。 
 1144实现接口方法 %s(在命名空间 %s 中)时所采用的类 %s 中的签名不兼容。 方法签名必须完全匹配。  
 1145本机方法不能包含过程体。 不能使用 native,因为它是一个保留关键字。  
 1146构造函数不能是 getter 方法或 setter 方法。 
 1147没有指定 AS 源文件。 
 1149不能在静态初始化代码中使用返回语句。 
 1150protected 属性只能用于类属性定义。 
 1151与定义 %s(在命名空间 %s 中)存在冲突。 在同一作用域内,不能使用相同的标识符名称声明多个变量,除非所有这些变量都声明为相同的类型。在 ActionScript 3.0 中,不同的代码块(如用于同一函数定义中的两个 for 循环中的代码块)将被视为在同一作用域内。

下面的代码示例正确地将变量 x 转换为相同类型:

function test()
{
	var x:int = 3;
	for(var x:int = 33; x < 55; x++)
	trace(x);
	for(var x:int = 11; x < 33; x++)
	trace(x)
}

下面的代码示例会生成错误,因为变量声明和 for 循环中的类型转换是不同的:

function test()
{
	var x:String = "The answer is";
	for(var x:int = 33; x < 55; x++) // error
	trace(x);
	for(var x:unit = 11; x < 33; x++) // error
	trace(x)
}
 
 1152 与继承的定义 %s(在命名空间 %s 中)存在冲突。 
 1153构造函数只能声明为 public。 
 1154在定义中只能指定 public、private、protected 或 internal 中的一个。 
 1155存取器不能嵌套在其他函数中。 
 1156不能使用新运算符实例化接口。 
 1157接口成员不能声明为 public、private、protected 或 internal。 
 1158语法错误: 函数体之前缺少左大括号 ({)。 
 1159不能在包初始化代码中使用返回语句。 
 1160本机属性不能用于接口定义。 不能使用 native,因为它是一个保留关键字。  
 1162每个定义只能使用一个 namespace 属性。 
 1163方法 %s 与从接口 %s 继承的定义存在冲突。 
 1165接口属性 %s 无效。 
 1166不允许在接口中声明命名空间。 
 1167类 %s 多次实现接口 %s。 该类多次实现同一个接口。例如,下面的示例会生成此错误,因为类 C 两次实现接口 A:
interface A {  public function f();  };
class C implements A,A {
public function f() { trace("f"); }
}

正确的实现语句应为 class C implements A {

 
 1168对函数 %s 的赋值非法。 正在尝试重新定义函数。例如,以下内容定义 topLevel() 函数以输出单词“top”。第二个语句会生成错误,因为该语句赋给该函数不同的返回值:
function topLevel() { trace("top"); }
topLevel = function() { trace("replacement works in ~");} // error
 
 1169不允许在接口方法中使用命名空间属性。 
 1170函数没有返回值。 如果返回类型不是 void,函数中每个可能的控制流都必须返回值。以下 f(x) 函数不会生成错误,因为 if..else 语句始终返回一个值:
function f(x):int
{
if (x)
    	return 2;
else
    	return 3;
} // no error

但是,下面的函数 g(x) 会生成该错误,因为 switch 语句并非总是返回值。

function g(x:int):int
{
switch(x)
{
      	case 1: return 1;
      	case 2: return 2:
}
// return 2;//uncomment to remove the error
}

只有函数声明的返回类型不是 void 时,才启用此检查。

 
 1171命名空间初始值必须是文字字符串或其他命名空间. 
 1172找不到定义 %s。 
 1173标签定义无效。 
 1176与静态类型为 %s 的值进行比较的可能是非相关类型 %s。 在严谨模式下出现这一错误。 
 1177不能在全局初始化代码中使用返回语句。 
 1178尝试访问的属性 %s(通过静态类型为 %s 的引用来访问)不可访问。 
 1179:Object 临时停止使用。请改用 :*。 
 1180所调用的方法 %s 可能未定义。 只有当编译器在严谨模式下运行时才会出现此错误。 
 1181前向引用指向基类 %s。 
 1182包无法作为以下值使用: %s。 
 1184类型 %s(应为 %s)的默认值不兼容。 
 1185switch 有多个默认值,但只允许有一个默认值。 
 1188对类 %s 的赋值非法。 
 1189尝试删除的属性 %s 为固定属性。只能删除动态定义的属性。 Delete 将删除对象中动态定义的属性。无法删除类的已声明属性。只有当编译器在严谨模式下运行时才会出现此错误。 
 1190找不到基类,或者它不是编译时常量。 
 1191找不到接口,或者它不是编译时常量。 
 1192在 namespace 定义中不允许使用 static 属性。 
 1193接口定义不能嵌套在类或其他接口定义中。 
 1194prototype 属性无效。 
 1195尝试访问的方法 %s(通过静态类型为 %s 的引用来访问)不可访问。 要么从其他类调用 private 方法,要么调用未使用的命名空间中定义的方法。如果调用的是未使用的命名空间中定义的方法,请为必需的命名空间添加 use 语句。  
 1196语法错误: throw 之后应为表达式。 
 1197类 %s 不能扩展 %s,因为两者均与库符号或主时间轴关联。 
 1198在包的定义中不允许使用属性。 
 1199内部错误: %s。 
 1200语法错误: for-in 初始值设定项无效,应该只包含一个表达式。 
 1201this、super、return 或 throw 语句后面不能出现 super 语句。 
 1202所访问的属性 %s(在包 %s 中)未定义。 正在尝试访问包中未定义的变量。例如,如果未定义变量 p.huh,则调用该变量时会生成此错误:
p.huh = 55;
仅当编译器在严谨模式下运行时,才会出现这种错误。  
 1203在基类 %s 中找不到默认构造函数。 如果基类的构造函数带有一个或多个必选参数,则必须使用 super() 语句显式调用该构造函数。 
 1204找到的 /* 没有匹配的 */。 找到了指示注释开始位置的字符“/*”,但找不到指示注释块结束位置的对应字符“*/”。  
 1205语法错误: 应有左大括号 ({) 或字符串文字 ("")。 
 1206只能将 super 语句用作构造函数初始值设定项列表中的最后一项。 不能在构造函数的内部使用 super 语句。只能将 super 语句用作构造函数初始值设定项列表中的最后一项。  
 1207不能在属性初始值设定项中使用 this 关键字。 不能在属性初始值设定项的内部使用 this 关键字。  
 1208配置值的初始值设定项必须是一个编译时常量。 配置值的初始值设定项必须是一个编译时已知的值。此初始值设定项可以是常量字符串、数字、布尔值或对先前定义的其他配置值的引用。  
 1209只能将配置变量声明为 const。 在定义配置变量时,必须将该变量声明为 const。  
 1210必须在程序或包的顶级声明配置值。 必须在程序或包的顶级声明配置值。  
 1211命名空间 %s 与某个配置命名空间存在冲突。 命名空间不能与配置命名空间同名。  
 1212精度必须为一个介于 1 和 34 之间的整数。 
 1214版本不兼容: 引用定义 %s(在版本 %s 中引入)无法在版本 %s 的代码中进行。 
 1215初始化无效: 转换为类型 %s 时丢失数据。 


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

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