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:

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

See also

xmlui.getVisible()


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004597.html