0 Replies Latest reply on Nov 7, 2007 6:14 PM by islandadobe

    Streaming an MP3 from an RTSP Server problem

    islandadobe
      Hi,
      I need help figuring out how to stream an mp3 from a RTSP server.

      Right now my code reads:


      on (release) {
      if (Number(vplay) == 0) {
      vplay = 1;
      stopAllSounds();
      song = new Sound();
      song.loadSound("rtsp://mymusic.mp3",true);
      song.start(0,999);
      tellTarget ("/playingmov") {
      gotoAndStop("yes");
      }
      } else {
      vplay = 0;
      song.stop();
      stopAllSounds();
      tellTarget ("/playingmov") {
      gotoAndStop("no");
      }
      }
      }