Hi,
I’m currently developing a new flash site which needs to be scaleable when a user resizes their browser window. I have a large image in the background which scales to suite the browser window… this part is all working fine.
My issue is that I need to have a 32px footer which sits at the bottom of the browser window.
I’m using actionscript 2.
My code on the first frame of my movie is as follows. This scales the background image and all works well:
==========================
stop();
this.onResize = function()
{
//-- Called when browser is resized.
this.myMovie._x = (Stage.width / 2) - (this.myMovie._width / 2);
this.myMovie._y = (Stage.height / 2) - (this.myMovie._height / 2);
};
Stage.scaleMode = “noScale”;
Stage.align = “TL”;
Stage.showMenu = false;
Stage.addListener(this);
this.onResize();
==========================
I just can’t find any code that allow the footer to stick to the bottom of the browser window.
Any help would be appreciated!!
Many thanks
Stephen