Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Developer
Posts: 61
Registered: ‎06-07-2011
My Device: Playbook
My Carrier: Employee
Accepted Solution

QNXStageWebView

Hi every one,

 

I have a problem with QNXStageWebView, Its working fine in simulator but  not showing any thing in the deveice, OS 1.0.8.

 

My code like this.

 

webView = new QNXStageWebView;
this.webView.assignFocus();
webView.enableCookies = true;
webView.enableJavaScript = true;
this.webView.viewPort = new Rectangle(0, 0, 500, 500);

webView.loadURL("http://www.google.com");

 

Is there any thing wrong? Please help me I strucked here, I am waiting for your reply.

 

Thanks.

New Developer
Posts: 61
Registered: ‎06-07-2011
My Device: Playbook
My Carrier: Employee

Re: QNXStageWebView

Please any one help me

Regular Visitor
Posts: 1
Registered: ‎10-20-2011
My Device: BlackBerry Playbook
My Carrier: WiFi

Re: QNXStageWebView

Hello,

 

try this:

 

webView.stage = this.stage;

 

Highlighted
Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Re: QNXStageWebView

also add webView.visible=true;