View Single Post
04-29-2005, 01:28 AM
#1
1901gt is offline 1901gt
Status: Senior Member
Join date: Mar 2005
Location: Singapore
Expertise: Web Design, XHTML/CSS
Software: Photoshop, Illustrator
 
Posts: 861
iTrader: 8 / 100%
 

1901gt is an unknown quantity at this point

  Old  what is wong with this counter for actiosncript?


on (release) {
clickcounter = 0;
if (valueNum == 20) {
nextFrame();
}
else if (clickcounter eq 0) {
nextFrame();
nextFrame();
nextFrame();
}
else {
nextFrame();
nextFrame();
nextFrame();
nextFrame();
clickcounter += 1;
}
}
Each time i test scene and type any other value other than 20, it only play the else if one but never the else one. I want user to be given 2 tries to try guess and the answer. After 2 tries, a popup will be shown saying "Incorrect, the correct answer is 20."