Set the timeout to be much shorter, then on the first event, change the delay 
to 10s


On 3/21/10 3:20 PM, "p_repetti" <[email protected]> wrote:







Hello

how do I set a Timer to time out immediately the first time ?
I mean: I create a Timer with an interval of 10s; I set an event listener to
the timeout() function.
When I start() it, I have to wait for 10s for it to time out and execute
timeout(). How can I force the first timeout() execution immediately ?

Thanks

--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to