• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

What can I say? This was a long chapter! It’s the last one in the Foundation section, and we’re about to move on to some fun workshop exercises. Hopefully, you are beginning to see things synthesize. For example, adding callbacks to the topics in this chapter was relatively easy because you already understand callbacks generally. At this point, you should feel comfortable in any programming language; you haven’t just been learning Flash, you’ve been learning programming. (Congratulations, you’re now a programming geek!)

Seriously, this chapter showed you many of the ways in which Flash can interact with the world around it. We started by including linked scripts when exporting a movie. Then we saw how Flash can read in data from text files. The same format was used when we learned how Flash can read data sent to it via a server script. The advantage to server scripts is that Flash can also send data (that is, all its variables) to the server. Although the standard technique (loadVariables() and getURL()) used the URL-encoded format, we also took a dive into XML-structured data. We rounded out the chapter with a good look at two new Flash MX features: local SharedObjects (to save data between sessions) and the Local Connection Object (to let multiple .swfs talk to each other). Although you might not have an immediate need for all the material in this chapter, you should have a clear idea of what’s possible.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint