hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  Flex form by email  Hello Remoting with AS3  AS3 Saving data from Flash  AS3 Loading data into Flash  Fire Effect  Contact form  Dragable buttons  Hello World with openamf  Loading helper classes  Upload with Flash 8  Transitions effects  Snapshot with Flash 8  Hello World Remoting AS2  Flash AS2 Remoting Connector  Saving data from Flash  Loading data into Flash  FlashCom & Remoting login  Cell Renderer API  Editing a table using remoting components  Flash MX2004 web service classes  Browsing a catalog  amfphp Documentation  Hello World Remoting  Online Store with AMFPHP  Flash clients for Web Services  Web Service Walk Though with NuSoap  Popup windows in flash with javascript  Installing Apache/PHP  MoreOver News Feeds  Load Edit Save Text Files via CGI  Save Movie Clip Postion via PHP and MySQL
 Read Full Documentation >> Untitled Document

Loading data into Flash

By: Jorge Solis
Design and illustrations: Mariel Ortiz (my wife :)


Goals

All around this tutorial, we will explore different ways of loading data into Flash. We are involved with dynamic content. Once you have your hard code movie, is time to move to a new scenario where data comes from outside world: a file or a database, this is the door for that Macromedia calls RIA, Rich Internet Applications. Whit out dynamic data, we can't think in real applications, but when we're able to talk to server side, we're just in the beginning of a new way of doing things ...
Trough this tutorial we will move always based on the same example: loading some image, a title and a comment about it, or with multiple data. a couple of images, titles and comments. Doesn't matter which file we use to store the external data: our goal is to load this piece of info and show into our movie. Remoting example use more data since is a more faster and advanced way of doing this.

This tutorial is divided into several parts, and if you have some knowledge, you can skip parts and go right away to the method you're looking for.

1. General loading principles
2. Loading data from text files
3. Loading data from XML files
4. Loading data from databases using name/value pairs (PHP and ASP examples)
5. Flash Remoting (AMFPHP and Coldfusion examples)

Download examples files >>>