I have looked over all the tutorials and I don’t see one for a project I would like to do. I would like to have ONE OFF/ON switch that when my page loads, the music is on and my button says OFF and when you click it the word OFF turns to ON and cuts off the music and then if you click on the ON it will turn the sound back ON. I appreciate your help in this. I have tried inserting my movie clip in the button, but I’m missing the ON connection.
There is something funny going on with the download. From IE, it downloads as a fun file. From Opera, it downloads as a zip file and then you have to change the extension to fun. I don't know how it behaves with other browsers.
Hey guys,
Can we get back on track to what I was asking? lol I dont want a media player showing, it is STRICKLY a music file on start of site with an on/off switch. You know, like all the High end flash sites has. turn it off and then turn it back on if you want to hear the tune.
Maybe there is an easier way but one way is to create a 2 frame movie clip with a button in the first frame which says on and a button in the second frame which says off. The first frame has a stop movie action. The second frame has a stop movie action. The actions for the first button are to stop the sound and go to the second frame. The actions for the second button are to start the sound and go to the first frame.
Hey guys,
Can we get back on track to what I was asking? lol I dont want a media player showing, it is STRICKLY a music file on start of site with an on/off switch. You know, like all the High end flash sites has. turn it off and then turn it back on if you want to hear the tune.
BOB, I suspect it's Richard, the zip download thing is a bug in IE.
Anyway Jim, I did ask in my first post how you where loading the mp3 which you really didn't answer,However either way the concept is the same. Instead of targeting the mediaplayer, just put the name of the sound object instead should work the same, it's just a matter of tracking if it's playing stop and if it's not then play.
Are you loading the mp3 in the GUI or are you loading it via code? Would help if you can be more specific. You see if you are just loading it in the action panel, I'm not sure how to identify it in code. If you are creating a snd object then you know the name you give it in code.
And I wasn't aware that all the high end flash sites have mp3's playing as background... Why not use the mini mp3 player component it's tiny and has it's own pause/stop buttons.