I have an application that connects to a amf-service located at localhost using RemoteObject.
When I compile and run with IntelliJ I get a security sandbox violation #2048.
[FaultEvent fault=[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048: Security sandbox violation: file:///Users/andreas heim/code/sio/samba/samba-boligoversikt-flex/target/_Main.swf cannot load data from http://localhost:9080/samba/messagebroker/amf. url: 'http://localhost:9080/samba/messagebroker/amf'"] messageId="2F0E36B9-41D2-7FC0-7D37-486938BE7217" type="fault" bubbles=false cancelable=true eventPhase=2]
My project is set up via flexmojos and maven, and when I use maven to compile the application and open it in safari, I do not get the same errors.
Other developers on my team (using flex/flash-builder) does not get this error.
I have tried the following:
re-importing entire project
Nothing seems to work, this is a major blocker for this project, please respond.