beautypg.com

Componentspanel.reload() – Adobe Extending Flash Professional CS5 User Manual

Page 72

background image

50

EXTENDING FLASH PROFESSIONAL

componentsPanel object

Last updated 5/2/2011

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();

This manual is related to the following products: