beautypg.com

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

Page 546

background image

524

EXTENDING FLASH PROFESSIONAL

XMLUI object

Last updated 5/2/2011

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.

This manual is related to the following products: