MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 527

Extending flash
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; sets the label and value of the currently selected line in the ListBox or ComboBox
control specified by
controlPropertyName
Example
The following example sets the label and value for the current item of the control property
named
"PhoneNumber"
var elem = new Object();
elem.label = "Fax";
elem.value = "707-555-5555";
fl.xmlui.setControlItemElement("PhoneNumber",elem);
See also
,
fl.xmlui
document.xmlPanel()
xmlui.setControlItemElements()
xmlui.setControlItemElements()
Availability
Flash 8.
Usage
xmlui.setControlItemElements( controlID, elementItemArray )
Parameters
A string that specifies the ID attribute of the control you want to set.
controlID
elementItemArray
named
and an optional string property named
label
exist, then it is created and assigned the same value as
Returns
Nothing.
Description
Method; clears the values of the ListBox or ComboBox control specified by
replaces the list or menu items with the
:
,
xmlui.getControlItemElement()
An array of JavaScript objects, where each object has a string property
label
.
. If the
value
.
label
,
pairs specified by
value
,
,
xmlui.set()
property does not
value
and
controlID
elementItemArray
XMLUI object
.
527

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents