Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1521 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

what is wong with this counter for actiosncript?

Thread title: what is wong with this counter for actiosncript?
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
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."

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed