Metadata Tags - Adobe FLEX 2 - CREATING AND EXTENDING COMPONENTS Manual

Creating and extending flex 2 components
Hide thumbs Also See for FLEX 2 - CREATING AND EXTENDING COMPONENTS:
Table of Contents

Advertisement

Metadata tags

The following table describes the metadata tags that you can use in ActionScript class files:
Tag
[ArrayElementType]
[Bindable]
[DefaultProperty]
[Effect]
[Embed]
[Event]
[IconFile]
[Inspectable]
[InstanceType]
[NonCommittingChangeEvent]
[Style]
Description
Defines the allowed data type of each element of an Array. For
more information, see
on page
50.
Identifies a property that you can use as the source of a data
binding expression. For more information, see
metadata tag" on page
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" on page
Defines the MXML property name for the effect. For more
information, see
"Effect metadata tag" on page
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 Chapter 30, "Embedding Assets," in Flex 2
Developer's Guide.
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" on page
Identifies the filename for the icon that represents the
component in the Insert bar of Adobe® Flex™ Builder™. For
more information, see
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" on page
Specifies the allowed data type of a property of type
IDeferredInstance. For more information, see
metadata tag" on page
Identifies an event as an interim trigger. For more information,
see
"NonCommittingChangeEvent metadata tag" on page
Defines the MXML property for a style property for the
component. For more information on using the
metadata tag, see
"Style metadata tag" on page
"ArrayElementType metadata tag"
51.
56.
"IconFile metadata tag" on page
58.
60.
"Bindable
55.
55.
57.
"InstanceType
60.
[Style]
61.
Metadata tags
49

Advertisement

Table of Contents
loading

Table of Contents