2 Replies Latest reply on Aug 2, 2007 10:33 AM by RobertEdgar

    Help: mp3 loading, Mac, can't solve specific error

    RobertEdgar
      I am trying to load a mp3 file from a dcr file playing from Safari, running on a MacBook Pro, OSX 10.4.10, Authoring with Director MX.
      I use this code in a frame script to connect to the file:

      global myNetID
      on exitFrame
      tellStreamStatus(TRUE)
      set myNetID=preLoadNetThing(" http://memt2.robertedgar.com/Room1/AudioR/MTRaudio1.mp3")
      end

      So far so good. The problem is the next frame's script. It says it is connecting, but won't download the file. The file is there and available.

      If I try using netDone:

      global myNetID

      on exitFrame
      if netDone(myNetID) <> 1 then
      go to the frame
      end if
      end

      If I try using getStreamStatus:

      global myNetID
      global answerstring

      on exitFrame

      answerstring = getStreamStatus(myNetID)
      if answerstring[#state] <> "Complete" then
      go to the frame
      end if
      end

      I can't get a "complete" either way, after multiple days of trying.
      Anyone lend a suggestion?

      Thanks
      Robert