I've hit a wall.

I'm trying to stream an MP3 off our Web site in Shockwave. Everything works 
fine locally, but I can't get the file to stream from the Web.

I have this in my initialization (a frame script):

   swaFile = "http://www.lobo.net/~bryantek/mp3/167a1.mp3"
   gSoundObj = new(#swa)
   gSoundObj.url = swaFile
   stop(gSoundObj)

Then my play button has this script:

   if (sound(1).status=4 or sound(1).status=0) then
       play(gSoundObj)
   end if

In the debugger, the status is 0, but it doesn't play. Preload time is set 
to 5.

The cast member is being created, with the right URL. Double-clicking the 
cast member, then clicking Play also doesn't work. Yet, everything works if 
the sound file is local.

Suggestions? TIA!

Cordially,
Kerry Thompson
Learning Network


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to