# Need help looping a externally loaded song

**URL:** https://forum.kirupa.com/t/need-help-looping-a-externally-loaded-song/122227
**Category:** Uncategorized
**Created:** [September 11, 2004, 7:07pm UTC](https://forum.kirupa.com/t/need-help-looping-a-externally-loaded-song/122227 "2004-09-11T19:07:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JCUSE](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@JCUSE](https://forum.kirupa.com/u/JCUSE)
#### Post date: [September 11, 2004, 7:07pm UTC](https://forum.kirupa.com/t/need-help-looping-a-externally-loaded-song/122227/1 "2004-09-11T19:07:41Z")

</div>

Ok my flash move has a button, On load the flash movie starts playing the sound, but I need it to loop. I dont know where to put the code to make it loop I was wondering if you could help me.

```auto
 
//Load Streaming mp3 behavior
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof this.createEmptyMovieClip == 'undefined') {
this._parent.createEmptyMovieClip('BS_SB', new Date().getTime()-(Math.floor((new Date().getTime())/10000)*10000));
_global.Behaviors.Sound.SB = new Sound(this._parent.BS_SB);
} else {
this.createEmptyMovieClip('_SB_', new Date().getTime()-(Math.floor((new Date().getTime())/10000)*10000));
_global.Behaviors.Sound.SB = new Sound(this.BS_SB);
 
}
_global.Behaviors.Sound.SB.loadSound("[http://www.totalchaosrecords.com/sitebeat.mp3](http://www.totalchaosrecords.com/sitebeat.mp3)", true);
stop();
 

```

I think I have to add a

```auto
 BS.start(0,-1); 

```

Somewhere I just dont know where. Please assist.
