Chapter 19. Using DataThere was a time when Flash was used exclusively for timeline-based animations. However, many current Flash applicationseven simple onesload and send data to and from external resources. For example, a simple web site built in Flash might display news. In order to keep the news fresh, it's important to be able to load the text from an external resource, such as a text file or from a PHP page that retrieves the data from a database. If you have a comments form, you'll need to send data to a script. There are many potential uses of such data in Flash applications. To work with data most effectively, you'll need to use ActionScript. In a few cases, the ActionScript will be relatively simple. For example, if you want to load variables from an external resource, the solution involves ActionScript as discussed in Recipe 19.1. However, there are also mechanisms for working with data in basic ways that do not require ActionScript. In this chapter, you'll read about solutions that use simple and/or minimal ActionScript. Non-ActionScript solutions are discussed where appropriate. |
Tripod >> 3pod Tips & Learning and manuals for educations