Hi pal ,
 
 
I encounterd similar problem 
What i have done is like this.I am not sure  it is the correct method. This 
will work only if the metadata of flv file contains duration information

<mx:VideoDisplay  id="vd" source="Videos/video1.flv"  autoPlay="true" 
maintainAspectRatio="false"/>

<mx:HSlider change="onSeek()" id="hs" tickInterval="2" minimum="0" 
maximum="{vd.totalTime}" value="{vd.playheadTime}" />

private function onSeek():void
  {
   vd.playheadTime = hs.value;
  }


Try this

Please let me know if yu get a better idea!


----- Original Message ----
From: Firdosh Tangri <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, 12 February, 2007 6:53:24 AM
Subject: [flexcomponents] Controlling Video playback using the VideoDisplay 
control

Is there a tutorial or some help pages on how to control the playback for video 
loaded into a VideoDisplay control using a HSlider ??

thanks
cheers :)
firdosh




                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to