Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function videoScrubMove(e:TimerEvent):void {
- if (dragging){
- cont.videoControl.getChildByName("scrub").x = mouseY; //standard dragging
- } else {
- cont.videoControl.getChildByName("scrub").x = 170 + (imageArray[14].loader.playProgress * 1070); //standard scrubber moving
- }
- }
- public function videoDrag(evt:MouseEvent):void {
- switch(evt.type) {
- case MouseEvent.MOUSE_DOWN:
- dragging = true;
- break;
- case MouseEvent.MOUSE_UP:
- dragging = false;
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement