Why my Flv video stops when using Tweener?

Hi,

Weird problem, I’m using the code below to run a looped video, everything works just fine until I uncomment my other lines of script, some use Tweener for alpha or width animation.
My video starts playing and stop at (I guess) the time elapsed for the time.

Any solution ?


var video:Video = new Video();
        addChild(video);
         
        var nc:NetConnection = new NetConnection();
        nc.connect(null);
         
        var ns:NetStream = new NetStream(nc);
        ns.client = {onMetaData:ns_onMetaData, NetStatusEvent:ns_onPlayStatus};
         
        video.attachNetStream(ns);
        ns.play("sky.f4v"); 
        
        function ns_onMetaData(item:Object):void {
          video.width = item.width;
         video.height = item.height;
          video.x = (stage.stageWidth - video.width) / 2;
         video.y = (stage.stageHeight - video.height) / 2;
        }
        
        function ns_onPlayStatus(event:NetStatusEvent):void {
           if(event.info.code == "NetStream.Play.Stop"){
                ns.seek(0);
           }
        }
        ns.addEventListener(NetStatusEvent.NET_STATUS, ns_onPlayStatus);
         
        bkg1 = new Sprite(); 
        bkg1.graphics.beginFill(0x12a2cb); 
        bkg1.graphics.drawRect(0, 0, stage.stageWidth, 410);
        bkg1.alpha = 0;
        bkg1.width = 0;                                 
        bkg1.height = 410;                                
        bkg1.x = 0;              
        bkg1.y = 0;              
        addChild(bkg1);   
**        Tweener.addTween(bkg1, {width:stage.stageWidth, time:1.6, transition:"easeOut"});**


Thank you!