hi guys,
i have a button in a movieclip (instance name = mediaplayer) which i want to play an mp3. that button has the following actions applied to it:
on(release){
myMusic.loadSound("soundtrack.mp3", true);
}
however it doesnt work - i dont even get an error message when i test the movie and click on the button.
ive tried…
on(release){
mediaplayer.myMusic.loadSound("soundtrack.mp3", true);
}
…and…
on(release){
myMusic.mediaplayer.loadSound("soundtrack.mp3", true);
}
…but it doesnt work.
ive usd this in other sites before and it has always worked - the only thing im doing differently is that this time the button is in a movieclip.
any suggestions?
many thanks,
mark