Hi,

>From the error message, it seems your swf is downloaded from
mydomain.netbut tries to access
www.mydomain.net. Crossdomains rules are subdomain based so you are not
granted access to www.mydomain.net from mydomain.net.

Most likely, you have the absolute url hardcoded somewhere, so when you
access www.mydomain.net/my.swf it works, but if you change the url to
mydomain.net (which problably maps to the same file as www.mydomain.net), it
no longer works.

The easiest solution probably is using relative urls. If for some reason
that's not possible, anoher option could be placing a crossdomain.xml policy
file that accepts both www.mydomain.net and mydomain.net.

There might be other options (like forcing a redirect to one of the
subdomains, passing a flashvar with the actual domain dynamically using some
server side technology, etc) but I would just use relative urls, if
possible, or a crossdomain file.


Cheers
Juan Pablo Califano

2010/2/27 ktt <[email protected]>

> Hello,
>
> I created file Upload/Download function with FileReference, but on
> different computer I get errors:
>
> Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security
> sandbox violation: http://mydomain.net/myboard/board-1.swf cannot load
> data from http://www.mydomain.net/myboard/uploads/some.jpg.
> at myboardFunctions::downloadKlase$cinit()
> at
> global$init()[/Users/demo/Desktop/board-new2010/myboardFunctions/downloadKlase.as:29]
> at
> myboardFunctions::formserts/downloadHandler()[/Users/demo/Desktop/Whiteboard-new2010.02.14/myboardFunctions/
> formserts.as:444]
>
> How to solve this?
> Should I need to tune Flash Player 10 settings?
>
> Thank you in advance,
> Kioshin
>
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to