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

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members