PDA

View Full Version : Looping last bit of a scene but I only want to trigger sound to play once?


Jim Curtis
01-16-2007, 10:36 PM
:confused: Hi Is this possible?

I need to Loop the last end bit of a scene but only want to trigger a sound file to play once along with it?

As well as my scene end looping, my audio keeps looping / thus multiplying!

Any help please!

Regards Jim

red01
01-23-2007, 02:07 AM
use the Sound object.

and do something like

sudo coe

var newSnd:Sound;
newSound.attachSound("souundFile")

if isFirstLoop

newSound.play();

isFirstLoop = false