Fixing the security sandbox issue in FDT 4 Milestone 2
Posted on 26th May 2010 in ActionScript, Developer tools | 3 Comments »
Despite the fact that M2 isn’t the final release of FDT 4 and even the feature sets of Pure, Pro and Enterprise versions are yet to be determined, it’s a solid Flash development tool already.
Even so one of the first issues to tackle with on a Mac is the FDT 4 Debugger throwing back Flash sandbox violation.
The sandbox error looks like this:
Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:////Users/flashtekkie/projects/FDT_workspace/FDT_AS3_project/Main.swf cannot load file:////Users/flashtekkie/projects/FDT_workspace/FDT_AS3_project/Resource.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
The trick is that the local path in Flash Player’s Security Settings, e.g.
/Users/flashtekkie/projects/FDT_workspace/FDT_AS3_project/,
isn’t in tune with the External SWF Viewer of FDT and expects the URL instead:
file:////Users/flashtekkie/projects/FDT_workspace/FDT_AS3_project/.
Adding the URL of the file should resolve the impasse.

Related resources:
- FDT Flash development environment
- FDT 4 Milestone 2
- Global Security Settings panel of Flash Player
- Security Sandbox Violation error in FDT SWF viewer on Mac discussion on FDT Forum
Related articles:


3 Responses
[...] This post was mentioned on Twitter by Ain Tohvri, Bruno Fonzi. Bruno Fonzi said: Fixing the security sandbox issue in FDT 4 Milestone 2 http://is.gd/cpYXo via/ @tekkie #flashdev #fdt [...]
Hi,
How bout only adding “/” to the list?
I know its kindof dirty, but it gets the job done.
Then it doesn’t matter where your workspace is located
Hope it helped you,
Sidney
PS. And ofcourse add a “always allow” to that “/” location