Flex + Java crosspolicy send problem
I have a server written in java (also http server). I try to communicate with it from my flex application. It works from FLEX IDE, but not if I run my java server and request the flex application by browser. I receive error: "securityError:. text=Error #2048: Security sandbox violation:".
I found the problem is crosspolicy file. I found also, flex application send to my java server: "policy-file-request".
OK, I receive that request and send back a simple crosspolicy.xml file, actualy i send a string.
It dosen't work....
May be there is another, simpler way?