|
Actually i'm working on a AS3 project everytinhg is great until seeking.
When i seek for fastForward the display and the sound just jumps to the last value and don't change while the timer. The seeking value does but not the real display and sound ??
gilles Le 17-oct.-07 à 12:33, henrik weber a écrit : 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. 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 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