> Here is pretty much all I am doing and its hand coded...
>
> var nc:NetConnection = new NetConnection();
> nc.connect(null);
>
> var ns:NetStream = new NetStream(nc);
>
> theVideo.attachVideo(ns);
>
> ns.setBufferTime(10);
>
> ns.onStatus = function(info) {
> trace(info.code);
> if(info.code == "NetStream.Buffer.Full") {
> bufferClip._visible = false;
> }
> if(info.code == "NetStream.Buffer.Empty") {
> bufferClip._visible = true;
> }
> if(info.code == "NetStream.Play.Stop") {
> ns.seek(0);
> }
> }
>
> ns.play("DBZremake_v7_Large_Custom.flv");
if(info.code == "NetStream.Play.Stop") {
ns.seek(0);
}
This lines are causing your flv to repeat. The Status NetStream.Play.Stop is
set when the flv reachs the end.
Instead of ns.seek(0) try:
ns.pause(true);
ns.seek(0);
If you want to seek to the start after the flv ends.
Cheers,
Sönke
[...]
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders