1 Reply Latest reply on May 14, 2006 10:08 PM by Craig Grummitt

    Streaming Mp3 on button click?

    raverdx
      im having trouble loading different mp3s on different button clicks. im simply just trying to get the mp3 playing on a single button click at the moment but it just doesnt seam to be happening.

      var curPlaybackPos:Number;
      var soundDLPercent:Number;
      var mySound:Sound;

      this.btn1.onRelease = function(){
      playMusicFunc;
      }

      function playMusicFunc() {
      mySound = new Sound();
      mySound.loadSound(("test.mp3"), true);
      showDownloadProgress();
      disablePause();
      }

      using Flash Pro 8