Chapter 13. Communicating with the browser

This chapter is for you if you decided to deploy your OpenLaszlo application as Flash. AJAX applications blend with the browser naturally because of the J in AJAX.

Flash files generated by OpenLaszlo are embedded in wrapper HTML pages. They can interact with each other using one of the following techniques.

  1. Flash applications can receive parameter values from the browser.

  2. JavaScript scripts can invoke the methods in and set the attributes of a Flash application.

  3. Flash can run JavaScript methods and access JavaScript variables.

This chapter will discuss these types of communication, including how to use the LzBrowser class that represents the browser. First, however, we will talk about how to create a wrapper.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset