Problem with sound playback in external SWF
Hello,
I need to load external SWF file, which contains simple image sequence + audio. I've used the MovieClipLoader class for this and also a preloader, where I'm checking if I can run the SWF safely, without the need to interrupt playback later and continue with loading. It's working similar to YouTube video, where the video is buffered.
The issue is that when I load the SWF and run it, the audio start to play later. I tested more cases and the reason is that even if I load enough from the SWF, I can be sure I can start playback, because it not enough loaded from the audio, so the it starts to play a bit later. When I load more, the audio starts to play immediately.
So the question is, is there a way how can I check if audio is loaded and ready to play?
Thanks,
Michal