Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 ViewsI made a button that makes a sound when you put your cursor over it. I test it out by pressing
Ctrl + Alt + B and then rolling my cursor over the button and it works, the sound is played. But when I test the .swf with Ctrl + Enter or Publish Preview - Html the sound won't play when I roll over the button.
I placed the sound within the button on a new layer at the top and it's placed in the Over keyframe.
Any ideas why it won't play?
Thanks you in advance guys.
Not sure what's wrong, but I do know your trying to make a button play a sound when you press it so,
check this out, it's some action script to attach sounds and play them using code rather then putting the code on the frames, you can also adjust volumes, decide which speaker the sound will play in and how much in each as well as stop just that one sound rather then all sounds with stopAllSounds()
Sound AS Tutorial
I
I'll check back in like an hour if your still having trouble. Give that a try though, I know it works, use it all the time :)