# Stacking manually authored moveclips above dynamically authored

**URL:** <https://forum.kirupa.com/t/stacking-manually-authored-moveclips-above-dynamically-authored/250166>\
**Category:** flash\
**Created:** [January 26, 2008, 8:15am UTC](https://forum.kirupa.com/t/stacking-manually-authored-moveclips-above-dynamically-authored/250166 "2008-01-26T08:15:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tempyyyst](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tempyyyst](https://forum.kirupa.com/u/tempyyyst)\
**Post date:** [January 26, 2008, 8:15am UTC](https://forum.kirupa.com/t/stacking-manually-authored-moveclips-above-dynamically-authored/250166/1 "2008-01-26T08:15:52Z")

</div>

I’m trying to place a manually authored clip above a set of dynamically generated one, but at the moment the dynamically authored ones are always on top, even if the layer that generates them is below the manually authored layer.

I’m using code based on the random motion tutorial here on [Kirupa.com](http://Kirupa.com) so as far as I can tell each of the dynamically generated clips has a depth of 0-99.

```auto

    i = 0;
while (i<100) {
    square.duplicateMovieClip("square"+i, i),setMask(myMask);
    i++;
    }

```

All I want to do is place a layer above these clips which obscures them and then alpha tweens and I assumed it would be easier to manually place the clip on the stage. Is this possible or do I have to resort to writing in all the clips with actionscript? { Disclaimer: my AS is not hot }

Thanks in advance.
