they are called "requirement" and "budget"...
heres the code which is on the same frame:
requirementData = 0;
budgetData = 0;
function change(evt){
if(evt == "requirement"){
requirementData = evt.target.selectedItem.data;
}
if(evt == "budget"){
budgetData = evt.target.selectedItem.data;
}
trace(requirementData);
trace(budgetData);
}
requirement.addEventListener("change", this);
budget.addEventListener("change", this);
the problem is simple, the variables do not change like they should.
this thing works perfectly with just one comboBox, its just when i introduced the if statements it didnt like it...
