Home arrow Flash arrow Working with external data in Flash

Working with external data in Flash

Because data for a website comes in many formats, it helps to have a variety of ways to handle this data. This article covers the different methods available in ActionScript for exchanging data.

Author Info:
By: Adi Reddy Mora
Rating: 4 stars4 stars4 stars4 stars4 stars / 31
May 11, 2005
  1. · Working with external data in Flash
  2. · getURL(), loadVariables(),loadVariablesNum(), loadMovie(), and loadMovieNum() methods
  3. · LoadVars Class
  4. · MovieClipLoader class
  5. · XML Class
  6. · XMLSocket Class

print this article

Working with external data in Flash
(Page 1 of 6 )


Data can come in many formats. It can be a text file, XML file located on a file system, or dynamic data/XML generated by a server at run-time.

In ActionScript you can load data from external sources into an SWF file. You can also send data from an SWF file for processing by an application server (such as Microsoft IIS, Macromedia ColdFusion MX, Macromedia JRun, IBM Websphere, BEA Weblogic, and so on) or another type of server-side script, such as ASP, PHP or Perl.

Macromedia Flash Player can send and load data over HTTP or HTTPS, or load from a local text file or XML file. You can also create persistent TCP/IP socket connections for real time messaging applications.

The following are the different ways that you can exchange data that are available in ActionScript.

  1. getURL(), loadVariables(), loadVariablesNum(), loadMovie(), and loadMovieNum() methods

  2. LoadVars Class

  3. MovieClipLoader class

  4. XML Class

  5. XMLSocket Class


blog comments powered by Disqus

- 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 

Developer Shed Affiliates


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