Many thanks for your response! I was hoping for the mouseUp, but I did try the rollOut, as you suggested. I couldn't even get it to work on Stage. SystemManager worked fine on a normal rollOut, but it worked only intermittently (I know that sounds strange, but it's what it is) on a click-drag from the label.
Attempts: //systemManager.topLevelSystemManager.addEventListener(MouseEvent.ROLL_OUT,onRollOut); stage.addEventListener(MouseEvent.ROLL_OUT,onRollOut); --- In [email protected], Fotis Chatzinikos <fotis.chatzini...@...> wrote: > > I think this is a known problem... What about adding a stage rollout event, > and then there dispatch a mouse up if needed? > > Give it a go (have not tested myself) > > On Fri, Mar 13, 2009 at 5:45 PM, graham.t...@... < > graham.t...@...> wrote: > > > > > In the following example, I've got a stage-level mouseUp listener. In the > > application window, I can click-drag off-window and, when I release, the > > mouseUp event will fire. > > > > However, if I start my click-drag on the label and release off-screen, I do > > _not_ get the mouseUp event. > > > > (I think setting mouseChildren=false on thetestContainer resolves the issue > > for this test, but it's not practical for my application.) > > > > Anyone have any ideas? > > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > layout="absolute" > > applicationComplete="onApplicationComplete(event)"> > > > > <mx:Script> > > <![CDATA[ > > import mx.events.FlexEvent; > > > > private function onApplicationComplete(e:FlexEvent):void > > { > > stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); > > } > > > > private function onMouseUp(e:MouseEvent):void > > { > > trace ("onMouseUp fired"); > > } > > ]]> > > </mx:Script> > > > > <mx:Canvas id="testContainer" width="400" height="100" > > backgroundColor="#00ff00"> > > <mx:Label text="Click-drag from _label_ to off-window. Release. No > > mouseUp."/> > > </mx:Canvas> > > </mx:Application> > > > > > > > > > > -- > Fotis Chatzinikos, Ph.D. > Founder, > Phinnovation > fotis.chatzini...@..., >

