flashactionscript-3securitysandbox

Tell flash sandbox to only allow local


Is there a way to allow a Flash app to access local files?

I've build an app that's just for local use and not for web use but i run into sandbox errors because the app consists of several .xml and .swf files.

I understand this can be changed by telling the security settings to trust the app but it should be easy to use so this is not an option.

I also know this can be achieved by porting the app to AIR but i really hope there's a simpler solution.

The app (swf) is embedded in a (local) html page.


Solution

  • This is precisely what AIR is for, and it shouldn't require any porting. Just change the player to Adobe Air in the flash tab under Publish Settings.