I am using the Playbook Air SDK 2.1.0, trying to capture a bitmap of the contents of my webview. This is what I have tried:
var bmd:BitmapData = new BitmapData(webView.viewPort.width, webView.viewPort.height);
webView.drawViewPortToBitmapData(bmd);
var bitmap:Bitmap = new Bitmap(bmd);
view.stage.addChild(bitmap);
However, the bitmap being added to the stage is always blank white. I am wondering if anyone has used the QNXStageWebView.drawViewPortToBitmapData() successfully on Playbook?