In my application I tried using following codes to do this:
<mx:HTML x="0" y="0" width="100%" height="100%" location=“http://www.example.com”/>
The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:
<mx:Script>
<![CDATA[
private function init():void
{
var req:URLRequest = new URLRequest("http://www.baidu.com");
var a:HTMLLoader = new HTMLLoader();
a.width = 400;
a.height = 300;
a.load(req);
htmlmc.addChild(a);
}
]]>
</mx:Script>
<mx:HTML x="10" y="10" width="345" height="258" id="htmlmc"/>
But still got nothing.Any good ideas?
Thanks in advance!