# Liquid Design Layout

**URL:** <https://forum.kirupa.com/t/liquid-design-layout/308791>\
**Category:** flash\
**Created:** [April 30, 2010, 7:19am UTC](https://forum.kirupa.com/t/liquid-design-layout/308791 "2010-04-30T07:19:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m3ks](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@m3ks](https://forum.kirupa.com/u/m3ks)\
**Post date:** [April 30, 2010, 7:19am UTC](https://forum.kirupa.com/t/liquid-design-layout/308791/1 "2010-04-30T07:19:00Z")

</div>

O.k. so what Im trying to accomplish is something like this: [http://amoled.samsungsdi.com/](http://amoled.samsungsdi.com/)

if you enter and skip the intro you come to the site, and when you shrink the browser, the navigation moves with it, untill at a certain point, it stops moving, and stays put unless you maximize the browser again…

i’ve been reading about liquid layouts and have got to the first point where i can have my movie clip centered while maximizing background, but, i dont know how to stop it from moving once the browser is resized to a certain point.

here is the website: [www.meksiva.com](http://www.meksiva.com)

here is my code: (as 2.0)

Stage.align = “TL”;  
Stage.scaleMode = “noScale”;  
sizeListener = new Object();  
sizeListener.onResize = function() {  
underConstruction.\_x = Stage.width/2  
underConstruction.\_y = Stage.height/2  
navGroup.\_y = Stage.height/4  
navGroup.\_x = Stage.width/4

};  
Stage.addListener(sizeListener);

is their a way to have more control over this without using /2 /3 /4… etc… if you notice when you click the window to resize, it moves the navGroup.

the actionscript is weak, i know, but any advice would be great to have better control over a liquid layout.

thanks in advance!

:beard:
