Home arrow Flash arrow XML Sockets in Flash
FLASH

XML Sockets in Flash


The purpose of this tutorial is to familiarize readers with the XMLSocket object in Flash, it's methods and properties. Teach the reader the more common methods of using the XMLSocket object, and then open the reader up to the possibilities allowed by the XMLSocket Object.

Author Info:
By: Richard Lyman
Rating: 4 stars4 stars4 stars4 stars4 stars / 39
April 02, 2002
TABLE OF CONTENTS:
  1. · XML Sockets in Flash
  2. · Methods and Properties
  3. · Common Utilizations
  4. · Possibilities
  5. · Summary

print this article
SEARCH DEVARTICLES

XML Sockets in Flash
(Page 1 of 5 )

In this article, the XML language is not explained at all. For a tutorial on XML, see XML Basics. I do plan on discussing certain methods of formatting your XML so that parsing in the Flash Player 5.04 is faster. Flash has always been meant to facilitate SVG, primarily for web delivery, and recently also for other mediums of presentation. With any presentation there will be data that needs to be conveyed. Be it through a web site shopping cart, or an ATM infomercial - data is the heart of the matter.

XML was introduced as a means of freeing the languages we use to define the data we traffic in. Since XML is more a way of defining data rather than a strict method of defining data, there have been many *MLs introduced in an effort to best define the data particular to a given industry. While this massive effort to define data is laudable, we need to remember that sometimes it doesn't really matter how we define it, as long as all of the members of the conversation understand the language that is being spoken. To this end Flash's XMLSocket object works wonders.

True XML is often accompanied by a DTD, to help foreign environments interpret and manipulate the accompanying XML. Flash currently does not support a DTD. While it can interpret the DTD tag, and return the information contained therein, Flash does not validate XML from the DTD. While this could hamper Flash’s ability to survive in an increasingly ‘XMLish’ world of data, we'll see how it really doesn't matter.

Another important point to consider when speaking of Flash and its XMLSocket object is that Flash has a history of being the tool easiest to produce great works of non-usability. Many first impressions of Flash were of it's pointless self-aggrandizing intros, or maybe of inescapable pre-loaders. As I said - Flash's development environment facilitates the creation of unusable content. As we approach the XMLSocket object, we must then keep in mind that Flash (currently) has limitations to its true usability. But there are many developers who have helped rid us of many of those limitations, if we choose to use their tools, and the upcoming versions of Flash appear promising indeed.

In the end, Flash is preparing to dominate a market that did not exist before. Used properly, and effectively, the XMLSocket object will play a key role in that future. The web will not exist in its current form for long. Already we see changes in the fundamental uses of the sprawling Internet, and yet there are purposes that drive that change which will remain forever. Data will need to be exchanged. Through one language or another, using a web services platform or a web server, data will need to be conveyed.

The XMLSocket object brings about the marriage of both data and presentation in an environment not possible before. Those on the client end, and those with their hands on the stirring spoons can see changes as the bi-directional exchange of data is presented in the robust and warm environment Flash has to offer.

That having been said... let's examine the beast that's known as the XMLSocket object.
blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials