|
Sure, but you will need to build it. I’d create an associative array
consisting of and id as key/property name, and, as the value, either simple
time number, or an object if you want to store more complex data. Var oOpSpec:Object = new
Object(); oOpSpec.datetime = scheduledDateTime; oScheduledOperations[myOperationId]
= oOpSpec; Then you’d need a conditional
function to check the scheduled time against the current time. Var oOpSpecCur:Object = oScheduledOperations[myOperationId]; If
(oOpSpecCur.datetime < dateTimeNow) return true; The benefit of the associative array is
you won’t have to iterate through and compare keys to access, add or
modify a scheduled item, but you should check for undefined. From: Then have a button only work IF the time that is scheduled
matches the current time? Yahoo! Groups Links
|

