You could do this using the Timer class in the flash.utils package. I'd
create a Timer that fires once a minute, determines the clock time, and
checks to see if there are any alarms to display.

 

The Flash Player doesn't have multiple threads.

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark McCray
Sent: Monday, December 18, 2006 12:46 PM
To: [email protected]
Subject: [flexcoders] scheduled functions

 

Hey there,
Could anyone point me in the right direction with the following task:

Is it possible to create events that happen at specific times while 
the app is running? Something like cron but for a client side flex app?
Can make some function that runs in its own thread or runs in the 
background while that might be able to fire events based on system 
clock time?

As an example,
let's say that you are in a calendar app, and you want it to pop up 
an alarm at 4:15pm to alert you of a meeting? Can this be done 
without using a server side/FDS messaging push?

Thanks,
mark

 

Reply via email to