# Help Please (music player)

**URL:** https://forum.kirupa.com/t/help-please-music-player/708
**Category:** flash
**Created:** [July 26, 2002, 11:43am UTC](https://forum.kirupa.com/t/help-please-music-player/708 "2002-07-26T11:43:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dark\_Ryu](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Dark\_Ryu](https://forum.kirupa.com/u/Dark_Ryu)
#### Post date: [July 26, 2002, 11:43am UTC](https://forum.kirupa.com/t/help-please-music-player/708/1 "2002-07-26T11:43:05Z")

</div>

Hi i am new to flash and would like to know, how do i make a music player for my site, with all the bottens.(play,stop ect)  
and i would also like to know how do i make it preload i have read some other posts and dont under stand a thing so could anyone plz explain so i understand.

thanks:rambo:

---

<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 26, 2002, 2:03pm UTC](https://forum.kirupa.com/t/help-please-music-player/708/2 "2002-07-26T14:03:44Z")

</div>

ok here’s a basic one, imports a wav and you can turn it off and on …there will be two differnt swfs here. MAKE SURE TO KEEP BOTH SWF"S IN THE SAME FOLDER 🙂

STEP 1: Make a movie 10 by 10 and import your sound wav into it. when you export the movie call it mainsound.swf

STEP 2: make a new movie. Inside the new movie create a MC called sound and drag it to the stage. name the instance on the stage sound, in the instance box

STEP 3: insert 2 frames …Frame 1 and Frame2  
inide the sound MC, now create a button in both of these frames.

STEP 4: in both frames put a stop action on a new layer and choose the text tool  
and type, sound on in the frist frame and sound off on the second frame.

STEP 5: click on the button in the first frame then right click and choose actions from the menu  
then put this code in the first button.

on (press) {  
unloadMovie("/sound");  
nextFrame();  
}

STEP 6: put this code in the second button on frame 2

on (release) {  
loadMovie(“mainsound.swf”, “/sound”);  
gotoAndPlay(1);  
}

Hope this gets you started! JesseH

---

<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 28, 2002, 9:13am UTC](https://forum.kirupa.com/t/help-please-music-player/708/3 "2002-07-28T09:13:07Z")

</div>

thanks alot for your help.:asian:

btw what do you mean by MC:(

---

<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 28, 2002, 4:33pm UTC](https://forum.kirupa.com/t/help-please-music-player/708/4 "2002-07-28T16:33:28Z")

</div>

That’s the first question I asked back in the old forum 😛  
MC=Movie Clip

Have fun

pom :asian:

---

<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 29, 2002, 1:19pm UTC](https://forum.kirupa.com/t/help-please-music-player/708/5 "2002-07-29T13:19:07Z")

</div>

thats correct…MC = Movie Clip
