If you just want one thing repeating I don’t see why putting the sound in at the beginning on a new layer and looping it x 999 would be affected by any other buttons.
There is something that I’d like to know however. I don’t want sound to come in at the beginning I want three buttons each with a separate loop assigned to it, and a fourth with ‘off’.
I know each button needs to have a stop all sounds to stop them repeating over each other. I know the off needs a ‘stop all sounds’. But - I don’t want to use goto commands because that will screw up other things in the site. I know then that I need to use tell targets or maybe insert the loops into the buttons themselves - anyone know how to do this?
Ypu don’t ahve to have a stop all sounds. Make three separt
swf’s with jsut your sounds looping in it. Have the code in your buttons unload layer 99 or what ever layer then load aone of your sound swf’s into that layer. Put this same code on each button and just change the swf you load. Your sound off button will just unload the MC in layer 99.
Ya see on your Urban Scrwal Web site you have a stop all sounds action on your off button right? What this does is kill the sound and you can’t turn sound back on untill you reload the whole site. What the other script I posted does is give you the option to turn it back if you choose. If the pseudo code I posted dosn’t work I’ll post the real code after work. Hope you get it working:)
You got it. There will be a entirely different swf for each sound. There two actions loadmovie and unload movie you can use in your buttons to load and unload different sounds. This technique is also great because you don’t have to have a layer for your sound. When it loads into the layer number you specify it plays until the loops run out or you click for a different sound. I’m at work right now but if you can hang tight for another 4 hours I can have the code posted for ya.
By the way nice site did you make it yourself?
PS The have a picture as you signature you just use HTMl tags
This is the code I have in my signature
Hey, thanks for ur help and guidance, i really appreciate it!
I was just wondering if it is possible if u send me a simple fla, it will make it much easier to understand, what we are trying to express here!!!
I have a feeling you have to press a button to activate the sound, what i want is the sound to play automatically, soon as the flash site loads up, but anyway we will deal with that later, can u plllsssss send me a simple fla, and maybe after we can figure out the rest???
Im still cant c how bringing in the sound as a seperate swf will continue to loop, despite hitting other buttons…but anyway…
Ya i’ll make you up something. If you go to this site http://www.theiquake.com/ you will see how I deal with sound. This site does load one loop off the start and that loop plays no matter where you go throuhg out the site. If you want a differnt loop you just select the differnet tracks at the top. You can also turn off the loops and then turn them back on. Clicking a navagation button has no effect on the sound.
PS. The site might take a little while to load. It was the first thing I built in flash before I knew all the ways to keep file size down.
okay I have the swf’s in the same file separately - but it doesn’t appear to be loading them. It is an empty layer that I am attempting to load them from, the names definitely correspond - just nothing happens when I click on the button with the code.
Any clues as to what could be up amigo?
Do I need to give a full file name or url or something??
If all the swfs are in the same file then you shouldn’t have to ahve more than titlename.swf in the load script. Also the layer that you load the sounds into doesn’t have to exist on the main time line. For the layer number just put in a high number like 99 or 999. If your number is to low you might load something on top of it and lose your sound. I’m making a quick example so just hang tight and I’ll have some thing for you to look at soon.
Thanks pal - tried downloading it last night but I think my computer, with four or five major applications open and running several web pages for over ten hours, just decided it had had enough and was being arsey about it.
It appears to be downloading happily now though, so I shall get back to you when it’s up so you can check it out - and yep, I designed the site myself, thanks for asking. No one appeared to deem it worthy of comment in the site check section (sigh).
Nobody ever comments in the site check section. I’ve post three differnt sites in there and nobody ever realy responds. The two people who ever realy do are lost in beta and Ilyse. I never saw your site there but I usaly check and comment there. It is a great site. I liked the dancer in the load screen.
What actions are u useing in your scroll box buttons. I have been trying to make up and down buttons that when you hold it will scroll for a while. Could you mabye post the code or an fla with how you made those. That would be great.
I’m gone for a day or two so good luck with the sound stuff and if you could make something up with how you made your text scroll box that would be most excellent.
The scroll box thing got on my nerves for ages - and I couldn’t find a tut for it anywhere - but I will happily post something on it for when you get back.
I still can’t get the **** sound to work - it seems so easy, and I had pretty much done what your flash did - but for some reason I’m still getting ‘target not found’ which is really beginning to Jack me Off. As far as I can see there is absolutely no reason that it shouldn’t work. Any clues??
Still can’t seem to get that footer to work - though it does in another forum - curiouser and curiouser…
nope - not yet, I’m wondering whether or not it has anything to do with the number of layers I’m using, any new layer comes up as Layer 178 or something because the site is quite big now, so the number it’s loaded into has has to be higher than that. I’m wondering if there are problems there.
I got a small version working but not one that works on the main site.
Hey I’m Back. If your layers are starting at 178 try loading your sounds into layer 999 or even a little higher. If you try to load onto and ocupied layer it won’t work.
That iEQ site was the first thing I ever did in Flash. It may look nice and have a cool load in but it is far from good. That site is so big in file size and so poorly laid out I can’t belive it even works. I really didn’t know what I was doing when I built that site. All that iEQ site realy is are a bunch of motion tweens and goto actions. My new site is much more advanced and better laid out.
YA any info on how you got it to scroll on a press and hold would be great.