Question
streaming audio in AS3/CS3
I've been working on an audio streaming application for the
last couple days. My current progress can be viewed at
figmentmedia.ca/test.html.
I've got a problem with this release. Look at the tan coloured
line, near the base of the window, to the right of the control
buttons (of which only play and pause work). That line is
supposed to be a loading bar. As you will probably notice it
does not work. The code I've attached is located in the first frame
of my movie. The second last line there, "mc_loaded.width =
297/(soundClip.bytesLoaded/soundClip.bytesTotal);", is the one
giving me the trouble. After troubleshooting many different
options.. none of which worked, I believe.. what is loading may be
the variable. Regardless of what progress the bar is showing, it's
not showing the progress of the sound clip. Any help would be
greatly appreciated.
Thanks in advance, Calvin Tennant.
Thanks in advance, Calvin Tennant.
