# \_level problem

**URL:** https://forum.kirupa.com/t/-level-problem/272365
**Category:** flash
**Created:** [October 4, 2008, 2:15pm UTC](https://forum.kirupa.com/t/-level-problem/272365 "2008-10-04T14:15:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![darkstyle](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@darkstyle](https://forum.kirupa.com/u/darkstyle)
#### Post date: [October 4, 2008, 2:15pm UTC](https://forum.kirupa.com/t/-level-problem/272365/1 "2008-10-04T14:15:42Z")

</div>

Hi  
Friends  
I have some problem with \_level

I am using this script to load an exteranl movie ( home\_page.swf ) in index.swf

layer 1  
( 1st frame ):

```php
nextMovie="dummy.swf";
//load the starting movie into level 1
loadMovieNum(nextMovie,1);

```

Layer 1 ( 2nd frame)

```php
onEnterFrame = function(){
//this makes sure that content 1 isn't already loaded
 if(_root.nextMovie!="home_page.swf"){
 //set the variable that holds the name of the movie to be loaded
 _root.nextMovie="home_page.swf";
 //tell the currently loaded content movie to play it's outro animation
 _level1.gotoAndPlay("outro");
}
}

```

which works perfectly fine.  
in index.swf on layer 10 i am having a movieClip animation but when i load the external movie it over lap the internal movieClip animation.

how can i slove this problem??
