FB caught these compile errors
Prevent event loop by checking for exact type of the mouse event (flash.events.MouseEvent vs. org.FlexJSUI/src/org/apache/flex/events/MouseEvent)