HI, if you still need help, I have recently finished ActionScript 3.0 video player for a client.
You can seek NetStream on every move of slider button (in handler regeistered to slider move) so it will update while seeking. I have developed my light component slider, but if you are using Flash built-in Slider component, you should set liveDragging on true, to dispatch events on every move, not just when released. The one developed by me is working well, regarded what you are talking about. For precise questions, write me on my mail directly or here on list if you think it would help others. Sinisa Rudan -------------------------------------------------------------------------- Associate editor of multimedia part of InfoM Journal, Journal of Information technology and multimedia systems. http://www.infoM.org.yu <http://www.infom.org.yu/> MAGIC WAND solutions * Studio founder and owner http://www.MagicWandSolutions.com <http://www.magicwandsolutions.com/> http://www.sinisarudan.com -------------------------------------------------------------------------- 2007/10/17, gilles <[EMAIL PROTECTED]>: > > 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.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 > > > 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
