My sound only plays a few secs!

I’ve posted how i’ve had a problem ealier with my buttons. The sound coming out of it on OVER only plays for like 2 secs! can someone help me plz? Here’s the fla.

i dont have flash on this pc, but here goes…

if you attach your sound like this you will be okay

right click your sound in your library and go to linkage. give it a name of buttonSound

timeline:


mySound = new Sound()
mySound.attachSound("buttonSound");

button.onRollOver = function(){
mySound.start(0,1);// 1 loops it once
}

hope that helps :slight_smile:

I’ll go try that right now, thanks :slight_smile:

which linkage do I use? There’s:
Export for Action Script
Export for time sharing
import " "

another thing, I would appreciate it if someone could tell me WHY it only beeps twice or so.

Just check the “Export for Action Script” option and hit OK.

Actually, can someone tell me why the sound in the .fla wont work?

there ya go

I’m so sorry for asking so many questions and appear to be unappretiative (that a word?). I here by, thank you ALL, EVERYONE from Kirupa, even one’s I haven’t met! THANK YOU THANK YOU THANK YOU!!!

And, ty for fixing the thing as well, I will now dicsect it ^^