# Help with loading movies

**URL:** https://forum.kirupa.com/t/help-with-loading-movies/26651
**Category:** Uncategorized
**Created:** [July 25, 2003, 1:42am UTC](https://forum.kirupa.com/t/help-with-loading-movies/26651 "2003-07-25T01:42:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![arianna](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@arianna](https://forum.kirupa.com/u/arianna)
#### Post date: [July 25, 2003, 1:42am UTC](https://forum.kirupa.com/t/help-with-loading-movies/26651/1 "2003-07-25T01:42:51Z")

</div>

hi everyone!

I just had two questions…first I was loading a sound into my movie by

1. placing the sound in a separate and saving it with a name ex. sound.swf
2. then on my original movie on a new layer I placed an action script in the  
first frame…loadmovie(“sound.swif”,1)  
but it is not working?
3. I have done this before but I cannot remember if I am missing something!

Now if I am right, once I have the sound loaded in how can I make the  
sound stop once the view clicks on to a new scene of my movie?

I have checked creating a sound bar…but that forces a user to manually turn  
the sound on and off.  
I have checked the tutorial how to load a movie but I don’t want the view to bring in the sound I just want it to play then have the choice of turning it of or  
on.  
I have also checked the tutorial creating a sound bar but thats not helping me…anyone out there please try to answer my three questions above

---

<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 25, 2003, 3:17am UTC](https://forum.kirupa.com/t/help-with-loading-movies/26651/2 "2003-07-25T03:17:30Z")

</div>

Why not just load it dynamically?

Define a sound variable

```auto

music = new Sound();

```

Then give it an address

```auto

music.loadSound("http://www.mywebpage.com/mymp3file.mp3", true);

```

or

```auto

music.loadSound("C:\myfolder\mymp3file.mp3", true);

```
