# Copying the second half of the screen to the first

**URL:** https://forum.kirupa.com/t/copying-the-second-half-of-the-screen-to-the-first/272248
**Category:** flash
**Created:** [October 3, 2008, 6:59am UTC](https://forum.kirupa.com/t/copying-the-second-half-of-the-screen-to-the-first/272248 "2008-10-03T06:59:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AfroNinja](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@AfroNinja](https://forum.kirupa.com/u/AfroNinja)
#### Post date: [October 3, 2008, 6:59am UTC](https://forum.kirupa.com/t/copying-the-second-half-of-the-screen-to-the-first/272248/1 "2008-10-03T06:59:57Z")

</div>

I’m trying to draw the second half of the screen into the first using bitmap data. here is my code:

```auto

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](http://afro-ninja.com/nsr/bitmapdraw_problem.jpg)

1. this is what the stage looks like
2. this is what I want the stage to look like after the code executes
3. 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!
