Flash: The window will only be draggable if it has focus, you can’t just grab and drag it normally. LOOK ADOBE! IF YOU ARE GOING TO ROLL YOUR OWN SHIT AT LEAST UNDERSTAND WHAT FUNCTIONALITY THE SHIT YOU ARE REPLICATING HAS IN THE FIRST PLACE, YOUR DEVELOPERS CLEARLY DON’T HAVE THE ATTENTION TO DETAIL REQUIRED TO TACKLE THIS TASK.
Correction: when you have no document open it doesn’t work at all… when you do then it kinda works but doesn’t connect to the mouse pointer correctly.