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;
}