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
  • PrintPrint

38.7. Summary

There are many ways that you can have your Flex application interact with the browser, or you can disable it completely! Flex allows you to open new URLs by using the navigateToURL function. You can pass information directly into the Flex application by using flashVars, or you can take advantage of the ExternalInterface class to synchronously execute ActionScript from JavaScript, or execute JavaScript from ActionScript. ExternalInterface enables you to share data across the languages by using both simple and complex values as either function parameters or return values between the browser and the Flex application.

The next chapter examines some approaches for consuming data, interacting with HTML, and creating mashup applications using Adobe AIR.


  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint