Hello all,

I am using flash.net.Socket class to connect mysql database. And I always meet 
sandbox violation error. I have some questions regarding this problem.

1) When I develop the flex application and mysql database (localhost:3066 is 
used) in same machine, there is no sandbox  violation box error, since they are 
considered as in the same domain. Am I correct?
2) After I upload the flex application the server which is equipped with mysql, 
I access the flex application from client machine. Firstly the flex application 
will be downloaded to the client machine's cache, then start to execute. Now 
flex application and mysql database are considered as in different domain, and 
the sandbox violation may happen?
3) In order to solve it, I need to enable mysql remote access? Set mysql server 
address to digital format (xxx.xxx.xxx.xxx) to instead of "localhost"?
4) Or alternative way to solve it is to set "crossdomain.xml" file?
Thank you.

Regards,
Joe

Reply via email to