After Step 1 i reconsidered the functions i ll be using. First of all the play button should be a play/pause button. There’s no need for a stream to listen to it from the beginning but for some reason you may want to pause the stream and then continue from the place you left it.

I will still keep the stop button (temporarily) cause that the second thing i want, pushing it so that stream gets empty clearing buffer. I will also have the green button stops automatically every 5 sec emptying the sound. For all those I ll hack player skin file. And here’s 2day’s result so far.

Read more…

Tags: §

Step 1: After i searched and studied EMFF files and successfully installed all necessary tools, i tried to build a first and simple player based on position_blue skin that is shipped with. I changed the background image to something transparent and moved up or down anything i wanted.

Timer was already there (which saved me time) but i had to remove all other buttons except play and stop. I also wanted a counter for bytes that the player is loading while playing. I could also have a total bytes counter which would be useful if i played mp3 but not for a stream which is like a never ending mp3 and that means that total bytes are equal with bytes loading as the player plays the stream. I have already said that i know totally nothing about actionscript and flash objects so bare with me as i am learning step by step. Template is basic but will be the last thing that i ‘ll change. And here’s the result of my first step:

Read more…

Tags: §