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 Contributor
sudhakar2809
Posts: 4
Registered: ‎04-28-2011
My Device: Torch
My Carrier: AT&T

1119: Access of possibly undefined property enablejavascript through a reference with static type qnX.media:QnXStageWebView

I'm getting the following error while running the sample for qnxwebview under flash builder

 

1119: Access of possibly undefined property enablejavascript through a reference with static type qnX.media:QnXStageWebView

 

I checked the libraries and it looks like qnx-air.swc is included. Interestingly , other properties like viewport, stage are recongnized by the compiler.

 

Any ideas how i can solve this error.

 

Thanks in advance.

Please use plain text.
BlackBerry Development Advisor (Retired)
rmasroor
Posts: 172
Registered: ‎06-07-2010
My Device: BlackBerry 8520
My Carrier: Rogers

Re: 1119: Access of possibly undefined property enablejavascript through a reference with static type qnX.media:QnXStageWebView

Hello Sudhakar,

 

 

What version of Flash Builder and BlackBerry Tablet OS SDK are you using?

 

Can you attach some code snippet of your QNXStageWebView implementation. I would like to see how you are declaring you QNXStageWebView object and setting the enableJavaScript variable.

 

Looking forward to your reply.

 

Raihan Masroor

BlackBerry Development Advisor

 

Raihan Masroor
BlackBerry Development Advisor
Please use plain text.