hi gilles!

i think you should give us some more details ;)

are you using the NetStream-Class in as2???

if so, you could use the seek-method from the onPress-event
of your slider and everything should be fine...

let me give you a small example:

yourConnection=new NetConnection();
yourConnection.connect(null);
videoStream = new NetStream(yourConnection);
video.attachVideo(videoStream); videoStream.setBufferTime(10);
videoStream.play("foo.flv");

this.scrubVideo=function(){
currentPos=//calculate position here!
videoStream.seek(currentPos);
}

//use your slider here:
slider_mc.onPress=Proxy.create(this, scrubVideo);

hth!

henrik

--
__digital spices__
Henrik Weber [MediaDesign&FlashDevelopment]
home: www.digitalspices.com

gilles wrote:
Hi ,
i'm working on a video player and i'm using an instance of Video; Everytinhg is cool except that when i seek forward my video doesn't refresh whil seeking it just refresh when i stop seeking.

Any advice is welcome.

BERTRAND Gilles
DIRECTOR
248, rue des canadiens 7022 HYON
BELGIUM
PHONE +32 499 529229
MOBILE +32 499529229



------------------------------------------------------------------------

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to