Flash question.
- Started
- Last post
- 10 Responses
- erokcom
Morning friends.
Question..
Let's say you have some buttons in flash with sound. They are using the sound object.. Nothing reazy, just a simple rollOver sound.... When that button is clicked, you load in a video that has sound too..
Now, you video is playing and for the heck of it you mouse over the button again.....
What it's doing is taking the sound of the video out... OnRollover of the button..
How can that be?
Can someone give me advice?
- MX_OnD0
hmmmm strange...
are you using a stopAllSounds(); anywhere?
- rson0
stopAllSounds();
- rson0
duh .... guess i should of read MX_OnD post
- MX_OnD0
duh .... guess i should of read MX_OnD post
rson
(Nov 16 05, 05:35)many people make that mistake, you are absolved.
- rson0
haha thanks
- erokcom0
No, no stop all sounds....
:-(
Any idea?
- MX_OnD0
send me the FLA.
No promises but if it's quiet I'll take a scan for you.
- erokcom0
Ok.
- davi-t0
Make sure you don't have two instances that have the same name on screen, at the same time. It causes the interpreter to act buggy...one of the probs that happens is that the sound on buttons don't act like they should--even tho ur pulling out your hair saying "It shouldn't do that". It's documented on the Macromedia support pages. Run a trace and see what the names are of all instances at the time you are clicking that button.
- CyBrainX0
If you don't have two identical instance names, check how you attached the sound. I run into this misery all the time.
Let's say you set up your library linkage with the name "theme", export for action script in the first frame and put this script on a frame:
theme = new Sound(target_mc);
theme.attachSound("theme");
theme.start(0, 999);Make sure you attach your other sounds with different targets or you will run into problems trying to control those sounds.