# Music navigation prob

**URL:** https://forum.kirupa.com/t/music-navigation-prob/123714
**Category:** Uncategorized
**Created:** [September 26, 2004, 3:50pm UTC](https://forum.kirupa.com/t/music-navigation-prob/123714 "2004-09-26T15:50:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![EIlves](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@EIlves](https://forum.kirupa.com/u/EIlves)
#### Post date: [September 26, 2004, 3:50pm UTC](https://forum.kirupa.com/t/music-navigation-prob/123714/1 "2004-09-26T15:50:36Z")

</div>

## Hello, I have been wrestling with ths script quite a while … and still can`t get it to work … here it is :

## var sndAudio:Sound = new Sound(mc\_sound); sndAudio.loadSound(“track1.mp3”, false); sndAudio.onLoad = function(bSuccess:Boolean):Void { if(bSuccess) { this.start(); } }; mc\_play.onRelease = function():Void { sndAudio.stop(); sndAudio.start(); }; mc\_stop.onRelease = function():Void { sndAudio.stop(); }

The mp3 sound plays only if I preview it in flash mode, but not in html ☹  
And will play only if I press the mc\_play. Very wierd. Can`t understand why it won`t launch automatically :s The second problem is that my mp3 is a loop and this script won`t loop my music and I have no idea how to make it loop. Could any1 help me ? PLZ 😕
