Hi,
I’m trying to make a fullscreen flash webiste. I want the background symbol (bcGradient_mc) to resize to the browser size, but the rest of the content on the stage to remain untouched.
The actionscript works fine with flash player 8, but unfortunately I need this to work with flash player 6.
Here is the code I was using:
stop();
Stage.scaleMode = “noScale”;
var HPositioner:Number = (Math.round((Stage.width - 640) / 2));
var VPositioner:Number = (Math.round((Stage.height - 480) / 2));
setProperty(bgGradient_mc, _width, Stage.width);
setProperty(bgGradient_mc, _height, Stage.height);
var resizeListener:Object = new Object();
Stage.addListener(resizeListener);
resizeListener.onResize = function () {
setProperty(bgGradient_mc, _width, Stage.width);
setProperty(bgGradient_mc, _height, Stage.height);
}
Thanks.