Thanks. A different solution occurred to me right after posting: if delay is not so short (say > 5s) I explicitly call timeout() after starting the timer.
-- Pier Alex Harui wrote: > > 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 > > -- View this message in context: http://old.nabble.com/Make-a-Timer%27s-first-timeout-event-immediate-tp27977025p27983596.html Sent from the FlexCoders mailing list archive at Nabble.com.

