-1

I need to load my own website in a air for android application (stage WebView) using actionScript(3.0).Is it possible ?

I use following code but isn't work inside my application.

navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
4

1 回答 1

1
import flash.display.MovieClip;
import flash.media.StageWebView;
import flash.geom.Rectangle;



var webView: StageWebView = new StageWebView();


webView.stage = this.stage;
webView.viewPort = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
webView.loadURL("http://www.adobe.com");
于 2016-06-09T20:07:17.500 回答