Sound in an image buttom

Hi,

I have a great little flash button that has a star on it that turns when the mouse touches it. I now what to add a little 'click’sound to this.

I have treied but so far no luck. It is just one image and not a Rollover button however there is action as the star turns. I found it in the Dreamweaver Flash stuff.

I will post the file it you like.

Any help please?

oz

import your sound to the library…
right click it >> linkage >> export for AS…
give it an identifier of “star” with out the quotes…

on your button:


on(release) {
     starSound = new Sound(this);
     starSound.attachSound("star");
     starSound.start(0,1);
}