Ho fatto una ricerca, ma non capisco come settare sti cb !
per ora ho messo sullo stage 2 cb.
e sul primo frame ho associato l'AS postato...per 1 solo cb funziona, ma con più mi prende solo l'ultima funzione (cioè cambia il thkves prendendo i valori sia dal 1° che dal secondo).
? DOVE devo intervenire nel codice per settare i valori "dn" e "thkves" separatamente, oltretutto devo aggiungere altri 5 cb !...thks
--------------------------------------
CODE:
function change(evt) {
dn = evt.target.selectedItem.data;
trace("Diametro Nozzle = "+dn+" mm.");
nozsize = "Il diametro usato per il foro è di "+dn+" mm";
}
cbnoz.addEventListener("change", this);
//
function change(evt) {
thkves = evt.target.selectedItem.data;
trace("thkves = "+thkves+" mm.");
}
cbthkves.addEventListener("change", this);
Mi chiarite i cb ?
grazie