flash/actionscript2 - can't combobox "change" eventuality fire
i'm perplexing combobox member flash. i can't change eventuality fire. formula graceful many loyal of adobe site (link below). box gets populated nonetheless changing value produces snippet output. am i doing wrong?
mycombo.additem("hi1", "hi5");
mycombo.additem("h2", "hi6");
mycombo.additem("hi3", "hi7");
mycombo.additem("h4", "hi8");
var form = new object();
form.change = function(eventobj){
trace("value altered " + eventobj.target.value);
}
mycombo.addeventlistener("change", form);
Comments
Post a Comment