Flash 8.
xmlui.setVisible(controlID, visible)
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.
Nothing.
Method; shows or hides a control.
The following example hides the control with the ID attribute myControl:
fl.xmlui.setVisible("myControl", false);