 import mx.events.FlexEvent;
 import mx.events.FlexMouseEvent;
 import mx.events.ListEvent;
-import mx.events.SandboxRootMouseEvent;
+import mx.events.SandboxMouseEvent;
 import mx.events.ScrollEvent;
 import mx.events.ScrollEventDetail;
 import mx.managers.PopUpManager;

        {
            _dropdown.removeEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(FlexMouseEvent.MOUSE_WHEEL_OUTSIDE, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(SandboxRootMouseEvent.MOUSE_DOWN_SOMEWHERE, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(SandboxRootMouseEvent.MOUSE_WHEEL_SOMEWHERE, dropdown_mouseOutsideHandler);

            PopUpManager.removePopUp(_dropdown);
            _dropdown = null;

                close(event);
            }
        }
        else if (event is SandboxMouseEvent) 
        {
            close(event);
        }
