# Help needed in loading swfs..into flash file

**URL:** <https://forum.kirupa.com/t/help-needed-in-loading-swfs-into-flash-file/148175>\
**Category:** Uncategorized\
**Created:** [May 17, 2005, 4:53pm UTC](https://forum.kirupa.com/t/help-needed-in-loading-swfs-into-flash-file/148175 "2005-05-17T16:53:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akj](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@akj](https://forum.kirupa.com/u/akj)\
**Post date:** [May 17, 2005, 4:53pm UTC](https://forum.kirupa.com/t/help-needed-in-loading-swfs-into-flash-file/148175/1 "2005-05-17T16:53:22Z")

</div>

Hi …

I am making one flash presentation…  
I have 4 files…main…pre1…pre2…pre3…i am loading pre1, pre2 and pre3 on the first frame of main file.  
the code is…

```auto
 loadMovieNum("pre1.swf", 9); 
loadMovieNum("pre2.swf", 10); 
loadMovieNum("pre3.swf", 11);

```

and last frame of main.fla…

```auto
 stop(); 
_level9.mainmovie.gotoAndPlay("start");

```

On pre1…first frame…

```auto
stop(); 

```

action and…movieclip are there…

Inside that movie clip…  
first frame…

```auto
stop(); 

```

ans second frame…with lable name START…

on every button…to proceed to the next step the code is…

```auto
 on(release) 
{ 
_level9.mainmovie.gotoAndPlay("step0n"); (n is the number) 
}

```

and the last button of pre1 has…

```auto
on (release) 
{ 
	_level10.mainmovie10.gotoAndPlay("step04"); (where step04 is in the pre2 file...) 
 
}

```

and last frame of the pre1 has this code…

```auto
 stop(); 
_level10.mainmovie10.gotoAndPlay("start2");

```

where “start2” is the lable name on the second frame of movieclip…which is in file pre2

Pre2 and Pre3 has the same file structures and coding…  
The problem is…when presentation plays on its own (without clicks)…it goes smoothly…but when user proceeds with the clicks…then…pre2.swf loads automatically twice…means when pre2.swf is playing…somewhere between pre2 will b loaded again and it will b repeated…

can anybody tell me whats the problem here…  
Help would be appriciated…  
Thank you…
