Flash
  Home arrow Flash arrow XML Sockets in Flash
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
FLASH

XML Sockets in Flash
By: Richard Lyman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 22
    2002-04-02

    Table of Contents:
  • XML Sockets in Flash
  • Methods and Properties
  • Common Utilizations
  • Possibilities
  • Summary

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ibm
     
    ADVERTISEMENT


    XML Sockets in Flash
    (Page 1 of 5 )

    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.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.

    More Flash Articles
    More By Richard Lyman


     

    FLASH ARTICLES

    - Manipulating Data with ActionScript in Flex ...
    - ActionScript Syntax for Flex Applications
    - ActionScript in Flex Applications
    - A Closer Look at Apollo`s File System API
    - Using the File System API
    - ActionScript 101
    - Flash Buttons
    - Advanced Flash Animation
    - Creating Your First Animated Movie with Flas...
    - Flash: Building Blocks
    - Building Preloaders
    - Fun Things to Do with Movie Clips in Flash MX
    - Referencing Movie Clips in Flash MX
    - Organizing Movie Clips in Flash MX
    - Making Movie Clips Perform in Flash MX


     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway