Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 16. Browser Communication

Chapter 16. Browser Communication

In many cases, you may find it necessary to communicate with the browser that contains your application. Browser communication enables you to build applications that go beyond Flex itself; you can link to existing sites, communicate with other applications via JavaScript, and interact with the browser’s history, as a start. The ExternalInterface class lets you call out to the browser in which the application is running, get information about the containing HTML page, and call JavaScript methods, as well as letting JavaScript methods call into the Flex application. This chapter focuses on the functionality contained within the core Flex Framework, though there are other tools to assist with integration of the browser and the Flash Player.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial