I'm trying to add sounds to musical notes as buttons in a flash MX movie... When I enable buttons in the fla file it works fine - when I xport however - I get no sound...
What's the story... I have put the sound file into the over stage of the button in the file ... It seems like this should work... But for some reason it's not.... I'm not super saavy with action scripting so wouldn't have a clue as to how to make these work using scripting unless someone could possible walk me through the process?? Any suggestions??
First, edit each button and add a shape in the Hit Frame to give your button a correct "hot spot", ( hit frame stays invisible in the movie), your button is only responding to the graphic shape at the mo.
i would take the sounds out of the button timeline.
open the Library and give each sound a Linkage Identifier.
and use the sound(object) on the button actionscript,
on(rollOver){
s =new Sound(this);
s.attachSound("IDname1");
s.start();
}
YOU ARE A GENIUS! I Love you I LOVE you I LOVE YOU!!
Thank you so much !! It works like a charm - You are a flash giant - I don''t care what anyone else says about ya!!
I searched for tutorials explaining this but they were all really complicated (for an actionscripting lame-o such as myself....)... perhaps you should write one...