hi .
i have a textField on the stage as well as a comboBox .
i have populated the the comboBox and i have the text file working ( working with load vars () ) now i am trying to get the event handler ( onchange to load in the external textFile that i have . i cannot figure it out and my head is spinning .
// Add event listener and event handler function.
var cbListener:Object = new Object();
cbListener.change = function(evt_obj:Object):Void {
var currentlySelected:Object = evt_obj.target.selectedItem;
//trace(evt_obj.target);
trace("data: "+currentlySelected.data);
//trace("label: "+currentlySelected.label);
userss_txt.htmlText=selectedItem.data
};
my_cb.addEventListener("change", cbListener);
this isnt working . cheers for the help
:ch: