# Repeating streamed mp3

**URL:** https://forum.kirupa.com/t/repeating-streamed-mp3/197346
**Category:** Uncategorized
**Created:** [August 15, 2006, 7:32pm UTC](https://forum.kirupa.com/t/repeating-streamed-mp3/197346 "2006-08-15T19:32:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tackafive](https://avatars.discourse-cdn.com/v4/letter/t/db5fbb/32.png) [@tackafive](https://forum.kirupa.com/u/tackafive)
#### Post date: [August 15, 2006, 7:32pm UTC](https://forum.kirupa.com/t/repeating-streamed-mp3/197346/1 "2006-08-15T19:32:12Z")

</div>

Hi,

I am streaming an MP3 file and would like to know how to have it repeat when the file is finished playing through.

Below is the code i’ve used:

var game\_sound:Sound = new Sound();  
game\_sound.onLoad = function(success:Boolean):Void {  
if (success) {  
trace(“Sound Loaded”);  
game\_sound.start();  
}  
};  
game\_sound.loadSound(“[http://www.domainname.com/test/cf\_whenthesunlovesthetrees.mp3](http://www.domainname.com/test/cf_whenthesunlovesthetrees.mp3)”, false);

Thanks in advance,

tackafive
