# Combobox populating Input Text box on another frame

**URL:** <https://forum.kirupa.com/t/combobox-populating-input-text-box-on-another-frame/284776>\
**Category:** flash\
**Created:** [March 23, 2009, 4:08pm UTC](https://forum.kirupa.com/t/combobox-populating-input-text-box-on-another-frame/284776 "2009-03-23T16:08:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JY85](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@JY85](https://forum.kirupa.com/u/JY85)\
**Post date:** [March 23, 2009, 4:08pm UTC](https://forum.kirupa.com/t/combobox-populating-input-text-box-on-another-frame/284776/1 "2009-03-23T16:08:48Z")

</div>

First project using flash CS3 (AS3) and im having some problems with a combobox function im trying to apply. I have a combobox that i hope when selected populates an input text box on another frame. When i test when the input text box is on the same frame the code below works and the selection is shown, but i want to show the input text field on another frame and this doesnt work.

I know there is probably something simple missing but i have been searching and cannot find anything.

myCombobox.addEventListener(Event.CHANGE, myHandler);

function myHandler(evt:Event):void{  
selectedLabel.text = myCombobox.selectedItem.label;  
selectedData.text = myCombobox.selectedItem.data;  
selectedIndex.text = myCombobox.selectedItem.index;

}
