-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");
Viraj Tharinda
  • 29
  • 2
  • 10
  • 2
    Welcome to stackoverflow.com! It is expected to put some effort into solving a problem on your own. Show the code you have tried so far, so you can get more specific advice. Learn more on how stackoverflow works by taking the [tour](http://stackoverflow.com/tour). – bassim Jun 09 '16 at 09:15

1 Answers1

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");
kare
  • 147
  • 1
  • 9