MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 938

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

The following table describes the attributes of the Inspectable tag:
Attribute
defaultValue
enumeration
listOffset
name
type
variable
verbose
None of these attributes are required. You can simply have Inspectable as the metadata tag.
All properties of the superclass that are marked Inspectable are automatically inspectable in the
current class. Use the InspectableList tag if you want to hide some of these properties for the
current class.
About the InspectableList tag
Use the InspectableList tag to specify which subset of inspectable properties should appear in the
Property inspector. Use InspectableList in combination with Inspectable so that you can hide
inherited attributes for components that are subclasses. If you do not add an InspectableList tag to
your component's class, all inspectable parameters, including those of the component's parent
classes, appear in the Property inspector.
The InspectableList syntax is as follows:
[InspectableList("attribute1"[,...])]
// class definition
938
Chapter 7: Creating Components
Type
Description
String or
(Optional) A default value for the inspectable property.
Number
String
(Optional) Specifies a comma-delimited list of legal values for
the property.
Number
(Optional) Added for backward compatibility with Flash MX
components. Used as the default index into a List value.
String
(Optional) A display name for the property. For example, Font
Width. If not specified, use the property's name, such as
_fontWidth
String
(Optional) A type specifier. If omitted, use the property's type. The
following values are acceptable:
• Array
• Boolean
• Color
• Font Name
• List
• Number
• Object
• String
String
(Optional) Added for backward compatibility with Flash MX
components. Specifies the variable that this parameter is bound
to.
Number
(Optional) An inspectable property that has the verbose attribute
set to 1 does not appear in the Property inspector but does appear
in the Component inspector. This is typically used for properties
that are not modified frequently.
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents