Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| clickHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| dataProvider: Array (write)
|
| Sets the array of items used to populate the combo box.
|
|
public
| dataProvider: Array (read)
|
| Retrieves the array of items used to populate the combo box.
|
|
public
| highlightColor: Number (write)
|
| Sets the color to use when an item in the drop down list is rolled over.
|
|
public
| highlightColor: Number (read)
|
| Gets the color used when an item in the drop down list is rolled over.
|
|
public
| numRows: Number (write)
|
| Sets the number of visible rows displayed when the combo box is open. If there are more items than this value, a scrollbar will appear to allow you to scroll through the items.
|
|
public
| numRows: Number (read)
|
| Gets the number of visible rows displayed when the combo box is open.
|
|
public
| rowHeight: Number (write)
|
| Sets the height for the individual rows in the drop down list.
|
|
public
| rowHeight: Number (read)
|
| Gets the height of the individual rows in the drop down list.
|
|
public
| scrollBarWidth: Number (write)
|
| Sets the width of the scrollbar used in the drop down list (if needed)
|
|
public
| scrollBarWidth: Number (read)
|
| Gets the width of the scrollbar used in the drop down list
|
|
public
| selectedColor: Number (write)
|
| Sets the color to use when an item in the drop down list is clicked on.
|
|
public
| selectedColor: Number (read)
|
| Gets the color used when an item in the drop down list is clicked on.
|
|
public
| selectedIndex: Number (write)
|
| Sets the selected item.
|
|
public
| selectedIndex: Number (read)
|
| Retrieves the number of the currently selected item in the combo box.
|
|
public
| selectedItem: Number (read-only)
|
| A reference to the currently selected item in the combo box.
|
|
|
|
Constructor |
public
| ComboBox (
Void)
|
|
|
|
Method Summary |
public
| addItem (
item: Object
): Void |
| Adds a new item to the combo box, tacking it on to the end of the list.
|
|
public
| addItemAt (
item: Object, index: Number
): Void |
| Adds a new item to the combo box, placing it in the position specified.
|
|
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): ComboBox |
| Static method used to create an instance of a ComboBox on stage at run time.
|
|
public
| removeAll (
Void
): Void |
| Removes all existing items from the combo box.
|
|
public
| removeItemAt (
index: Number
): Void |
| Removes the item at the specified index.
|
|
|
|