Skip to content


Viewing a Web Page in Adobe AIR

This will simply load http://www.google.com inside the AIR project

<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
width="1024"
height="900"
viewSourceURL="srcview/index.html"
creationComplete="showWebPage()"
>
<mx:Script>
<![CDATA[
private function showWebPage():void
{
html.location = "http://www.google.com";
}
]]>
</mx:Script>

<mx:HTML width="100%" height="100%" id="html" x="0" y="0"/>

</mx:WindowedApplication>

Posted in AIR.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. reza khoramabadi says

    hi, i want to view a web page with non antialaising font. can you help me?



Some HTML is OK

or, reply to this post via trackback.