A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: another xml noob question

  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    85

    another xml noob question

    So is the difference between using XML and XMLSocket the fact that with only XML objects, all calls must be made from flash using XML.load() if I want data updates, while with XMLSocket I can initiate data exchange from the server, as well as, the client?

    hope this question makes sense. thanks.

  2. #2
    Senior Member tupps's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne
    Posts
    2,035
    The main difference between the two is that XMLSocket is a continous stream of data between the client and specialised server (not a web server!).

    Basically with a socket you will be notified whenever the server has some new data for you. With a normal XML object you have to check with the server to see if there is some new data.

    Thanks

    Luke
    Flash-XML FAQ
    http://www.tupps.com/flash/faq/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center