Combobox.dropdownwidth; Combobox.editable - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

ComboBox.dropdownWidth

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.dropdownWidth
Description
Property; the width limit of the drop-down list, in pixels. The default value is the width of the
ComboBox component (the TextInput instance plus the SimpleButton instance).
Example
With a ComboBox component instance
on the Stage, the following ActionScript sets
my_cb
the drop-down list width to accommodate the labels:
// Set the dropdown width to accommodate the label sizes.
my_cb.dropdownWidth = 200;
// Add Items to List.
my_cb.addItem("ComboBox");
my_cb.addItem({data:2, label:"This is a long label"});
my_cb.addItem({data:3, label:"This has an even longer label"});
See also
ComboBox.dropdown

ComboBox.editable

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.editable
ComboBox.editable
179

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents