MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 186

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Event
UIObject.resize
UIObject.reveal
UIObject.unload
Events inherited from the UIComponent class
The following table lists the events the ComboBox class inherits from the UIComponent class.
Event
UIComponent.focusIn
UIComponent.focusOut
UIComponent.keyDown
UIComponent.keyUp
ComboBox.addItem()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.addItem(label[, data])
comboBoxInstance.addItem({label:label[, data:data]})
comboBoxInstance.addItem(obj);
Parameters
A string that indicates the label for the new item.
label
The data for the item; it can be of any data type. This parameter is optional.
data
An object with a
obj
Returns
The index at which the item was added.
Description
Method; adds a new item to the end of the list.
Example
The following code adds an item to the
myComboBox.addItem("this is an Item");
186
Chapter 6: Components Dictionary
Description
Broadcast when an object has been resized.
Broadcast when an object's state changes from invisible to visible.
Broadcast when the subobjects are being unloaded.
Description
Broadcast when an object receives focus.
Broadcast when an object loses focus.
Broadcast when a key is pressed.
Broadcast when a key is released.
property and an optional
label
myComboBox
property.
data
instance:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents