Skip navigation
Currently Being Moderated

FLEX Workers unable to load local files

Mar 6, 2013 12:15 PM

Tags: #workers



I am currently testing the using Actionscript Workers. For the most part everything is working as described, however I notice that the FLASH Player (and even FLASH Builder debugger) is treating any child worker swf as a remote swf. This creates a problem where it can't access local files that are loaded in during runtime (in my case my parent application has a wsdl file saved locally and is trying to pass the same path to the child worker). The following error will be thrown when the worker swf attempts to access to the file:


*** Security Sandbox Violation ***

Connection to file:///<filepath> halted - not permitted from file:///<swf file application>

-- Remote SWFs may not access local files.


This is problematic as the parent application can access these local files without a problem, so I expected the child workers to behave in the same manner (especially since it's in debug mode).


Does anyone know of any workaround to this particular issue?

  • Currently Being Moderated
    Apr 1, 2013 10:56 AM   in reply to Sean@Tier1CRM

    I'm having the same problem.


    Having scoured the internet and finding nothing useful yet, I'm almost ready to conclude that there is no workaround for this. At least without using AIR, or running a webserver on localhost.


    Would be very happy to be contradicted on this though...

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points