I am trying to get my Sound status bar to show the current position of the audio playing.
This is the code:
var position = SoundChannel.position;
getChildByName("status_mc").scaleX = position / sound.length;
The problem I am having is when I try to play the song when the buffer is full, and before the song has loaded entirely. The status is calculating the song length that has loaded, not the actual song length. Is there a way around this?