This might be a bit of a long shot, but the app I am working on needs to work both online and offline, if the need arises. So my question is if anyone knows of a way for the worker to interact with the App storage through the use of File.applicationStorageDirectory.
Saving files to app storage from Worker
(3 posts) (3 voices)-
Posted 2 years ago #
-
I found some restrictions on file system classes in the AIR 3.4 release notes. Mostly, it seems that a worker can't open a open/save dialog to allow the user to choose something. As far as I can tell, a worker can indeed read and write files, as long as you can figure out the right paths to use.
Posted 2 years ago # -
Hi,
about this worker thing.
I made a .swf worker with ABC that works good on android but throws starling errors on iOs build.It crashes on either the stats display bitmapfont or on touching the screen.
error is 1034: Type Coercion failed: cannot convert starling.events::Touch@498f3d1 to starling.events.Touch.trace shows this to happen in the touchprocessor.as
Anybody a clue on this or how to circumvent it?
Highest regards,
MacPosted 2 years ago #
Reply
You must log in to post.