Adobe Extending Flash Professional CS4 User Manual

Page 543

Advertising
background image

521

EXTENDING FLASH CS4 PROFESSIONAL

XMLUI object

Parameters

controlID

A string that specifies the ID attribute of the control you want to show or hide.

visible

A Boolean value of

true

if you want to show the control;

false

if you want to hide it.

Returns
Nothing.

Description
Method; shows or hides a control.

Example
The following example hides the control with the ID attribute

myControl

:

fl.xmlui.setVisible("myControl", false);

See also

xmlui.getVisible()

Advertising