Skip to main content
Inspiring
August 21, 2013
Question

StageWebView not displayed in Flash Pro Air Mobile Simulator (if render GPU)

  • August 21, 2013
  • 1 reply
  • 626 views

Hi guys - just wasted too much time with this - thought I'd mention it here - may help someone in future.

I've got a mobile app which uses StageWebView for a news/info page.

However my app is mainly graphics so I use GPU render mode.

When I test the app using the Air Debug Launcher (Mobile) the StageWebView is not displayed.

If I flip the render mode to Auto it shows just fine in the simulator.

Most importantly - GPU does work fine when deployed to the actual device.

I'm pretty sure this was not an issue a month or 2 ago (possibly an issue with current AIR version displaying StageWebView on desktop - I'm currently on 3.8.0.910 ( see  http://forums.adobe.com/thread/1175722   ).

This topic has been closed for replies.

1 reply

Lars Laborious
Legend
August 23, 2013

I had this issue on earlier versions of AIR. Don't know if this is will fix your problem, but for me it had to do with listeneres and additional calls happening before initating the webview. By moving "webview.stage = this.stage;" up before "webView.viewPort = new Rect...", it worked again.