Flash Background
Flash Background
- Started
- Last post
- 5 Responses
- lorem_ipsum
I'm trying to duplicate the way this flash site works in the way that the background expands yet the nav stays relative, when ever the browser window size is changed. Can anyone help?
Thanks
- FallowDeer0
its all done with stage.width and .height positions and that will keep the menu and text etc... to the same position even if its resize, again the same is done with the background image but with scale
- kult0
var navBar:Sprite = new Sprite();
addChild(navBar);var nav = new Navigation();
navBar.addChild(nav);stage.addEventListener(Event.RES... resizeUI);
function resizeUI(event:Event) {
navBar.x = stage.stageWidth - navBar.width;
}
- lorem_ipsum0
Thanks Guys
- PromotionalUseOnly0
this will stop you going mad too...
Stage.align = "TL";
Stage.scaleMode = "noscale";