You've spent a lot of time looking at how to manipulate variables inside Flash. You've even pulled information from outside Flash, in the form of text files, into Flash to help you control your movie. But what if you want Flash to talk to your browser, or your browser to talk to Flash? What if you want to use JavaScript in the browser to control a Flash movie? Is it possible? Yes, it is. This chapter, along with Chapter 28, "Working with Middleware," gives a solid background in how you can communicate between Flash and other applications. In this chapter, you'll look at these topics:
Before getting into the specifics of how Flash communicates with other applications, however, take a moment to consider why you would want to communicate in the first place. |