RSS

Archives:

Categories:

Topics:


Alchemy Ogg Vorbis Frontend

Today I bring to you a finished frontend for Adobe Alchemy Ogg Vorbis library which supports:

  • Embed Files
  • Streamed Files
  • Internet Radios

Some things to remember though, regarding a couple of Flash and Alchemy quirks:

  • Due to Flash’s security policy it is impossible to stream radio from other domains, unless they contain a proper Cross Domain Policy File. So there is no way to stream most of the external radios unfortunately :(
  • There is a known Memory Leak when playing the music. It can quite possibly be fixed but I am not going to try. The Library is too undocumented and unstable so actually it shouldn’t be used for publish material.
  • Seek(), GetLength() and GetPosition() are not implemented simply becuase they haven’t worked.

First grab the OggLibraryFrontent.zip and then unpack it to your project directory. Check the README – HELP.txt for the instructions of usage. This frontend should work with both Flex Builder AND Flash, but it was only tested on the former. If you find bugs, have suggestions or concerns, please post!

Writing these five, relatively simple classes took me altogether around 30 hours so please do me a favor – don’t steal it, don’t claim it as yours, and leave a credit if you use (though this one isn’t compulsory – it is just nice). Have Fun!

You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.


5 Comments:


  • Maurycy-

    Any chance you could make a front end player in Flash that would have a seekbar on it?

  • Hello Mauft! I downloaded your frontend and compiled a sample class with OggRadio. However, the radio refuses to play, but I only get “sending data to ” and then done. What do you think the problem could be – I am using Flex SDK 3.2 with flashplayer 10.0.0.

  • Im trying the OggRadio stuff…

    Works when:
    generated html swf etc localy on my computer, radio stream is from another place.

    Doesent work:
    move html swf etc to webhost, it fails…

    any idea?

  • I totally love this article!!! absolutely gonna have to put this on the list.

  • All the crossdomain hassle can be avoided setting up Apache to proxy the radio stream. It means that the swf will get data (apparently) from the same server it’s located on, but the data actually comes from the radio stream. People at Adobe are proposing this same solution.

Leave a comment