Chapter 7. HTTP Connection
In this chapter we prepare for XML connectivity by developing skills in general Internet connectivity. We become familiar with the fundamentals of HTTP transactions and the ways in which Flash uses it. Of particular interest are the restrictions Flash imposes on its users that make it difficult to cross domain boundaries.
We create a Web-driven high score feature for our quiz game, which is its first live online element. To do so, we learn to establish a data download, although not yet in XML format. We also build a probe to interactively test the limits of Flash domain restrictions.
If you have a deep background in the HTTP interchange and in developing interactive web applications, this chapter will be easy. But pay attention to the unique details of ActionScript syntax and the discussion of domains and permissions.
Others might find this discussion of HTTP too deep or too cursory. If it seems too deep, be patient; you will need it all before this book is complete. If it leaves you wanting more, we invite you to pursue the subject further online or at the bookstore.