# Problem with loading a external movie smaller then the main movie in size

**URL:** https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661
**Category:** Uncategorized
**Created:** [August 20, 2004, 11:52am UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661 "2004-08-20T11:52:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wheel](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@wheel](https://forum.kirupa.com/u/wheel)
#### Post date: [August 20, 2004, 11:52am UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661/1 "2004-08-20T11:52:59Z")

</div>

hi all. i need some help which might be too easy for u guys to answer:  
i want to load a 200x150 px external movie (home.swf) into a 500x300 px main movie (index.swf), and the home.swf supposed to be loaded at the position of (\_x =100, \_y=100) on level 2 of the index.swf, so i used this AS on a button somewhere on that index.swf:

on (release) {  
loadMovieNum(“home.swf”, 2);  
\_x = 100;  
\_y = 100;  
}

but it is not working at all. anything wrong with that AS? help please.

---

<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: [August 20, 2004, 12:08pm UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661/2 "2004-08-20T12:08:35Z")

</div>

hi scotty, u are always so helpful, can u help me once again?

---

<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: [August 20, 2004, 1:36pm UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661/3 "2004-08-20T13:36:52Z")

</div>

what ever movie you are loading needs to be loaded into an existing clip within index.swf…when loading another swf into a level of index.swf all the assets of home.swf are independent…

make an emptyclip and place it on the main stage where you want your home.swf to be, or specify its placement afterward if needed. Name this clip “holder”.

put this on your button

on (release) {  
\_root.holder.loadMovie(“home.swf”);  
\_root.holder.\_x = 100;  
\_root.holder.\_y = 100;  
}

good luck!

---

<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: [August 20, 2004, 2:13pm UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661/4 "2004-08-20T14:13:38Z")

</div>

thanks naderslim, i will try it out.

---

<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: [August 20, 2004, 2:17pm UTC](https://forum.kirupa.com/t/problem-with-loading-a-external-movie-smaller-then-the-main-movie-in-size/61661/5 "2004-08-20T14:17:01Z")

</div>

yes, it worked . thanks for ur great help naderslim.
