Hello,

I have a problem with my custom flvPlayback component
I built using AS3.

The component has a clickable progressbar.
The user can use this to jump to a certain point in the video.

Now, when the user clicks to a previous point in the video
and presses Pause and than Play again, the video will
FFWD to the last point it was showing, prior to the user's click.

I have traced all my methods for duplicate entries etc.
Everything seems fine.

I hope I made my point clear :)

This is my setPlayHead method which should take care of things:

private function setPlayhead(event:MouseEvent):void
{

    // rescale the playhead sprite
    var position:Number = (event.localX*progress.scaleX)/bar.width;
    playhead.scaleX = position;

    // current position in the video timeline ?
    var curPos:Number = Math.floor(duration*position);
    // seek the new current position
    videoStream.seek(curPos);

   // after this the video goes bananas in FFWD mode

}
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to