# Need help with loading a swf file

**URL:** <https://forum.kirupa.com/t/need-help-with-loading-a-swf-file/94415>\
**Category:** Uncategorized\
**Created:** [November 12, 2003, 12:26pm UTC](https://forum.kirupa.com/t/need-help-with-loading-a-swf-file/94415 "2003-11-12T12:26:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spider](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Spider](https://forum.kirupa.com/u/Spider)\
**Post date:** [November 12, 2003, 12:26pm UTC](https://forum.kirupa.com/t/need-help-with-loading-a-swf-file/94415/1 "2003-11-12T12:26:47Z")

</div>

I am a newbie in Flash.  
Here is the problem.  
I built a Flash movie. In that main flash movie, i want to load another small flash movie(movie.swf).  
I used the code: loadMovie(“movie.swf”,target).  
It worked fine. The only problem is that, the amination set out the small movie appears when i load it in the main flash movie.  
The target and the movie( movie.swf) have the same size.  
If i use a mask to hide any animation outside the movie(movie.swf), i have to make lot of changes. I have to make a mask for every graphic.  
Is there an easy way to solve this problem? Please help me.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 14, 2003, 5:55am UTC](https://forum.kirupa.com/t/need-help-with-loading-a-swf-file/94415/2 "2003-11-14T05:55:09Z")

</div>

Thanks jsk.  
That is what i was looking for.  
In my problem i loaded the swf file in the same level with the main movie. Thats why it went wrong. Thanks again.
