hello

1- i did Flv player but i cant do {autoRewind } for video how can i make this video autoRewind .

2- how can i make Flv player Fullscreen.

this code what's wrong?

PHP Code:
var my_nc:NetConnection = new NetConnection(); 
my_nc.connect(null); 

var 
my_ns:NetStream= new NetStream(my_nc); 
my_video.attachVideo(my_ns); 

my_ns.play(vpath); 

my_ns.pause(true); 
//---------------------------------------------- 


my_ns.autoRewind false


//---------------------------------------- 
var duration

my_ns.onMetaData = function(obj

    
duration obj.duration



//------------------------------------------ 
  

   
stop_btn.onRelease=function() 

    
my_ns.seek(0); 
    
my_ns.pause(true); 
    
p_mc.gotoAndStop(1); 
     



//------------------------------------------------------- 
var _progress setInterval(showProgress,100); 
function 
showProgress() 

    
scroll_mc.sbill_mc._x = (my_ns.time duration ) * 224
    
scroll_mc.buffer_mc._width=(my_ns.bytesLoaded my_ns.bytesTotal) * 240

function 
showScrub() 

    
my_ns.seek((scroll_mc.sbill_mc._x 224) * duration); 
     


var 
_scrub

scroll_mc.sbill_mc.onPress=function() 

    
clearInterval (_progress); 
    
_scrubsetInterval(showScrub,10); 
    
this.startDrag(false,0,this._y,224,this._y); 



scroll_mc.sbill_mc.onRelease=scroll_mc.sbill_mc.onReleaseOutside=function() 


    
clearInterval(_scrub); 
_progress setInterval(showProgress,100); 
    
this.stopDrag(); 



//--------------------------------- 

this.createEmptyMovieClip ("sc_mc",this.getNextHighestDepth()); 

sc_mc.attachAudio(my_ns); 
var 
_sound:Sound = new Sound(sc_mc); 



vol_btn.voldown_btn.onRelease = function() 

     
    
_sound.setVolume(0); 
     
     
    } 

    
vol_btn.volup_btn.onRelease = function() 

     
    
_sound.setVolume(100); 
     
     
    } 
         
//---------------------------------------------------- 

this.createEmptyMovieClip("sc_mc",this.getNextHighestDepth()); 
sc_mc.attachAudio(my_ns); 

var 
_sound:Sound = new Sound(sc_mc); 
//------------- 
var _setv

function 
setvol() 

    
_sound.setVolume((sound_scroll_mc.sbill_mc._x /40) * 100); 
     

sound_scroll_mc.sbill_mc.onPress=function() 



     
_setv =  setInterval(setvol,100);     
    
this.startDrag(false,0,this._y,40,this._y); 


sound_scroll_mc.sbill_mc.onRelease=sound_scroll_mc.sbill_mc.onReleaseOutside=function() 

    
clearInterval(_setv); 
    
this.stopDrag(); 

//----------------- 

and this open Fla..

http://www.alflash.com/vb/uploaded/8291_1187256289.fla

plz help me.