my excepted output is when the video is playing the seek bar of video should move along with the video playHeadTime and when the user click on seek bar the video should forward or backward .
i code somthing like this but i am not getting the excepted out put.


<mx:Script>
private function seekBarFun():void
{
vd1.playheadTime=seekBar.value;
}
</mx:Script>
<mx:HSlider id="seekBar" minimum="0" maximum="{vd1.totalTime}" snapInterval=".1" value="{vd1.playheadTime}" click="seekBarFun()"/>
<mx:VideoDisplay id="vd1" source="Faana.flv" />

please send me the correct solution at(kprreddi)