How do i make a flash timeline seekbar using AS3?
I have found some ways of making this using AS2 but i need it to work for AS3. does anyone kow how or how files to do as such? (also, when paused i want the video to pause EVERYTHING including movie clips)
this is the AS2 Seekbar code that i have found
onClipEvent(mouseDown)
{
var pos;
if (_ymouse > 0 && _ymouse <= 50 && _xmouse > 0 && _xmouse <= 500)
{
pos = _xmouse / 500 * (_root._totalframes - 40);
_parent.sBar._width = _xmouse;
_parent.sBar._x = 0;
_root.gotoAndPlay(int(pos));
_global.paused = 1;
}
}
