I found this simple example online for how to add an HTML "browser" area in an Air application:
protected function init():void
{
var browser:HTML = new HTML();
browser.height = 400;
browser.width = 400;
browser.x = 10;
browser.y = 10;
browser.location = "www.google.com";
addChild(browser);
}
Only when I run the application, I don't see a browser, but just a blank white area. :/. I'm a total newb, and I suspect I'm missing something "obvious". A little help please?
The only other thing that is in Main.mxlm is the wrapper mx:WindowedApplication, which has mx="http://www.adobe.com/2006/mxml" and creationComplete="init()".
Thanks