PDA

View Full Version : on/off music button


red-eye
02-27-2003, 05:43 PM
simple problem (I think) : I have a mp3 loop in my site that comes from an external swf loaded on a higher level than my main scene
with this simple fonction on the first frame :
loadMovieNum("toon.swf", 10);
I would like to put an on/off button on my main scene to stop and play this loop anytime. Maybe the code could look like this? :
on (release) {
if .....
here the link to my site: http://pages.infinit.net/halow

thanks for helping
red-eye

Billy T
02-28-2003, 06:10 AM
_level10.soundObject.stop();