mherger Wrote: 
> >Are you sure XMLSocket is limited to the exchange of XML data? I found
> a  
> few references where simple "Hello world!" strings were exchanged.
> 
> I have to admit that this is based on a five minutes google research
> :-)

My research were not deep either :-) and it appears you might be true
!!

> 
> XML Sockets in Flash - Methods and Properties
> (Page 2 of 5 )
> 
> I'll enumerate the different methods and properties that this object
> contains, and then explain common coding practices.
> 
> send() - This method allows you to send a string of characters through
> the socket connection. While the string is usually in XML format it
> does not have to be. This string can either be constructed using the
> XML object within Flash, or manually if size permits. Flash will also
> automatically append the terminating null character for you.
> 
> onXML() - This event-handler is invoked upon receipt of a null
> character. When this event is triggered the data that was received
> since the last null character has already been parsed, and placed into
> a hierarchy that you can use to retrieve the data – again using
> the XML object in Flash.
> 
> onData() - This event is similar to the onXML event, but it is
> triggered before any parsing. This allows for manual parsing or custom
> string handling (which can be quite useful as we’ll see near the
> end of this article).
> 

That's exciting. I'll get to work as soon as I have time (I'm moving on
july 1st and flying to France and Spain on july 10th for a whole
month.... :S)


-- 
Lowrent
------------------------------------------------------------------------
Lowrent's Profile: http://forums.slimdevices.com/member.php?userid=5665
View this thread: http://forums.slimdevices.com/showthread.php?t=24876

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to