# \[FMX\] looping dynamically loaded mp3s

**URL:** https://forum.kirupa.com/t/fmx-looping-dynamically-loaded-mp3s/63261
**Category:** flash
**Created:** [September 4, 2004, 4:04pm UTC](https://forum.kirupa.com/t/fmx-looping-dynamically-loaded-mp3s/63261 "2004-09-04T16:04:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eskimostu](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@eskimostu](https://forum.kirupa.com/u/eskimostu)
#### Post date: [September 4, 2004, 4:04pm UTC](https://forum.kirupa.com/t/fmx-looping-dynamically-loaded-mp3s/63261/1 "2004-09-04T16:04:49Z")

</div>

Hey there. I have brought this up at the end of another thread, but thought it needed it’s own.  
Trying to loop a dynamically loaded mp3 of a cicada.

cicada = new Sound(cicadaMC);  
cicada.loadSound(“sounds/cicadas.mp3”, true);  
cicada.start(0.7, 999);

Why does this not work?  
I understand that the start function isn’t needed, as it’s a streaming object, but I thought if I added it, it would loop. This syntax is the only way I know to loop a sound object in AS.  
I have read this  
[http://kennybellew.com/tutorial/](http://kennybellew.com/tutorial/)  
This tute is great, explains everything about sound files except this problem.  
Any takers?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 4, 2004, 4:54pm UTC](https://forum.kirupa.com/t/fmx-looping-dynamically-loaded-mp3s/63261/2 "2004-09-04T16:54:22Z")

</div>

ok, I have been searching through the author of above tutorial’s forums.  
In a thread of the same query, he has stated that this is, in fact, impossible.  
[http://www.aspirin99.com/forums/viewtopic.php?t=786](http://www.aspirin99.com/forums/viewtopic.php?t=786)

SURELY, this can’t be so.  
Is there any way to do this, perhaps with an onSoundComplete function, manually telling the code to play it again and again in an endless loop?

Like my life right now?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 4, 2004, 5:11pm UTC](https://forum.kirupa.com/t/fmx-looping-dynamically-loaded-mp3s/63261/3 "2004-09-04T17:11:17Z")

</div>

Sure there is:

```auto

cicada = new Sound(cicadaMC);
cicada.loadSound("sounds/cicadas.mp3", true);
cicada.onSoundComplete = function(){
this.start(0,1);
}

```
