iamguyster
08-17-2006, 01:41 PM
Hi there,
I hope someone can help me with this as I have been banging my head for 24 hours and can't seem to figure out what the problem is.
I have a movie with several similar scenes. Each scene has little speakers on. These speakers are little movies of 3 frames. With the first frame having nothing but the speaker image and stop(). The third frame has GoToAndStop(1) and the speaker symbol, as well as a short piece of speech as a wav.
I place the little movie symbol on the scene and give it the following script.
on (press) {
stopAllSounds();
gotoAndPlay(3);
}
on (keyPress "<Space>") {
stopAllSounds();
gotoAndPlay(3);
}
The space press is there as I only have one speaker visible at any one time so it will activate the speech for that particular speaker.
Anyway...this works perfectly on Scene 1. When I press the speaker, the speech starts, or when I hit space.
But, On every other scene I drop the same speakers in with the same script and they don't work. They show up alright, but I don't get any speech. I find this wierd because it's exactly the same speaker movie as on Scene 1 and it has exactly the same script. The speaker movie is on the top of everything so there is nothing blocking it from being pressed.
Any suggestions?
The wavs and speaker movies are buried deep in a nice neat folder structure in the library, but I can't see that effecting it in any way.
Cheers,
Guy
I hope someone can help me with this as I have been banging my head for 24 hours and can't seem to figure out what the problem is.
I have a movie with several similar scenes. Each scene has little speakers on. These speakers are little movies of 3 frames. With the first frame having nothing but the speaker image and stop(). The third frame has GoToAndStop(1) and the speaker symbol, as well as a short piece of speech as a wav.
I place the little movie symbol on the scene and give it the following script.
on (press) {
stopAllSounds();
gotoAndPlay(3);
}
on (keyPress "<Space>") {
stopAllSounds();
gotoAndPlay(3);
}
The space press is there as I only have one speaker visible at any one time so it will activate the speech for that particular speaker.
Anyway...this works perfectly on Scene 1. When I press the speaker, the speech starts, or when I hit space.
But, On every other scene I drop the same speakers in with the same script and they don't work. They show up alright, but I don't get any speech. I find this wierd because it's exactly the same speaker movie as on Scene 1 and it has exactly the same script. The speaker movie is on the top of everything so there is nothing blocking it from being pressed.
Any suggestions?
The wavs and speaker movies are buried deep in a nice neat folder structure in the library, but I can't see that effecting it in any way.
Cheers,
Guy