Metadata tags
The following table describes the metadata tags that you can use in ActionScript class files:
Tag
Bindable
ChangeEvent
Effect
Embed
Event
IconFile
Inspectable
InspectableList
NonCommittingChangeEvent Identifies an event as an interim trigger. For more information, see
Style
The following sections describe the component metadata tags in more detail.
Bindable
Data binding connects components to each other. You achieve visual data binding through the
Bindings tab in the Component inspector. From there, you add, view, and remove bindings for a
component.
Although data binding works with any component, its main purpose is to connect user-interface
components to external data sources, such as web services and XML documents. These data
sources are available as components with properties, which you can bind to other component
properties. The Component inspector is the main tool used in Flash MX Professional 2004 to do
data binding.
60
Chapter 3: Creating Advanced Components in Flash MX 2004
Description
Reveals a property in the Bindings tab of the Component inspector.
For more information, see
Identifies events that cause data binding to occur. For more
information, see
"ChangeEvent" on page
Defines the valid property name for the tag's effect. For more
information, see
"Effect" 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 Developing Flex Applications.
Describes the events that the component emits. For more
information, see
"Event" on page
Identifies the filename for the icon that represents the component in
the Flash Components panel. For more information, see
icon" on page
71.
Defines an attribute exposed to component users in the Component
inspector. Also limits allowable values of the property. For more
information, see
"Inspectable" on page
Identifies which subset of inspectable parameters should be listed in
the Flash MX 2004 Property inspector. If you don't add an
InspectableList property to your component's class, all inspectable
parameters appear in the Property inspector. For more information,
see
"InspectableList" on page
"NonCommittingChangeEvent" on page
Describes a style property allowed on the component. For more
information on using the
on page
66.
"Bindable" on page
60.
61.
62.
62.
63.
64.
65.
metadata keyword, see
Style
"Adding an
"Style"
Need help?
Do you have a question about the FLEX - DEVELOPING COMPONENTS AND THEMES and is the answer not in the manual?