Oh, actually I don't need mouseDown and can:

private function handleMouseDown(event:MouseEvent):void {
        removeEventListener(Event.ENTER_FRAME, handleEnterFrame);
}

private function handleMouseUp(event:MouseEvent):void {
        addEventListener(Event.ENTER_FRAME, handleEnterFrame);
}

private function handleMouseOut(event:MouseEvent):void {
        addEventListener(Event.ENTER_FRAME, handleEnterFrame);
}


On Sat, Jan 10, 2009 at 7:45 PM, Alexander Farber
> set a variable on mouse click and stop rotating.
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to