Metadata tags

The following table describes the metadata tags that you can use in ActionScript class files:

Tag

Description

[ArrayElementType]

Defines the allowed data type of each element of an Array. For more information, see ArrayElementType metadata tag.

[Bindable]

Identifies a property that you can use as the source of a data binding expression. For more information, see Bindable metadata tag.

[DefaultProperty]

Defines the name of the default property of the component when you use the component in an MXML file. For more information, see DefaultProperty metadata tag.

[Effect]

Defines the MXML property name for the effect. For more information, see Effect metadata tag.

[Embed]

Imports JPEG, GIF, PNG, SVG, and SWF files at compile time. Also imports image assets from SWC files.

This is functionally equivalent to the MXML @Embed syntax, as described in Embedding Assets in Flex 2 Developer's Guide.

[Event]

Defines the MXML property for an event and the data type of the event object that a component emits. For more information, see Event metadata tag.

[IconFile]

Identifies the filename for the icon that represents the component in the Insert bar of Adobe® Flex™ Builder™. For more information, see IconFile metadata tag.

[Inspectable]

Defines an attribute exposed to component users in the attribute hints and Tag inspector of Flex Builder. Also limits allowable values of the property. For more information, see Inspectable metadata tag.

[InstanceType]

Specifies the allowed data type of a property of type IDeferredInstance. For more information, see InstanceType metadata tag.

[NonCommittingChangeEvent]

Identifies an event as an interim trigger. For more information, see NonCommittingChangeEvent metadata tag.

[Style]

Defines the MXML property for a style property for the component. For more information on using the [Style] metadata tag, see Style metadata tag.

The following sections describe the component metadata tags in more detail.

Subtopics

ArrayElementType metadata tag
Bindable metadata tag
DefaultProperty metadata tag
Effect metadata tag
Event metadata tag
IconFile metadata tag
Inspectable metadata tag
InstanceType metadata tag
NonCommittingChangeEvent metadata tag
Style metadata tag

Flex 2.01

Take a survey


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/201/html/metadata_141_04.html