Chapter 7. HTML in AIR


This chapter covers
  • Loading and displaying HTML
  • Controlling the loading of HTML
  • Referencing JavaScript objects from ActionScript
  • Referencing ActionScript from JavaScript


Normally, we try to temper our enthusiasm for a particular AIR feature with calm reason. But in the case of HTML in AIR, the feature is just too darn cool for us to bottle up all our excitement. In this chapter, we’ll share with you what we know about working with HTML in AIR, and once you’ve reviewed the facts for yourself, we think you’ll share our enthusiasm.

As a Flash or Flex developer, you’ve undoubtedly placed many an .swf file in an HTML page. Wouldn’t it be neat if you could do the inverse: render HTML inside a Flash or Flex application? ...

Get Adobe AIR in Action, Pap/Pas Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.