I recall that I used the currentTimeChange
Something like:
<s:VideoDisplay id="myVid" source="Video/something.flv"
complete="endOfVideo()"
volume="0.75" autoPlay="false" autoDisplayFirstFrame="true"
currentTimeChange="lineChangeHandler(event)"
click="startVid(event)" width="100%" height="100%"/>
and
protected function lineChangeHandler2(event:TimeEvent):void
{
myCurrentVideoTime = event.time;
}
so instead of using "myCurrentVideoTime = event.time;", you can set the
percentage of the scrubber be be the myCurrentVideoTime/totaltime*100
and move the scrubber pointer to the appropriate position.
If your problem persists, I could write a sample bit of flex to help.
Phil.
On Tue, Oct 1, 2013 at 9:54 AM, Tintin <[email protected]>wrote:
> A progress update.
>
> I have changed my HSlider 'change' event to be as follows:
>
>
>
> This works, but the performance is poor. The video seems to lag behind and
> is quite jumpy. Can anyone suggest how to improve this please?
>
> Chris
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Spark-VideoDisplay-Control-Conundrum-tp2903p2904.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
--
Philip Medlam