Fullscreen troubles

I’m working on my first fullscreen Flash site and finding it very complicated.

At the moment I’m just playing around with some ideas and testing some scripts: http://cg.psdsliced.com/test1

I’ve showed it to about 6 different people and had a number of different opinions as to how it is looking in their browser/resolution, I use 1280x1024 resolution and for me currently everything looks fine, the background gradient takes up the whole screen - the bar at the bottom is there and the balls bounce off all 4 walls. In 1024x768 for me everything is fine except the balls only bounce off the top and left walls and disappear to the bottom/right.

i’ve had reports of in Firefox/1024x768 half the page being white or whatever, so the gradient must not be resizing itself and it the bar’s at the top ect and it generally looks pretty screwed (I have attached a screenshot of what one user saw)


This is basically the script I am using but obviously is not working so well so far:


fscommand(“allowscale”, false);
Stage.showMenu = false;
Stage.scaleMode = “noScale”;
Stage.align = “LT”;

this.onEnterFrame = function(){
var myHeight = Stage.height;
var myWidth = Stage.width;

ball._x = (myWidth / 2) - (ball._width / 2);
ball._y = (myHeight / 2) - (ball._height / 2);
bar._y = myHeight - bar._height;

gradient2._width = Stage.width;
gradient2._height = Stage.height;
gradient2._x = 0;
gradient2._y = 0;
}