Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-13-2005, 02:14 PM   #1
Registered User
HeadInTheClouds's Avatar
Join Date: Mar 2005
Posts: 11
Unhappy XML Socket Problem in Internet Explorer (But not in Firefox!)

Hi All,

Here's my problem, I've got this little Flash client program that connects to the server using XML sockets, it works brilliantly in Firefox but for some reason, it fails miserably in Internet Explorer.

The code is pretty standard actionscript XML Socket code:

ActionScript Code:
var Speech:XMLSocket = new XMLSocket(); Speech.connect("xxx.xxx.xxx.xxx",123); Speech.onConnect = function(ok) {           Speech.send(Speech_time+"\r\n");        trace("XML socket: Send"); } Speech.onData = function(src) {     _global.filePath = src;        trace("XML socket: Receive"); }

Like I said, in Firefox, it works perfectly, I would see both debug messages(Send & Receive). However, in Internet Explorer, I'll see the first debug message (Send), my server program will then react to the request and send the information back to the Flash program, but my Flash Client program doesn't detect any incoming data!

Now, I've made sure that I've got the 'crossdomain.xml' sitting on my server to allow the communications to take place and I've made sure that the string I send back from my server ends with 0. I've been searching everywhere but I can't see where I've gone wrong, so any help/suggestion/comment will be greatly appreciated!

HeadInTheClouds is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:02 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.