我写过类似的代码
protected var swv:StageWebView = null;
private var url:String = new String(stringnaveed.text);
protected function view1_creationCompleteHandler(event:FlexEvent):void
{
// TODO Auto-generated method stub
if(StageWebView.isSupported == true)
{
swv = new StageWebView();
swv.viewPort = new Rectangle(0,80,600,600);
swv.stage = this.stage;
swv.loadURL(url);
}
}
<s:Label id="stringnaveed" text="http://www.formpfplus.com/AI/new_faq.htm" visible="false">
</s:Label>
但是当我在我的设备上部署它时,它没有显示任何内容