Skip to main content
Participating Frequently
May 17, 2007
Question

please help - little question

  • May 17, 2007
  • 2 replies
  • 190 views
Hi,
Does any one know how I can get my externally loaded sound to loop?
this is the code I have put together for the sound:

var shopMusic = new Sound (this);

shopMusic.loadSound ("RedCat.mp3", true);
shopMusic.setVolume (50);

Would be greatful for any help.
Thanks.
This topic has been closed for replies.

2 replies

einnepAuthor
Participating Frequently
May 17, 2007
I'm not familiar with that code yet, but I will have a crack at it... ;)
I just though there would be literally some kind of "loop" function.
Thanks for the help!
michaeltowse-D9Wc11
Inspiring
May 17, 2007
could you not use the soundComplete function to check when it has finished and then simply put the sound play command into a function and trigger it.

Just a thought...