in an AIR application I use a polling mechanism to check a file modificationDate at certain intervals.
The problem is that if the file is on remote (slow) drive, the call to File.modificationDate is blocking the UI.
Is thera a way of getting the modification date of the file in an asynchronous way?
PS. I do not have access to Actionscript Workers...
Thanks for any help,
ActionScript Worker does have access to files system.
It is undersecurity restriction.
var myWorker:Worker = WorkerDomain.current.createWorker(Workers.myWorker, true);
This will give the worker swf full application previligies.
By using a woker to ead file info might free up the UI thread.