# Loading external swf's within swf's...many times over!

**URL:** <https://forum.kirupa.com/t/loading-external-swfs-within-swfs-many-times-over/178475>\
**Category:** Uncategorized\
**Created:** [February 10, 2006, 8:39pm UTC](https://forum.kirupa.com/t/loading-external-swfs-within-swfs-many-times-over/178475 "2006-02-10T20:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ovalteens](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@ovalteens](https://forum.kirupa.com/u/ovalteens)\
**Post date:** [February 10, 2006, 8:39pm UTC](https://forum.kirupa.com/t/loading-external-swfs-within-swfs-many-times-over/178475/1 "2006-02-10T20:39:07Z")

</div>

Hey kids,

I have a probelm that’s killing me. PLease try to help my lame \*\*\*.

(see attached zip file for examples)  
I have a swf called main.swf. Into that swf, you click a button and it loads movie1.swf into a movie instance called “loader”. That works fine.

The problem comes when I have a button inside movie1.swf that tries to load movie2.swf into a movie instance called “secondloader”. I guess my coding is wrong. I’ve tried using \_parent.loadMovie and \_root.loadMovie and none of it works. Open the zip file and you can see the flas and swfs and such. Below is my coding:

code for movie1 button inside of movie2.swf

on (release) {  
loadMovie(“movie1/movie1.swf”, “loader”);  
}

code for movie2 button inside of movie1.swf

on (release) {  
\_parent.loadMovie(“movie2/movie2.swf”, “secondloader”);  
}
