Hello guys,

I have a draggable custom panel (VBOX) with the following:

box.addEventListener(MouseEvent.MOUSE_DOWN,handleDown);
box.addEventListener(MouseEvent.MOUSE_OUT,handleUp);
box.addEventListener(MouseEvent.MOUSE_UP,handleUp);

private function handleDown(e:MouseEvent):void{
this.startDrag()
}
private function handleUp(e:MouseEvent):void{
this.stopDrag();
}

The MOUSE_OUT was added because when I drag a little faster, the mouse
pointer leaves the box. How can I prevent that?

-- 
Jhonny Everson

Reply via email to