beautypg.com

Xmlui.set(), Xmlui.setcontrolitemelement() – Adobe Extending Flash Professional CS4 User Manual

Page 540

background image

518

EXTENDING FLASH CS4 PROFESSIONAL

XMLUI object

var isVisible = fl.xmlui.getVisible("myListBox");

fl.trace(isVisible);

See also

xmlui.setVisible()

xmlui.set()

Availability
Flash MX 2004.

Usage

xmlui.set(controlPropertyName, value)

Parameters

controlPropertyName

A string that specifies the name of XMLUI property to modify.

value

A string that specifies the value to which you want to set the XMLUI property.

Returns
Nothing.

Description
Method; modifies the value of the specified property of the current XMLUI dialog box.

Example
The following example sets the value of a property named URL to

www.adobe.com

:

fl.xmlui.set("URL", "www.adobe.com");

See also

fl.xmlui

,

document.xmlPanel()

,

xmlui.get()

,

xmlui.setControlItemElement()

,

xmlui.setControlItemElements()

xmlui.setControlItemElement()

Availability
Flash 8.

Usage

xmlui.setControlItemElement(controlPropertyName, elementItem)

Parameters

controlPropertyName

A string that specifies the control item element to set.