# Loading external swf file in a movie

**URL:** https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838
**Category:** flash
**Created:** [September 20, 2004, 5:55pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838 "2004-09-20T17:55:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![GFresh](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@GFresh](https://forum.kirupa.com/u/GFresh)
#### Post date: [September 20, 2004, 5:55pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/1 "2004-09-20T17:55:48Z")

</div>

I can’t find any tutorials on the web on this so I thought maybe someone on here might know how or maybe I just missed the one on this site.

I want to make a webpage in flash and have buttons on it that would showcase my animated cartoons I’ve done. For example, say the webpage is a giant TV with buttons on it. You click a button and then a cartoon from an external source (i.e. my webspace) loads on the TV screen.

Does anybody know how to do this or is this even possible?

Thanks.

---

<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: [September 20, 2004, 6:18pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/2 "2004-09-20T18:18:04Z")

</div>

Yeah that’s possible - loadMovie is used for that. It loads an swf to a movieclip on the stage. This will help: [http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm)

---

<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: [September 20, 2004, 7:47pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/3 "2004-09-20T19:47:39Z")

</div>

Thanks 🙂

---

<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: [September 20, 2004, 8:03pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/4 "2004-09-20T20:03:55Z")

</div>

You’re welcome 🙂

---

<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: [September 21, 2004, 3:07am UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/5 "2004-09-21T03:07:13Z")

</div>

Is there any way to resize the movie inside the new one? So I don’t have to resize the original, but make it smaller when it plays on the webpage?

---

<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: [September 21, 2004, 6:07pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/6 "2004-09-21T18:07:58Z")

</div>

You can adjust the \_width and \_height / \_xscale and \_yscale of the loaded movie, but, that only works after the content (jpg/swf) has completely loaded. And, it’ll distort your movie also. The best, but also the most time consuming way is to manually resize it.

---

<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: [September 21, 2004, 6:19pm UTC](https://forum.kirupa.com/t/loading-external-swf-file-in-a-movie/64838/7 "2004-09-21T18:19:04Z")

</div>

Ooh okay. If I have to manually resize them that might take me awhile. Might reconsider this idea. Thanks for your help, though.
