How can I set up a button to turn off background music on my flash site? Now my whole site is going to be flash so will this be a problem?
Printable View
How can I set up a button to turn off background music on my flash site? Now my whole site is going to be flash so will this be a problem?
I’m read threw all the different ways to do this and I’m not seeing my way. What I want to do is “When my site is clicked on I have a background loop that starts right when site comes up and when end user is tired of hearing this loop I need a button to stop or pause”. Can’t seem to find this on this page.
Everything's there!
just simply have the sound start when the movie first loads.
Then have a button set to
stopAllSounds();
With this stopallsoounds will this stop all other sounds like button clicks, and sounds in different pages?
stopAllSounds() does just that, stop all playing sounds. If Flash encounters a new sound (such as a sound on a button pressed after the stopAllsounds() command was issued), then you should hear that sound, and any others Flash will encounter.
Ok one more question. Now I am getting the picture on this. Now where do I put this action script? I was trying to put in on the button but it won’t let me put action scripts on a button symbol.
Check the tutorial!
I went over and over tutorial and I’m still not getting results. Even when I copy and paste code I get errors in action script. What am I doing wrong? Can’t be this hard!
I was trying to upload site so someone can see what I’m doing wrong but it was to big. If anyone has Remote assistance or maybe I can e-mail site to you will do that. MSN ID is acidblue0@hotmail.com Can you do my button for me? Ok I finally gave up on this. Can someone check out my fla file and add the sound buttons for me? Use the buttons red and green in common library. So far I only have one sound imported so look in Sounds folder for heysong.wav I need background to start playing when movie is loaded and those buttons to turn off and on. NOTE this is a looping sound. Please don’t judge site this is my first one I try to build.
I really need for someone to show me how to do this before I break me MX cd-rom in half. I have try everything and I know it is one thing I am missing to make this work. READ ABOVE^
I've e-mailed you an address.
ok sending file now
Waiting! Waiting! But not all night!
I sent file? Maybe I sent it to wrong address.
Check your PMs!
Your .fla is empty! What do you want me to do?
I just check zip file and all 3 files are in there?????
Yeah! the .fla is there but empty! 0 bytes!
If it doesn’t work this time it might but because of hotmail. Limited space etc.
e-mailed again!!!!
YUP that is the problem because it just sent it back to me. Hotmail has a limit on attachments size. It is only 1.48megs
Don't include the .swf in the zip.
Or do you have server space where you can upload it and provide a link to download it from there?
I don’t have a sever space BUT with messengers we can easily send files back and forth.
Show me a place where I can upload on a webpage.
This one maybe!
https://lite.prohosting.com/
But do you have an FTP and know how to use it?
Can't you just delete unused items in your .fla and Save As... Under another name? How many kbs for the sound only?
Ok I went to site you sent and uploaded files. Check PM for username and password etc.
Sorry this ain't going to work out my friend...
I was expecting something like...
http://odin.prohosting.com/~oldnew/combo.zip
And going to bed soon!
do you have winrar?
damn you guyz were practically IMing each other.
Yeah having trouble-sending file to him so he can put a sound on/off button for me. lol
File is 1.48 Megs and this site is only letting you upload 1 Meg and his e-mail sever is hotmail, which is also 1 Meg limit.
I'm out of here!
For your info, I've uploaded files of more than 5MB on ProHosting!
And I do have an unrestricted regular e-mail, which I will not share here on FK!
Take that sound out of your .fla, Save as... Under a new name. and send me the sound seperately!
Otherwise I can't help you!
And all of this for a 2 frame movie clip!
Sheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeesssh!
Once again files are on the way. lol
You're not going to believe this... When I first tried to open your last e-mailed .fla, Hotmail reported the file was infected! Worked afterwards!
So don't see any sound buttons in there. You want me to set the whole thing up? Sound should start at the beginning and you want an on/off toggle button or 2 different buttons?
Should of used an mp3 instaed of wav.
I was told to use a wav file so I could make a perfect loop. Yeah just put sound button anywhere I will fix all that later. Question I was trying to save so room when I was trying to send file and I dragged my bitmap folder from library onto my desktop and now I can’t get it back in flash mx. The file is called scrap. How can I get this back in my library
This what you want?
http://blake.prohosting.com/~tektips...jectsHome.html
Give this time to load... You have no preloader!
YEAH YEAH!!! Send me that!! Check your PM for my e-mail address
E-mail sent!
I want to thank you again for your time at showing me this. It would have taken me a month to figure that out. Now I see what I have to do. To bad you don’t have Remote Assistance or pc anywhere. You could of showed me first hand. Thank!:)