if else statement does not work...worked in AS2??
Hi there,
have a very common function i use in educational quizes that self rate the user depending on their score (resulting from answering multiple choice questions). So I have set up a variable called score no trouble...but when i implement my trust "if else" heuristic from AS2...i get all these errors and my flash file does not work.
Is there a better way to code this that I am not aware of ???
stop();
if (score <= 5){
endMsg.gotoAndStop("score1");
} else if (score > 6 and score <= 11){
endMsg.gotoAndStop("score2");
} else {
endMsg.gotoAndStop("score3");
}
feedback movie clip called "endMsg" - depending on function, navigates user to label that provides feedback.
Any help would be awesome...coz this function used to work!!!!! It doesn't even work in Flash CS4 when i retrograde the actionScript panel to version 2 for testing!!!
