# Stage resize - minimum size

**URL:** <https://forum.kirupa.com/t/stage-resize-minimum-size/255269>\
**Category:** flash\
**Created:** [March 20, 2008, 4:28pm UTC](https://forum.kirupa.com/t/stage-resize-minimum-size/255269 "2008-03-20T16:28:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fr\_ode](https://avatars.discourse-cdn.com/v4/letter/f/9d8465/32.png) [@fr\_ode](https://forum.kirupa.com/u/fr_ode)\
**Post date:** [March 20, 2008, 4:28pm UTC](https://forum.kirupa.com/t/stage-resize-minimum-size/255269/1 "2008-03-20T16:28:19Z")

</div>

Hi. Happy easter! 🙂

I’m building a fluid flash layout with the help of a stageListener object. Some of the elements resizes with the stage, others stay the same. When the Stage drops below a certain size (700 x 550px) I need all elements to stop resizing to avoid things running into each other.

I’ve tried putting an if statement inside the stageListener object, but onResize only occurs when I release the mouse after resizing. It’s giving me problems, since the moment you release the mouse you might have resized the screen below my minimum limits.

Any ideas how I might set it up?
