[jdev] Re: Is a Director Lingo connection to Jabber.org fromthewebpossible?

dlb civintel at comcast.net
Tue Jan 4 18:19:21 CST 2005


 
<comments inline>
-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
Dan Plesse

Thanks for your reply. 

>>I guess you tried to connect to Jabber.org with a SWF on a server and it
Failed to connect? 

__
Yes, I'd attempted to connect to jabber.org from a SWF within a page served
by my own server and received a connection error.

>>Can Jabber.org tell which kind of clients are connected at any one time?
Can you tell if they are Director, Shockwave, flash or java, c++ or
whatever?  
__

Flash connections utilize the flash:stream element to signal their handling
requirements, but standard socket connections are handled uniformly. IIRC
the reason that flash connections are exceptional is that they're not
sending valid xml fragmenents.


>> I had it working, but something changed. Either my code or jabber or
something in between. 

I'd look into the fact that http://jabber.org/crossdomain.xml isn't
resolving, this is likely where the Flash Player is looking for the policy
file - you're attempting to connect to jabber.org:5222, so it checks the
root directory at http://jabber.org.

HTH

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
dlb
Sent: Tuesday, January 04, 2005 5:36 PM
To: 'Jabber software development list'
Subject: RE: [jdev] Re: Is a Director Lingo connection to Jabber.org
fromtheweb possible?

 http://jabber.org/crossdomain.xml isn't resolving for me - this could be
the problem.

Also, I've tested the current flash player version under this scenerio and
can confirm that you can connect to remote domains from a served SWF if the
crossdomain policy file is accessible.

Here's the policy file I'd tested against

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <allow-access-from domain="*" />
</cross-domain-policy>






More information about the JDev mailing list