I’m trying to draw the second half of the screen into the first using bitmap data. here is my code:
var screenData:BitmapData = new BitmapData(275,400);
screenData.draw(root,null,null,null,new Rectangle(275,0,275,400));
var screenBitmap:Bitmap = new Bitmap(screenData);
addChild(screenBitmap);
this image explains my problem:
http://afro-ninja.com/nsr/bitmapdraw_problem.jpg
- this is what the stage looks like
- this is what I want the stage to look like after the code executes
- this is what actually happens
I have a suspicion that it might involve using a matrix, but they’re pretty foreign to me…
thanks for any help!