im using this actionscript to resize a background image to the size of the web browser (full page flash). it works fine but does not take effect until you manually adjust the browser window. i have tried using: stageListener.onResize(); but the movie does not load. any ideas what im doing wrong? thank you
container.loadMovie(“test.swf”);
Stage.align = “LT”;
Stage.scaleMode = “noScale”;
stageListener = new Object();
stageListener.onResize = function() {
stretchBG();
};
Stage.addListener(stageListener);
stretchBG = function () {
container._width = Stage.height*1.5;
container._height = Stage.height;
};