# Fluid Layout - Stop moving after certain x/y coordinate?

**URL:** <https://forum.kirupa.com/t/fluid-layout-stop-moving-after-certain-x-y-coordinate/291419>\
**Category:** flash\
**Created:** [June 29, 2009, 3:44pm UTC](https://forum.kirupa.com/t/fluid-layout-stop-moving-after-certain-x-y-coordinate/291419 "2009-06-29T15:44:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUNZ1](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BUNZ1](https://forum.kirupa.com/u/BUNZ1)\
**Post date:** [June 29, 2009, 3:44pm UTC](https://forum.kirupa.com/t/fluid-layout-stop-moving-after-certain-x-y-coordinate/291419/1 "2009-06-29T15:44:25Z")

</div>

I have a fluid layout and I have buttons and things on the top right. When the person resizes the window down, they all jump on top of each other. How would I get them to stop after they get to the point of overlapping each other?

If you go here: [http://www.ciriljazbec.com/](http://www.ciriljazbec.com/)

And go to their main page. When you resize your browser down, the elements stop at a certain point and just get cut off. How do I achieve this effect?

I’m thinking somewhere along the lines of using an enter\_frame listener to detect the x and y coordinates of these elements, and when it hits a certain coordinate to remove the listener that moves these elements. Can someone point me in the right direction?
