xmlui.setVisible()

#### Availability

Flash 8.

#### Usage

xmlui.setVisible(controlID, visible)

#### 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:

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


#### See also

xmlui.getVisible() (../XMLUI_object/xmlui5.md)