[jdev] XMPP client/server issues with Flash-based client

Peter Saint-Andre stpeter at jabber.org
Tue Mar 6 10:49:25 CST 2007


See also the ActionScript library that Daniel Dura at Adobe created:

http://www.danieldura.com/archive/new-as3-xmpp-library-on-adobe-labs

http://code.google.com/p/as3xmpp/

/psa

Peter Fisk wrote:
> Thanks for your help.
>  
> Knowing this, I was able to get the server to respond.
>  
> Fortunately, it looks as though the Xiff project is ready to ship a Beta 
> release - they seem to use a binary socket connection to avoid the problem.
> http://www.igniterealtime.org/projects/xiff/
>  
> -- Peter Fisk
>  
> 
>  
> On 3/5/07, *Peter Saint-Andre* <stpeter at jabber.org 
> <mailto:stpeter at jabber.org>> wrote:
> 
>     Flash doesn't like XML streams and XMPP is streaming XML. A Google
>     search for "Flash+Jabber" or "Flash+XMPP" will probably yield some
>     workarounds...
> 
>     /psa
> 
>     M. David Peterson wrote:
>      > Hey All,
>      >
>      > Peter Fisk (Cc'd) has developed direct support for XMPP into Vista
>      > Smalltalk, a .NET and now Flash-based implementation of Smalltalk
>     and
>      > Lisp.  It seems he's run into some problems, however, with
>     getting XMPP
>      > to work in the Flash-based version (see:
>      > http://vistascript.net/vistascript/flex/vst.swf
>     <http://vistascript.net/vistascript/flex/vst.swf> for a working demo and
>      > visit http://vistasmalltalk.wordpress.com/
>      > <http://vistasmalltalk.wordpress.com/
>     <http://vistasmalltalk.wordpress.com/>> for a running list of entries
>      > that provide various demo's to help get you started)
>      >
>      > In follow-up to a question I posed to Peter in a recent blog entry,
>      >
>      > @
>      >
>     http://vistasmalltalk.wordpress.com/2007/02/22/wpfe-10-wont-support-clr/#comment-3676
>      >
>      >     David,
>      >     On opening a socket connection to any Jabber server, I can
>     catch the
>      >     "connection established" event after which it seems to hang.
>     There
>      >     is no problem connecting from Flash to http servers and I can
>      >     connect to Jabber using Exodus with no problem. I added a
>      >     "crossdomain.xml" file to the same directory as the *.swf file:
>      >
>      >     Any thoughts?
>      >
>      >
>      > I personally don't have enough experience with Flash to be able
>     to know
>      > the answer (or at least the possible answer) to the problem.  Am
>     digging
>      > around a bit to see what I might be able to come up with (I doubt
>     much I
>      > need to express to this list how cool it would be to have this
>      > capability built into a Smalltalk/Lisp interpreter for Flash!
>     ;-)), but
>      > it seemed worth posting this to the dev-list to see if anyone
>     else out
>      > there might be able to lead and guide me, and ultimately, Peter,
>     to the
>      > solution.
>      >
>      > Thanks in advance for any and all help/advice!
>      >
>      > --
>      > /M:D
>      >
>      > M. David Peterson
>      > http://mdavid.name | http://www.oreillynet.com/pub/au/2354
>      > <http://www.oreillynet.com/pub/au/2354
>     <http://www.oreillynet.com/pub/au/2354>> | http://dev.aol.com/blog/3155
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20070306/7c5a7a6b/attachment-0002.bin>


More information about the JDev mailing list