Prev Previous Post   Next Post Next
Old 16th July 2003, 00:47   #10
Nebulus
Member
 
Join Date: Jul 2003
Posts: 70
Well, in both standalone SWF and in a page, I was able to use the allowDomain method to get a .pls file to load from shoutCast. One interesting thing to note here is that the file I'm loading is in a Windows ini file format, not XML. The XML object loads it with no problem, and then I split on carriage returns, then loop through the array to pick out the tracks (check for "File" in the string, then split on "=").

Now, the standalone SWF will stream just fine, but the SWF embeded in a page just flat out won't work.

What I find strange is that with the sacred security model, I'm able to load XML from ShoutCast - a completely different and non compatible domain, but I can't stream and audio file? Something is messed up here. I suspect that it has something to do with the streams coming from an IP address and port - a possible Macromedia bug?

Oh, and sorry for the really nasty interface on the player - it's a test only
Attached Files
File Type: zip shoutcast_flash.zip (47.3 KB, 9716 views)
Nebulus is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump