MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 56

Extending flash
Table of Contents

Advertisement

Description
Adds the specified component to the document at the specified position.
Examples
The following examples illustrate some ways to use this method:
fl.componentsPanel.addItemToDocument({x:0, y:0}, "User Interface",
"CheckBox");
fl.componentsPanel.addItemToDocument({x:0, y:100}, "Data",
"WebServiceConnector");
fl.componentsPanel.addItemToDocument({x:0, y:200}, "User Interface",
"Button");
componentsPanel.reload()
Availability
Flash 8.
Usage
componentsPanel.reload()
Parameters
None.
Returns
A Boolean value of
true
Description
Method; refreshes the Components panel's list of components.
Example
The following example refreshes the Components panel:
fl.componentsPanel.reload();
56
Objects
if the Component panel list is refreshed,
otherwise.
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents