# Problem with swapDepths and loadMovie

**URL:** <https://forum.kirupa.com/t/problem-with-swapdepths-and-loadmovie/189676>\
**Category:** Uncategorized\
**Created:** [June 5, 2006, 9:03am UTC](https://forum.kirupa.com/t/problem-with-swapdepths-and-loadmovie/189676 "2006-06-05T09:03:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![animatedken](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/animatedken/32/2466_2.png) [@animatedken](https://forum.kirupa.com/u/animatedken)\
**Post date:** [June 5, 2006, 9:03am UTC](https://forum.kirupa.com/t/problem-with-swapdepths-and-loadmovie/189676/1 "2006-06-05T09:03:03Z")

</div>

hi!

I read [a kirupa tutorial on swapDepths](http://www.kirupa.com/developer/actionscript/swapdepth.htm) and used the swapwindow\_final.fla it provided. It works great on its own.

But when I try to load swapwindow\_final.swf from loadMovie.swf, **the swapping effect is gone**.:h:

I did not change anything in swapwindow\_final.fla and I’m guessing that I need to make an adjustment with my loadMovie.fla, but I don’t know what to do. The code for loadMovie.fla is:

```auto
var file:String = "swapwindow_final.swf";
loadMovie(file,"loader");

```

I attached the FLAs here. Help please? 🍺
