Don't stop the sound effect till it ends
PotatoesApps
Member Posts: 53
Hi brothers and sisters.
I have a button that runs a sequence and a sound effect.
When its running I press the button again and the sequence goes till last frame to start again... but the sound effect don't.
I need to know how to make the sound effect last the entire image sequence. or just play it till its finish.
Thnx !!
Comments
There should be a "run to completion" checkbox for the sound attribute.
twitter.com/RoShamBoFighter
facebook.com/RoshamboFighter
Thnx! I tried but it start again.
I mean, the button is pressed one time and it plays the sound , but when I pressed for second time "over the first sound", the sound starts again.
And what I need is to finish the sound playing with the animation.
Not sure if this is the best way to do it but you can put it inside a "For" timer.
For (timer)
{ Play Sound }
twitter.com/RoShamBoFighter
facebook.com/RoshamboFighter
Yeap! I can try it!
Thnx for the help!!
Ok, I get it.
The sound have to uncheck run to completion, but the trick is to have the sound in the sequence actor because of the (self.image) contains (frame rate) and not in the button.
Finished!!
Wiii