# comboBox HELP!

**URL:** <https://forum.kirupa.com/t/combobox-help/57407>\
**Category:** flash\
**Created:** [July 13, 2004, 12:34am UTC](https://forum.kirupa.com/t/combobox-help/57407 "2004-07-13T00:34:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beurtass](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@beurtass](https://forum.kirupa.com/u/beurtass)\
**Post date:** [July 13, 2004, 12:34am UTC](https://forum.kirupa.com/t/combobox-help/57407/1 "2004-07-13T00:34:50Z")

</div>

Hey people!

I am working with the built in comboBox component in Flash MX. I would like the comboBox to list all 50 states in the US and then load and display the users selection in a text box from within the main movie. Once this selection has been made, I want a function that tells the comboBox to move to the next frame or to gotoAndPlay a selected timeline within the main movie. In the comboBox paramaters diolog i have filled out the Lable area with all of the 50 states and the Data area with all of the 50 states abreviations.

Here is what I have been using to make the comboBox play the selected timeline.

```auto

 
function fun() {
	 _root.nextFrame();
	_root.stateFC(1);
}

```

This seems to work ok but i still can’t figure out how to load the selection into a text area. I’m sure its all wrong so any help would be greatly appreciated!

Thanks in advance!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2004, 1:11am UTC](https://forum.kirupa.com/t/combobox-help/57407/2 "2004-07-13T01:11:04Z")

</div>

I have found this bit of code but can’t figure out where to put it

```auto
 [size=1]myTxtBox.text = "Text";[/size] 

```
