开发者

ActionScript 3 - Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation

开发者 https://www.devze.com 2023-02-22 02:10 出处:网络
I seem to have a problem and can\'t get it work. I\'m working on a simple application that comunicates with som php scripts to manage databases. While my app is simple and still in development, I have

I seem to have a problem and can't get it work. I'm working on a simple application that comunicates with som php scripts to manage databases. While my app is simple and still in development, I have gotten it to work on my pc. This although changes when I upload it to my webserver.

The page is:

http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS%20Management.html

and the swf:

http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS%20Management.swf

First, it appears to be normal, but when you press the "Login" button, nothing happens, doesen't login and doesent throw out an error for not being correct.

After some fiddling around, I noticed that ONLY Firefox gives me an error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS Management.swf cannot load data from http://www.converter-vhs-para-dvd-video.info/GestaoCCBS/CheckLogin.php.
    at LoginModule/CheckLogin()

I tried messing with the "Acess local files only/Acess network" opti开发者_如何转开发on in the publish menu, but still no dice.

Can anyone please help me? I bet its a simple error, but i'm still new to this.

Also, keep in mind i'm working with php scripts, and not xml (Don't know if it makes a difference).

Thank you.


One of the URL has a www and not the other, you may want to harmonize these.


Have you tried to use Security.allowDomain("domain.com"); ? Edit: looks like an other answer solved your problem. Nice! :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消