# How to loop external mp3 file?

**URL:** https://forum.kirupa.com/t/how-to-loop-external-mp3-file/52883
**Category:** Uncategorized
**Created:** [May 28, 2004, 9:29am UTC](https://forum.kirupa.com/t/how-to-loop-external-mp3-file/52883 "2004-05-28T09:29:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vijayraj\_bhatt](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vijayraj\_bhatt](https://forum.kirupa.com/u/vijayraj_bhatt)
#### Post date: [May 28, 2004, 9:29am UTC](https://forum.kirupa.com/t/how-to-loop-external-mp3-file/52883/1 "2004-05-28T09:29:47Z")

</div>

Hi all,

In my flash movie i’ve loaded external mp3 file (rap.mp3)  
code which i used is as per below.

on (release) {  
stopAllSounds();  
mySound = new Sound();  
mySound.loadSound(“rap.mp3”, true);  
mySound.start();  
}

now i can hear sound when i release my button.

My problem is … It plays only once.

& i need to loop that sound till i stop it or press another sound button.

Bottom line is i need to loop my external mp3 file .

Plz help if u can…

I m not sure but may be we can use OnSoundComplete handler for that !!!

Plz try… & tell me how to do this.
