Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

Uh Oh... Major problem with iPad3 and BitmapData [HELP]

$
0
0

So.. I have some stageWebView elements that use BitMapData to capture a screenshot of the browser to allow for other elements to animate ontop of the browser ( sharing options, etc ).

 

When I capture this on the new iPad ... and add the bitmap to the stage the bitmap is zoomed in twice the size it should be.  Its not capturing the true viewport.  its zoomed in.

 

This is what I'm using to capture the bitmap.

 

 

     SocialbitmapData = new BitmapData(socialWebView.viewPort.width, socialWebView.viewPort.height);

          

     socialWebView.drawViewPortToBitmapData(SocialbitmapData);

     socialViewBitmap = new Bitmap(SocialbitmapData);

     addChild(socialViewBitmap);

 

 

 

Any help is appreciated


Viewing all articles
Browse latest Browse all 24121


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>