Hello all,

I'm encountering some strange problems when streaming FLV audio to my flash movies. For some reason, the movie occasionally replays the FLV without being asked to do so! Sometimes the playback will pause half way through the second play, other times it will play through twice all the way. My code looks like this:

Code:
nc = new NetConnection();
nc.connect("rtmp://localhost/oflaDemo/");
ns = new NetStream(nc);
ns.onStatus = Delegate.create(this, nsStatus);
clip.attachMovie("audio-speaker", "speaker", clip.getNextHighestDepth());
clip.speaker.stop();
clip.onRelease = Delegate.create(this, playAudio);
ns.play("myFile.flv");
And the output comes out looking like this:

Code:
NetStream.Play.Reset
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Play.Stop
NetStream.Play.Reset
NetStream.Play.Start
NetStream.Pause.Notify
NetStream.Buffer.Full
NetStream.Buffer.Flush
NetStream.Buffer.Empty
The audio plays immediately, as it should, but sometimes (and only sometimes) does it play twice. Do you all have any ideas why this might be happening?

Thanks all!
Ange52