How to - create a QNXStageWebView object with visible content.

by Retired on ‎06-16-2011 03:28 PM (2,537 Views)


Content rendered within a QNXStageWebView class is invisible for applications created using the BlackBerry® Tablet OS SDK for Adobe® AIR®.


As specified in the API reference guide for the constructor method, by default a QNXWebStageView object is invisible until it is attached to a stage, and until the viewport is defined.


Ensure that the viewport property of the QNXStageWebView class is set, and that the stage property is NOT null.  




mySwv = new QNXStageWebView("myBrowser");
mySwv.stage = this.stage;
mySwv.viewPort = new Rectangle(50,50,400,400);