bueno vengo con una consulta

ahora bien, este player funciona correctamente, tiene un btn de play y otro de pausa mi problema es que al terminar el video no vuelve a reproducirlo ni automaticamente ni haciendo click en play :s
como puedo crear un btn para que haga eso? o como agrego una accion para q se reproduzca automaticamente de nuevo al terminar dicho video?.
este el code q tengo:
Código :
var netConex:NetConnection; var netStrea:NetStream; var total:Number = 1; var w:Number = mcTime._width; netConex = new NetConnection(); netConex.connect(null); netStrea = new NetStream(netConex); netVideo.attachVideo(netStrea); netStrea.play("mivideo.flv"); netStrea.onMetaData = function(info:Object) { total = info.duration; mcTime.onEnterFrame = iniProgress; btPlay._visible = false; }; function iniProgress() { txtTimer.text = seg2min(netStrea.time)+" / "+seg2min(total); mcTime._width = w*(netStrea.time/total); mcLoad._width = w*(netStrea.bytesLoaded/netStrea.bytesTotal); } function seg2min(num:Number) { var min:Number = Math.floor(num/60); var seg = Math.floor(num%60); if (seg < 10) { seg = "0"+seg; } return min+":"+seg; } btPlay.onRelease = function() { netStrea.pause(false); btPlay._visible = false; } btPause.onRelease = function() { netStrea.pause(true); btPlay._visible = true; }