componentsPanel object
Availability
Flash MX 2004.
Description
The componentsPanel object, which represents the Components panel, is a property of the
flash object (fl) and can be accessed by
Method summary for the componentsPanel object
You can use the following methods with the componentsPanel object:
Method
componentsPanel.addItemToDocument()
componentsPanel.reload()
componentsPanel.addItemToDocument()
Availability
Flash MX 2004.
Usage
componentsPanel.addItemToDocument( position, categoryName, componentName )
Parameters
A point (for example, {
position
component. Specify
position
component's registration point.
A string that specifies the name of the component category (for example,
categoryName
). The valid category names are listed in the Components panel.
"Data"
A string that specifies the name of the component in the specified category
componentName
(for example, "
WebServiceConnector
Components panel.
Returns
Nothing.
CHAPTER 7
fl.componentsPanel.
Description
Adds the specified component to the document
at the specified position.
Refreshes the Components panel's list of
components.
:0,
}) that specifies the location at which to add the
x
y:100
relative to the center point of the component—not the
"). The valid component names are listed in the
(See
flash object
(fl).)
componentsPanel object
Objects
55
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers