# Dynamically Assign Layer to loaded movie with AS3

**URL:** <https://forum.kirupa.com/t/dynamically-assign-layer-to-loaded-movie-with-as3/286153>\
**Category:** flash\
**Created:** [April 10, 2009, 9:03pm UTC](https://forum.kirupa.com/t/dynamically-assign-layer-to-loaded-movie-with-as3/286153 "2009-04-10T21:03:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Egomet](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Egomet](https://forum.kirupa.com/u/Egomet)\
**Post date:** [April 10, 2009, 9:03pm UTC](https://forum.kirupa.com/t/dynamically-assign-layer-to-loaded-movie-with-as3/286153/1 "2009-04-10T21:03:32Z")

</div>

Hello

I am loading a swf in my main timeline in Flash CS4 using the AS3.

However the movie appears on top of everything else, while I need it to be below everything else.

What is the way to specify a layer or order for the loaded swf?

Many thanks, any help really much appreciated.
