# XML Socket issue

**URL:** <https://forum.kirupa.com/t/xml-socket-issue/290639>\
**Category:** flash\
**Created:** [June 17, 2009, 3:28pm UTC](https://forum.kirupa.com/t/xml-socket-issue/290639 "2009-06-17T15:28:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedy\_d](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@speedy\_d](https://forum.kirupa.com/u/speedy_d)\
**Post date:** [June 17, 2009, 3:28pm UTC](https://forum.kirupa.com/t/xml-socket-issue/290639/1 "2009-06-17T15:28:34Z")

</div>

Hi All,

I posted this under the ‘Flash Player’ forums, but maybe that was the wrong place. Apologies for duplicating posts.

Im having an issue I can’t get to the bottom of, and would really appreciate some help if anyone can.

I have a simple AS3 flash file which is connecting to an XMLSocket on a port above 1024. Bascially, we are serving the policy file ok (i have used the debug version of the player to confirm this). The problem is this:

\*\* In Flash Player 10, it works\*\*

Where as in **Flash Player 9 it doesn’t!** I’ve tried many versions of flash player 9 up until the last version, and the first version of flash player 10 is ok, the socket connection works. I would have thought it would be the other way round? With Flash Player 10 being more secure?

**NOTE:** In both senarios it remains published for Flash Player 9, ActionScript 3

I have placed listeners for:

Event.CONNECT

Event.CLOSE

SecurityErrorEvent.SECURITY\_ERROR

DataEvent.DATA

And NONE of these are being called when attempting to connect with flash player 9.

Im a bit confused as to why its working in 10 and not 9. Is there anything ive overlooked?

Any help really appreciated!
