Hi Guys,
Im uploading a file using FileReference class, but the script I’m uploading to is in a different parent folder, under the same domain. So Im getting a FILE I/O error, and through some tests, the flash is not accessing the file in the first place. Im sure that my paths are correct, and I know it’s a security problem.
So I did a crossdomain policy file (crossdomain.xml) :
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
and I put it in that parent folder, but still it’s not accessing the script. I want to know what should go inside the crossdomain.xml file and where I should put it exactly.
Thanks guys!!!