PDA

View Full Version : NetStream event for setting playhead?


MikeHovey
10-19-2007, 06:32 PM
I know how to retrieve the duration of a Netstream using onMetaData and I know how to retrieve the current playhead time using NetStream.time, but what event can I use to set the value of a HSlider to the time property?

panel
10-20-2007, 11:50 AM
use timer to get tme property one a time ther handler in timer function asign value to slider


....
function onTimer(evt:TimerEvent):void
{
slider.value = 50;
}