Playing sounds a couple of times

How do I play a sound say 3 times? I know how to loop, but how can I have it loop only a certain number of times?

Comments

  • SephirothSephiroth Fayetteville, NC, USA
    : How do I play a sound say 3 times? I know how to loop, but how can I
    : have it loop only a certain number of times?
    :
    In case you have yet to solve this problem, I would simply have it queue up three times in succession or use a variable to track how many times it needs to play and each time your app is notified of the sound stopping, decrement that variable and play it again.

    -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red][/b][/italic]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion