A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Workers in AIR

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    40

    Workers in AIR

    Hello,
    I am working in Flash Pro CS6 to AIR 3.4 for Desktop. I have 4 files that I am referencing using the File class. I then find the modificationDate. Due to a slow network issue, this can freeze up the program about .5 sec per file!

    My first attempt at a solution was using the Worker class. However... in the worker, I am unable to use the File class because I need to compile in a .swf (correct me if I'm wrong). I tried using the MessageChannel class to share a FileReference, but it only showed up as an Object in the worker and I cannot convert it back to FileReference. Is there any solution to this problem? or alternatives?

    Thanks in advance
    Jake

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    According to the Actionscript reference the worker class is fine in Adobe AIR and then you should be able to use the File class.
    - The right of the People to create Flash movies shall not be infringed. -

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center