Not sure, but it's in the new ActionScript 2.0 Language Reference for Flash
Player 8.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Beynart
Sent: Sunday, October 30, 2005 2:59 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] setInterval() and the trouble

Why is something so useful undocumented? I have to bend over backwards
to create single-fire timers.
Thanks for the post. 


-----Original Message-----
Its undocumented, but it works in a fire once kind of situation & like
javascript:

foo = setTimeout( func, ms)
clearTimeout(foo)

but only if you need to stop the interval. Otherwise, just fire it and
forget it.

e.d.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to