• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. Introduction to XML > Loading and Sending XML

Loading and Sending XML

All the XML functionality for Flash 5 is encapsulated into two objects, XML and XMLSocket. The XML object is used to load and send XML via HTTP. It’s also used to manipulate XML. This is the object that you will use most often. The XMLSocket object is used to send and receive XML over a direct socket connection with a special piece of server software. This is used for real-time two-way communication, but because there are only a few commercial server options for XMLSocket, its use isn’t yet commonplace.

Creating XML Objects

So how do you create a new XML object? It’s relatively simple. All you have to do is type this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint