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
Trusted Contributor
bdaemon
Posts: 152
Registered: ‎02-23-2011
My Device: dev alpha playbook 9500 8300

about QNXStageWebView

How to put Controler ,such as Button , over the QNXStageWebView?

How to  enable QNXStageWebView to response the MouseEvent.Click?

How to  use the QNXStageWebView .userStyleSheet ?   a CSS file  or  some String  can make it work ?

 

here is  my case:

 

QNXStageWebView is fullscreen in my app ,and  load a html file ,

i want to use "userStyleSheet " to change the default CSS style  of this  "html file"

i want to show some Buttons to let the end-user do same actions ,when they click the QNXStageWebView.

 

but now, the QNXStageWebView  is always at the top of the screen, (zorder = 0 ) and

click not fire, even when i set the addEventListener(MouseEvent.Click).

and "userStyleSheet "  is no reply, after i tried many times, the api document  have little thread.

 

how to do ? 

 

thanks in advance.

 

 

Trusted Contributor
bdaemon
Posts: 152
Registered: ‎02-23-2011
My Device: dev alpha playbook 9500 8300

Re: about QNXStageWebView

another two questions :

Q1, I set the QNXStageWebView.defaultFontSize to 28 in landscape mode , and load a html file ,it work fine, but when change to portrait mode, the font size become small , so i have to reload the file in portrait again .how to prevent reload ?

Q2 how to save the QNXStageWe​bView. screen to a bitmap ?
where is the " drawViewPortToBitmapData " in QNX platform?
Contributor
dsokhan
Posts: 36
Registered: ‎07-06-2010
My Device: Blackberry Playbook tablet

Re: about QNXStageWebView

Hi bdaemon,

 

I am interested in Q2 answer. Have you got some solution?

 

Thank you.