Quantcast
Viewing all articles
Browse latest Browse all 2010

Why does this Facebook page can't be displayed within a StageWebView?

Hi,

 

By trying to open the website https://www.facebook.com/nike within a StageWebView, I received the following error:

 

ReferenceError: Can't find variable: console at https://fbstatic-a.akamaihd.net/rsrc.php/v2/y2/r/KK4271o6DmT.js : 95 TypeError: Result of expression 'bigPipe' [undefined] is not an object.

 

The website stopped loading and couldn't be displayed completly.

 

This is the Air/AS3 code I'm using:

var webView:StageWebView = new StageWebView();
webView.stage = this.stage;
webView.viewPort = new Rectangle( 0, 0, stage.stageWidth, stage.stageHeight);
webView.loadURL("https://www.facebook.com/nike")

How to get to load the website within StageWebView completely? (Is there a way to ignore the errors?)

 

I'm using Flash CS6 and Adobe Air 3.9

 

Thanks for any ideas!


Viewing all articles
Browse latest Browse all 2010

Trending Articles