Since AIR 2.6, it has been possible to load and display HTML content directly within an AIR for iOS app. This is convenient as it prevents the user from having to leave the app to view web pages. It also provides other benefits such as tighter OAuth (Open Authorization) integration, and the ability to include HTML banner ads.
This recipe will show you how to load a remote web page directly into your app.
The steps covered here are only applicable to those using Flash Professional CS5.5 and AIR 2.6 or above. The AIR 2.0 SDK does not provide an API for loading HTML within an app.
From the book's accompanying code bundle, open chapter11\recipe2\recipe.fla
into Flash Professional CS5.5. The FLA's stage is empty but its AIR for iOS settings have already been applied, saving you the effort when it comes to publishing it.