# Read mp3 streamed with php in AS3

**URL:** <https://forum.kirupa.com/t/read-mp3-streamed-with-php-in-as3/223691>\
**Category:** Uncategorized\
**Created:** [April 25, 2007, 12:35am UTC](https://forum.kirupa.com/t/read-mp3-streamed-with-php-in-as3/223691 "2007-04-25T00:35:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilemon](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@gilemon](https://forum.kirupa.com/u/gilemon)\
**Post date:** [April 25, 2007, 12:35am UTC](https://forum.kirupa.com/t/read-mp3-streamed-with-php-in-as3/223691/1 "2007-04-25T00:35:42Z")

</div>

[FONT=Arial]If someone knows how to read this Shoutcast-like stream in Actionscript 3.0, he is the man:[/FONT]  
[FONT=Arial][FONT=Verdana][http://phpcast.sourceforge.net/phpcast.php[/FONT][/FONT]](http://phpcast.sourceforge.net/phpcast.php%5B/FONT%5D%5B/FONT%5D)

[FONT=Arial]I’ve been trying a lot of things; I modified the server to avoid sending the title Meta data every 8192 bytes.[/FONT]  
[FONT=Arial]The new stream is here:[/FONT]  
[http://www.nthinking.net/webcast/phpcast2.php](http://www.nthinking.net/webcast/phpcast2.php)

[FONT=Arial]it’s working the old AS2 way: [/FONT]

[FONT=Arial]

```auto
[FONT=Arial]mysound.loadSound(url.location,true);[/FONT]

```

[/FONT]

[FONT=Arial]but a mp3 player in AS2 is a CPU killer![/FONT]  
[FONT=Arial]so in AS3 with:[/FONT]

[FONT=Arial]

```auto
[FONT=Arial]mysound.load(request, new SoundLoaderContext(2000, false));[/FONT]

```

[/FONT]

[FONT=Arial]it’s only working until the end of the first mp3 streamed, and after it get totally desync… [/FONT]  
[FONT=Arial]I guess it’s because it’s reading the ID3 tags or something… Help, I’m loosing my mind on this one…[/FONT]
