# Resolution big problem!

**URL:** https://forum.kirupa.com/t/resolution-big-problem/233555
**Category:** flash
**Created:** [July 24, 2007, 9:51pm UTC](https://forum.kirupa.com/t/resolution-big-problem/233555 "2007-07-24T21:51:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![KDS](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@KDS](https://forum.kirupa.com/u/KDS)
#### Post date: [July 24, 2007, 9:51pm UTC](https://forum.kirupa.com/t/resolution-big-problem/233555/1 "2007-07-24T21:51:04Z")

</div>

hi friends,

I am working on ViewSonic [LCD] at resolution of 1280x1024. good!

I am making full flash website. it’s working good on my pc.  
when um opining it on laptop resolution appear low.

ActionScript Code:

import flash.display.BitmapData;

cover.\_x = Stage.width / 2;  
cover.\_y = Stage.height / 2;

var tile:BitmapData = BitmapData.loadBitmap(“tile”);

function fillBG() {  
this.beginBitmapFill(tile);  
this.moveTo(0,0);  
this.lineTo(Stage.width,0);  
this.lineTo(Stage.width,Stage.height);  
this.lineTo(0,Stage.height);  
this.lineTo(0,0);  
this.endFill();  
}

fillBG();

var stageL:Object = new Object();  
stageL.onResize = function() {  
fillBG();  
cover.\_x = Stage.width / 2;  
cover.\_y = Stage.height / 2;  
}

Stage.addListener(stageL);

what’s wrong…
