# How can i load a movie that is inside the same flash file?

**URL:** https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805
**Category:** Uncategorized
**Created:** [August 6, 2003, 7:56pm UTC](https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805 "2003-08-06T19:56:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ICED\_T](https://avatars.discourse-cdn.com/v4/letter/i/43a26b/32.png) [@ICED\_T](https://forum.kirupa.com/u/ICED_T)
#### Post date: [August 6, 2003, 7:56pm UTC](https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805/1 "2003-08-06T19:56:36Z")

</div>

ok this is kind of cofusing but i’ll try to explain it right, I’m trying to load a movie called mainpage (mainpage is in the same libary as the rest) in to my mainpage, get it?

please help

---

<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 6, 2003, 8:03pm UTC](https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805/2 "2003-08-06T20:03:15Z")

</div>

So you want to load mainpage into itself? Why not external?

---

<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 6, 2003, 11:08pm UTC](https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805/3 "2003-08-06T23:08:48Z")

</div>

Well you would just use a gotoAndPlay command, direct it to a number on your timeline, then place the movie at that location on the timeline.

Not really ‘loading’, more like directing. You would load an external movie though.

Cheers!

FW

---

<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 6, 2003, 11:19pm UTC](https://forum.kirupa.com/t/how-can-i-load-a-movie-that-is-inside-the-same-flash-file/27805/4 "2003-08-06T23:19:22Z")

</div>

Recommended: Create the section as an external .swf and load it in via loadMovie() (as previously suggested)

Not Recommended, but you can: Right click on the clip on the library, choose “Linkage” and set it to “export for actionscript” and give it a linkage id name. Then you can call it via actionscript with attachMovie()
