# Loaded media player faulty

**URL:** <https://forum.kirupa.com/t/loaded-media-player-faulty/128611>\
**Category:** Uncategorized\
**Created:** [November 14, 2004, 6:40pm UTC](https://forum.kirupa.com/t/loaded-media-player-faulty/128611 "2004-11-14T18:40:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nOoB](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@nOoB](https://forum.kirupa.com/u/nOoB)\
**Post date:** [November 14, 2004, 6:40pm UTC](https://forum.kirupa.com/t/loaded-media-player-faulty/128611/1 "2004-11-14T18:40:59Z")

</div>

Hiya!

I’m having this really annoying problem: I load a media player into my main swf, which works. The only problem is that if someoen for some reason decides that he/she doesnt want to listen to the music, and then later on wanna listen again, that wont work, the play button doesnt work.

On the \*\*frame \*\*that the music is supposed to be played on i have this code:

mySound = new Sound();  
mySound.attachSound(“snd1”);  
mySound.start();

and on the \*\*stop \*\*button i have this code:

on (release) {  
mySound.stop();  
}

and on the \*\*start \*\*button i have this code:

on (release) {  
mySound.start();  
}

why isnt the play button working when i load the music swf with the code above into my main flahs file?
