corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Anyone Flash?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Anyone Flash?
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
17th Apr 05 at 14:32   View User's Profile U2U Member Reply With Quote

I need to build a flash player that will play a Real Stream

http://trancentral.ffradio.co.uk:443/listen.pls

How do I dod it? I know how to get it to play an MP3 but I just can't seem to get this to work!

I'm using something like...

code:
onClipEvent (load) {
MySound.loadSound('http://trancentral.ffradio.co.uk:443/listen.pls')
}
onClipEvent (mouseUp) {
MySound.start()
}


at the mo.

[Edited on 17-04-2005 by Antz]
Neil
Member

Registered: 2nd Nov 03
Location: Newcastle Drives: E46 MSport Coupe
User status: Offline
17th Apr 05 at 14:49   View User's Profile U2U Member Reply With Quote

You need to give the browser the mime type and headers somehow.. I don't know much about flash, but you need these html headers (I do it in php btw):

<?
$file = "[playlist]\r\nNumberOfEntries=1\r\nFile1=http://hcore.fm:8000/";

header("Content-type: audio/x-scpls");
header("Content-Disposition: inline; filename="listen.pls");
echo $file;
?>

[Edited on 17-04-2005 by NeilM]
Antz
Member

Registered: 28th Jul 03
Location: Leeds         Drives: Myself Insane!
User status: Offline
17th Apr 05 at 14:54   View User's Profile U2U Member Reply With Quote

it's got me lost has all this

 
New Topic

New Poll

Corsa Sport » Message Board » Off Day » Anyone Flash? 24 database queries in 0.0085840 seconds