Appendix D. XML Basics in Flash


Learning XML Basics

Using the XML Object

Introducing Socket Servers

Using the XML Socket Object

Imagine what it would be like if every electrical appliance in your home had a different type of plug. Chances are, you'd end up putting most of those gizmos back in the cupboard and doing the task manually. Or what if none of the screwdrivers or wrenches in your tool shed even came close to fitting the screws, nuts, and bolts that hold your stuff together? Well, all I can say is, watch out for falling bookshelves! Fortunately, neither scenario is likely because people figured out long ago that by creating products according to guidelines, or rules of standardization, they could have far more productive societies.

In essence, rules of standardization let's just call them standards facilitate linkages between disparate items, such as batteries and flashlights; Macromedia Flash and multiuser game servers; and so on. And on the Web, where so much data gets transferred every second, having a standardized way of moving data between systems is essential. The powerful and easy-to-use XML is quickly becoming that standard.

In this appendix we'll introduce you to the XML format, and look at how to use the XML object and the XMLSocket object in Flash.



Macromedia Flash MX Game Design Demystified(c) The Official Guide to Creating Games with Flash
Macromedia Flash MX Game Design Demystified: The Official Guide to Creating Games with Flash -- First 1st Printing -- CD Included
ISBN: B003HP4RW2
EAN: N/A
Year: 2005
Pages: 163
Authors: Jobe Makar

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net