# Flash ui components (combo box)

**URL:** <https://forum.kirupa.com/t/flash-ui-components-combo-box/5742>\
**Category:** Uncategorized\
**Created:** [September 20, 2002, 6:58pm UTC](https://forum.kirupa.com/t/flash-ui-components-combo-box/5742 "2002-09-20T18:58:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)\
**Post date:** [September 20, 2002, 6:58pm UTC](https://forum.kirupa.com/t/flash-ui-components-combo-box/5742/1 "2002-09-20T18:58:20Z")

</div>

i have a combo box with 23 items or so in it. i have the names displaying and i have the change handler set to “selected”

i need to figure out the click handler and associated actionscript to put with it to make the movie go where i want it to when an item is selected

eg.

```auto

on(press){
map.gotoAndStop(3);
}

```

but i don’t know where to put that code or if thats all i need to put. each item in the list will obviously have a different place to go.

thanks in advance for your help

---

<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:** [September 20, 2002, 8:35pm UTC](https://forum.kirupa.com/t/flash-ui-components-combo-box/5742/2 "2002-09-20T20:35:50Z")

</div>

if you chose selected as your function name. That is okay, but I will use OnChange as the change handler just to avoid confusing others. You can do this…

onChange=function(fcombobox){  
getUrl(mycombo.getselecteditem().data);

}

the .data corresponds to the data items in your combo box, you can make each one of those point to a different page.

Hope that helps.

---

<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:** [September 20, 2002, 8:49pm UTC](https://forum.kirupa.com/t/flash-ui-components-combo-box/5742/3 "2002-09-20T20:49:37Z")

</div>

it does help tremendously but i don’t understand how i put data in the data field of the combo box’s component variables that tells it to play a certain frame of a certain symbol / instance.

is there a more thorough listing of how to use a combobox that you know of b/c i don’t want to take up all your time with my questions since i really still don’t understand

thanks
