My Flex app communicates over HTTP using an HttpService object. The
server has a crossdomain.xml file at its root, and when I run the app
from the workspace it was started in, I have no issues running it.

However, when I switch workspaces and import the project, as soon as
the HTTPService.send() call is made, the following is logged in the
debug console:

*** Security Sandbox Violation ***
Connection to https://path/to/localserver halted - not permitted from
file://path/to/workspace/project/bin/app-debug.swf

Any suggestions? As I said, the crossdomain.xml DOES EXIST, and this
error only occurs when I recreate the project in a new workspace. If I
import or duplicate it within the original workspace, the application
works without giving me the sandbox violation.




Reply via email to