Chapter 29. Sending Data In and Out of Flash

A powerful feature of ActionScript is the extraordinary control of data acquisition and management it provides within a Flash movie. You can load external text data into Flash movies, making it possible to include fresh dynamic content every time a Flash movie is viewed over the Web. In this chapter, you learn how to access text data stored in a variety of formats that are separate from the actual Flash movie.

Many Flash-enabled Web sites use external data to display a wide range of information in a user interface. The home page of this book's support site, www.flashsupport.com, features a Flash movie that consumes and displays an RSS (Really Simple Syndication) feed of our recent articles and tutorials from Community MX. You can use dynamic data to display current news articles, catalog information, weather information, and more!

Tip

Flashloaded.com offers the rssReader component to easily consume and display RSS feeds in your own Flash movies. For more information, go to www.flashloaded.com/flashcomponents.

Note

In this edition of the Flash Bible, all ActionScript code is presented in ActionScript 3.0. For legacy ActionScript 2.0 coverage, refer to Flash CS3 Professional Bible (Wiley, 2007) or earlier editions.

Using Text Fields to Store and Display Data

Before we ...

Get Adobe® Flash® CS4 Professional Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.