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…