 import mx.events.FlexEvent;
 import mx.events.FlexMouseEvent;
 import mx.events.ListEvent;
+import mx.events.MarshalMouseEvent;
 import mx.events.ScrollEvent;
 import mx.events.ScrollEventDetail;
 import mx.managers.PopUpManager;

            // weak reference to stage
            systemManager.addEventListener(Event.RESIZE, stage_resizeHandler, false, 0, true);
        }

        _dropdown.scaleX = scaleX;
        _dropdown.scaleY = scaleY;



        if (bRemoveDropdown)
        {
            _dropdown.removeEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(FlexMouseEvent.MOUSE_WHEEL_OUTSIDE, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(MarshalMouseEvent.MOUSE_DOWN, dropdown_mouseOutsideHandler);
            _dropdown.removeEventListener(MarshalMouseEvent.MOUSE_WHEEL, dropdown_mouseOutsideHandler);

            PopUpManager.removePopUp(_dropdown);
            _dropdown = null;
            bRemoveDropdown = false;
