56
Objects
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
if the Component panel list is refreshed,
false
otherwise.
Description
Method; refreshes the Components panel’s list of components.
Example
The following example refreshes the Components panel:
fl.componentsPanel.reload();
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...