-
SOUND not working in buttons FLASH MX
Hey Kids-
Hoping someone can help...
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??
I put the swf online -so you can view it at http://www.little-bohemia.com/swfs/kenny.swf
THe buttons that are supposed to be conjuring sound are the music notes on the left hand top of page....
I"ll be more than happy to send the fla file to anyone who thinks they might be able to offer some assisstance....
Thanks so much I'm beginning to feel a bit like Johnny Cash with these buttons being "what torture me..."
Cheers,
s
-
FK'n_dog
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();
}
hth
-
YOU ARE A GENIUS!
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...
Many thanks-
S
-
FK'n_dog
http://www.kennybellew.com/
this is an excellent reference for working with Sound Objects,
my _dog thanks you Much-ly for your Love,
he's so happy he's spontaneously combusted,
a useful tip : never pet a burning dog
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
|