MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 211

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

Advertisement

Usage
myComboBox.text
Description
Property; the text of the text box. You can get and set this value for editable combo boxes. For
static combo boxes, the value is read-only.
Example
The following example sets the current
myComboBox.text = "California";
ComboBox.textField
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
myComboBox.textField
Description
Property (read-only); a reference to the TextInput component contained by the ComboBox
component.
This property lets you access the underlying TextInput component so that you can manipulate it.
For example, you might want to change the selection of the text box or restrict the characters that
can be entered in it.
Example
The following code restricts the text box of
myComboBox.textField.restrict = "0-9";
ComboBox.value
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
myComboBox.value
value of an editable combo box:
text
so that it only accept numbers:
myComboBox
ComboBox component
211

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?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents