beautypg.com

Adobe Extending Flash Professional CS5 User Manual

Page 549

background image

527

EXTENDING FLASH PROFESSIONAL

XMLUI object

Last updated 5/2/2011

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

This manual is related to the following products: