3 Replies Latest reply on Nov 7, 2007 7:34 PM by Craig Grummitt

    Loading  streaming sound from RTSP server

    islandadobe
      I'm having a problem getting an external .mov file from a Rtsp server to activate and stream from a button in a flash movie.

      The code I'm using is:


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

      What is the correct actionscript to use to load an external .mov?
      it seems that loadsound only works on mp3's

      Thanks