thanks for you guide, i have connected the socket, by using adobe official 
tutorial's sample policy file, yes, flashplayer need a Master policy file, NOT 
just a normal crossdomain.xml:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html

 --------------------------------------------------
lwz7512
Ultrapower Flex Team Leader
OpenRIA -- A Window You Exploring RIA World
http://www.openria.cn



----- Original Message ----
From: EECOLOR <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, June 14, 2008 9:36:45 PM
Subject: Re: [flexcoders] Re: Socket HTTP/1.1 connection not closed even after 
Response is sent


This piece of information states it quite good:

"If Flash Player 9,0,124,0 cannot retrieve a master policy file from port 843, 
then it requests a socket policy file on the port where it is trying to 
connect. However, if a policy file is available from a service on TCP port 843, 
then Flash Player considers that to be the authoritative set of permissions for 
that system."


Greetz Erik



On 6/14/08, li wenzhi <[EMAIL PROTECTED] com> wrote:
Hi,
Did you successfully conntect the policy server with flash?
I connected the policy server in Flex builder3 debug mode, but when i move the 
swf (include in html page) into tomcat(8080 port), and visit the page, the 
flash debugger saying "Errot 2044: unhandled SecurityErrorEvent. security sand 
box conflict , http://localhost: 8080/xmlsocket/ XmlSocketCon. swf can not load 
data from localhost:843 "

initially i started the socket server and  the debugger saying these, then, i 
stop the socket server, the error is the same.why?

any suggestion will be greate appreatiate!

 ------------ --------- --------- --------- --------- --
lwz7512
Ultrapower Flex Team Leader
OpenRIA -- A Window You Exploring RIA World
http://www.openria. cn

    


      

Reply via email to