PDA

View Full Version : On/off music button that play or stop in every scene


ruca
10-19-2005, 11:07 AM
Olá!!
I have a flash MX website, that is split into several scenes. I´d like to put a “music on/off button” in every scene that when the user press play or press stop the music will play or stop in every scene. Do someone can explain to me how to do it?
Thank you!

Ricod
10-19-2005, 09:26 PM
My advice is that you check the help file under sound.start(); and sound.stop();

Furthermore, if you search the forums you will find a lot of examples of which a majority has a full explanation.

It's easier if you don't work with scenes, but if you have to, I think the easiest way would then be to make a seperate controler swf and load it into another _level. (Or maybe you can attach a mc to a different level from the library ? I never needed to do that, so I never tried.)