Hello,
i wanna make it where when u click on an item on the combobox component it shows the value on the textbox.
here is wut i have:
var gameClickListenerObject:Object = new Object();
gameClickListenerObject.change = function(eventObject) {
var game:Object = eventObject.target.value;
msgBox.text = game.Name.value + " ";
};
gameListBox.addEventListener(“change”, gameClickListenerObject);
and i add values to the combobox like this:
gameListBox.addItem(fullName,[gameName]);
but when i click the textbox shows undefined.
Thanks.