# Pop up ..please need help

**URL:** <https://forum.kirupa.com/t/pop-up-please-need-help/19121>\
**Category:** Uncategorized\
**Created:** [April 24, 2003, 1:19pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121 "2003-04-24T13:19:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![conty](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@conty](https://forum.kirupa.com/u/conty)\
**Post date:** [April 24, 2003, 1:19pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/1 "2003-04-24T13:19:56Z")

</div>

I need help please

I have a scene whit two button.  
Each button load a external movie for example:

on (release) {  
loadMovieNum(“playattachedsoundsh.swf”, 1);

}

My problem is that I do not want the movie to be loaded and  
level 1, … b’cos is just a simple play and stop button…  
so ,I would like to be open it on a pop up window.

My Q is this.  
Is there a posibility for this ? if so I would like to know please  
code or any help will be appreciate…😉

tks a lot

---

<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:** [April 24, 2003, 1:22pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/2 "2003-04-24T13:22:36Z")

</div>

on (release) {  
loadMovieNum(“playattachedsoundsh.swf”, 1);  
}

is used for loading an movie INSIDE the movie itself,  
try using the getURL instead…

```auto

on (release) {
    getURL("www.mypage.com/blabla.swf", "_blank");
}

```

---

<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:** [April 24, 2003, 2:45pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/3 "2003-04-24T14:45:40Z")

</div>

no your are loading your sound wrong go to [http://flashkit.com](http://flashkit.com)  
and read about the Sound Object it is very powerful if used correrctly. if you are still having a problem repost and i will write you the code you need

---

<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:** [April 24, 2003, 5:55pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/4 "2003-04-24T17:55:16Z")

</div>

tks a lot guys for advice

Digitalosophy , a need to load the sound object like that be cos is a big fat MP3 (1,64 MB) and i need a pleroader for it, to be more clear,but nothing is working well.

Please if you have time tell me please the best way to load a external mp3 with a preloader on a pop up window.  
I find some tutorials for that but i get confused.

tks again for 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:** [April 24, 2003, 6:09pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/5 "2003-04-24T18:09:29Z")

</div>

best sound tutorial ever =)

[http://www.flashkit.com/tutorials/Audio/Flash\_MX-Kenny\_Be-824/](http://www.flashkit.com/tutorials/Audio/Flash_MX-Kenny_Be-824/)

---

<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:** [April 24, 2003, 8:37pm UTC](https://forum.kirupa.com/t/pop-up-please-need-help/19121/6 "2003-04-24T20:37:01Z")

</div>

ok let me start by saying that you need to get rid of that big fat mp3 ☹ Mp3’s are no good for flash becasue when you loop it there is a skip and the loop does not sound true. 2nd that is way to large for a sound file. 3rd if you are going to inssit on using it here is the script (you can use this for anything with sound)

here are the steps:

step1=  
\*import the sound file you are gong to use  
\*go to your library right click on sound file and go to linkage  
\*identifier name= bgSound  
\*make sure export for actionscript as well as export in first frame is checked

step2  
\*go to an empty frame in your timeline and type this code

mySound=new Sound()  
mySound.attachSound(“bgSound”)  
mySound.start(0,999)

* * *

Now if you want your sound to start through a button event just type this on your button and dont type the last line on the code above (mySound.start(0,999))

on(release){  
bgSound.Start(0,999)  
}

\*To stop your sound simply make a stop button with these actions

on(release){  
bgSound.stop  
}

There ya go man if you need help preloading it let me know. hope i helped
