Hi Alex, Not quite sure how to take your comment. Do you mean "file it against the player" or "whatever"?
Regarding the avoidance of startDrag/stopDrag, I take it you mean I should rewrite the code to utilize DragManager? Thanks, Ben --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Go ahead and file it if you want. I'm not even going to bother to > confirm. It is a player API. We avoid startDrag/stopDrag for many > other reasons and handle dragging in separate code in Flex > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > Sent: Tuesday, September 25, 2007 9:37 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] MOUSE_LEAVE never fires in IE if drag with bounds > is active > > > > The behavior is just like if you drag past the bounds and release > without having defined a MOUSE_UP listener for the stage. This makes > it impossible to cancel a drag operation if the user's mouse leaves > the stage with the mouse button down. Again, this is only in IE. > Pretty sure this is a bug but will wait for confirmation before > filing. Complete test case below. > > Thanks, > Ben > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > layout="absolute" > viewSourceURL="srcview/index.html" creationComplete="init()"> > <mx:Script> > <![CDATA[ > private function init():void > { > pnl.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); > pnl.addEventListener(MouseEvent.MOUSE_UP, onLeave); > } > > private function onMouseDown(event:MouseEvent):void > { > pnl.startDrag(false, new Rectangle(0, 0, 100, 100)); > systemManager.stage.addEventListener(Event.MOUSE_LEAVE, onLeave); > } > > private function onLeave(event:Event):void > { > pnl.stopDrag(); > systemManager.stage.removeEventListener(Event.MOUSE_LEAVE, onLeave); > } > ]]> > </mx:Script> > <mx:Panel id="pnl" width="400" height="300" title="Panel One" /> > </mx:Application> >