Hi, everybody. Sorry for offtop, but i dont know what is doing(
I've main scene (_root), in which load some swf's...
My swf files have a lot of buttons
How can I add new properties for button, that when mouse rollover playing
special sound... I can write so:
button.onRollover = function(){
var sound:Sound = new Sound(this);
sound.attachSound("somesound");
sound.start(0,0);
}
but I've more buttons and I want to add new rule for all buttons, that
when RollOver playing sound, when RollOut - sound stop and delete sound.
I know that can do it, but how?
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/