Hello…
Okay here I just having problem with passing the parameter to the switch () case…
Okay I pass the parameter from my combobox…
okay here my code so far …really need help with this…what’s wrong with my code…
function fontType(j){
//okay her when I trace j is show correct..but when it pass to the switch case its getting weird...it still detect "deafult"
//trace(j);
switch (j) {
case 1:
trace ("case 1 tested true");
break;
case 2:
trace ("case 2 tested true");
break;
case 3:
trace ("case 3 tested true");
break;
default:
trace ("no case tested true")
}
}
any help would be appreaciate…tq