-
-
Prid - Outing
Why not just check in the function itself, and then remove the interval?
Actionscript Code:
on(press) { timer1 = function() { if(something < 10){ something++; } else { clearInterval(timer1Interval); } } timer1Interval = setInterval(timer1,1000) }
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
solved
thx for the reply i was very close to that il gues
but it would never work anyway if i didnt knew i needed
clearInterval(timer1Interval) instead of clearInterval(timer1)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|