如何在Adobe Air应用程序中显示本地html内容?
|
我想在我的应用程序中显示一个本地html文件,但是找不到。
我使用
<mx:HTML>
组件的location
属性,但是当我尝试使用位于applicationdirectory中的本地文件执行此操作时,它不起作用。
我是Adobe Air和ActionScript的新手。
希望您能帮我找到解决方案。
谢谢
编辑:这是我的代码:
<fx:Script>
<![CDATA[
private function init():void {
mybrowser.location = \"http://www.google.com/maps\";
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
没有找到相关结果
已邀请:
2 个回复
掏得透垦滩
俯乡骚钵皆