Show
Ignore:
Timestamp:
12/09/07 03:24:46 (13 months ago)
Author:
gyuque
Message:

lang/actionscript/swfgmap: killed mousedown event on the reset button.

Location:
lang/actionscript/swfgmap/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/actionscript/swfgmap/trunk/TestApp.as

    r2914 r2917  
    3232                         
    3333                        spnr.centerButton.addEventListener(MouseEvent.CLICK, onSpinReset); 
     34                        spnr.centerButton.addEventListener(MouseEvent.MOUSE_DOWN, onSpinResetDown); 
    3435                        spnr.addEventListener(SliderEvent.THUMB_DRAG , onSpinner); 
    3536                        mSpnr = spnr; 
     
    4647                        addAnimation(a); 
    4748                } 
     49 
     50                protected function onSpinResetDown(e:MouseEvent):void 
     51                { 
     52                        e.stopPropagation(); 
     53                } 
    4854                 
    4955                public override function setViewRotation(rad:Number):void