-
Backgrounds Sounds vs. Button Sounds
Hi!
I have tried browsing briefly through the forum, but failed locating anything similar to my issue.
I have a background music playing, and buttons that makes different noises when you roll over them. The issue is that I can't stop ONLY the buttonsound when you scroll away from the button.
The code looks like this:
------------------------------
on (press, release) {
gotoAndStop(215);
}
on (rollOut)
{stopAllSounds();}
------------------------------
I'm aware that it is the stopAllSounds that makes all sounds stop, the key is to make a code that stops only the button sound.
Cheers!
-David
Last edited by DBygnes; 05-13-2005 at 01:45 AM.
-
Can't Re-Member
you need to define the sound objects first. then you can control them independently...
check out this site it will give you all the info you need about defining sound objects and controlling them independently:
http://www.kennybellew.com/tutorial/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|