# Aligning to Top

**URL:** https://forum.kirupa.com/t/aligning-to-top/220570
**Category:** flash
**Created:** [March 27, 2007, 2:25pm UTC](https://forum.kirupa.com/t/aligning-to-top/220570 "2007-03-27T14:25:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dstort1](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@dstort1](https://forum.kirupa.com/u/dstort1)
#### Post date: [March 27, 2007, 2:25pm UTC](https://forum.kirupa.com/t/aligning-to-top/220570/1 "2007-03-27T14:25:30Z")

</div>

Is it possible to force movieclips to be aligned to the top of your swf? but not have them overlap, so they stack underneath?

For example, i have 4 movie clips on my stage, the stage is 800px tall. the movie clips are about 150px tall. How through actionscripting how would i force them so that the top movieclip aligns to the top of the stage, and then the rest align directly under it?

The 4 movieclips are also dynamically re-arrangeable. You can drag them into a different order.
