# Loading Movies

**URL:** https://forum.kirupa.com/t/loading-movies/114350
**Category:** Uncategorized
**Created:** [June 27, 2004, 10:40pm UTC](https://forum.kirupa.com/t/loading-movies/114350 "2004-06-27T22:40:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fiery\_rockstar](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@fiery\_rockstar](https://forum.kirupa.com/u/fiery_rockstar)
#### Post date: [June 27, 2004, 10:40pm UTC](https://forum.kirupa.com/t/loading-movies/114350/1 "2004-06-27T22:40:12Z")

</div>

How do I go about loading a movie from another location within a flash document? I read the tutorial on making a full flash site but I’m a complete newbie to flash so it didn’t really help!

Cheers, J

---

<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: [July 7, 2004, 12:21am UTC](https://forum.kirupa.com/t/loading-movies/114350/2 "2004-07-07T00:21:31Z")

</div>

How would I take the following code :

but.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“loaded.swf”, “container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}

Except to unload the movie? Also is there anyway of making a pause button?

---

<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: [July 7, 2004, 12:29am UTC](https://forum.kirupa.com/t/loading-movies/114350/3 "2004-07-07T00:29:58Z")

</div>

if you want to unload a movie with a button, do this:

button.onRelease = function () {  
container.unloadMovie();  
};

pause buttons could be done something like this:

button.onRelease = function () {  
container.stop();  
};

then just start it again with play();
