|
|
| AllDrak 2005-06-11, 7:20 pm |
| how can i attach 2 sound to a button 1 when i go over it and another when i press it
| |
| ewomack 2005-06-13, 4:22 am |
| Hm. I've never actually done this, but you should be able to make two blank key frames in the button window, and put the separate sounds in each keyframe. Test it out and see what happens.
| |
| mfrohlich 2005-06-13, 1:18 pm |
| quote: Originally posted by AllDrak
how can i attach 2 sound to a button 1 when i go over it and another when i press it
try using actionscript to attachSound to a variable:
mySound.new Sound(this);
myButton_btn.onRollOver = function() {
mySound.attachSound("name of Sound here");
mySound.start("",0);
}
myButton_btn.onRollOut = function() {
mySound.stop();
}
myButton_btn.onRelease = function() {
mySound.attachSound("nameofSound");
mySound.start("",0);
} | |
| jrouat 2005-06-13, 11:25 pm |
| yes I have done it with these buttons:
www.metal-frog.com
it works...
| |
| Bionicegg 2005-06-19, 11:17 pm |
| just dont do it, no one cares for sounds when they are navigating your site.
Its makes the file bigger, and takes longer to download, just my 2 cents...
--
Mark T. Johnson
Director/Developer
Bionic Egg Design
www.bionicegg.com
mark@bionicegg.com
"AllDrak" <webforumsuser@macromedia.com> wrote in message
news:d8fhvt$63o$1@forums.macromedia.com...
> how can i attach 2 sound to a button 1 when i go over it and another when
> i press it
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |