aha, 1/2 way to eureka! Thanks Michael and Ben, think I get it now. its working smoothly now.
DK On 2/5/07, Michael Schmalle <[EMAIL PROTECTED]> wrote:
Doug, It's because you add the mouse up listener in the mouse down action. then you KNOW it is a mouse up from the last mouse down. in the mouse up, remove the mouse up. :) Peace, Mike On 2/5/07, Grant Davies <[EMAIL PROTECTED]> wrote: > oh yeah.. > > lets add a numeric status and right now it can be 0 or 1 and a message > that goes with it.. > > Grant > > > ........................................... > *› b l u e t u b e i n t e r a c t i v e.* > .: grant davies > .: 404.428.6839 (c) > .: 708-983-1577 (F) > › [EMAIL PROTECTED] > › http://www.bluetube.com/bti > › A Tribal Chicken Designs Affiliate <http://www.tribalchicken.com/> > > > ------------------------------ > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Douglas Knudsen > *Sent:* Monday, February 05, 2007 3:17 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] MouseUpSomewhere event, whence hast thou > gone? > > that adds a mouseUp listener/handler for the whole app, eh? How do I > know if this mouseUp is related to the object the user gestured a mouseDown > on? Kind of coupled up too. > > What I have is this screen snap > <http://www.cubicleman.com/snaps/snap.png> http://www.cubiclem > an.com/snaps/snap.png > I have mouseDown capture on the bluish color box that allows me to drag > it left/right and to shrink/expand the length of it while holding the mouse > button down on it. Now, if the user is holding the mouse button down and > accidentally moves the mouse off of the bluish box and then lets the mouse > button go, I want to fire a event then that executes a method inside the > component representing the bluish box. > > Starting to think maybe just fire the mouseOut event and ignore this > possible user accident! > > > > DK > > On 2/5/07, Michael Schmalle <teoti.graphix@ <[EMAIL PROTECTED]>gmail.com> > wrote: > > > Hi, > > > > try adding a listener to the systemManager; IE > > > > systemManager.addEventListener(MouseEvent.MOUSE_UP, > > systemManager_mouseUpHandler); > > > > Peace, Mike > > > > On 2/5/07, Douglas Knudsen <douglasknudsen@ <[EMAIL PROTECTED]> > > gmail.com> wrote: > > > > > > I'm converting a Flex 1.5 app to 2.0. Under 1.5 I used a event on > > > a HBox called MouseUpSomewhere. Seems this is no more in 2.0. Any > > > ideas what it is now called? Or maybe another way to get this same > > > functionality to work? I can't use mouseOut. I need a event that fires > > > when the user releases the mouse button whilst over a different component. > > > > > > -- > > > Douglas Knudsen > > > <http://www.cubicleman.com> http://www.cubicleman.com > > > this is my signature, like it? > > > > > > > > > > > -- > > Teoti Graphix > > <http://www.teotigraphix.com>http://www.teotigra phix.com > > > > Blog - Flex2Components > > <http://www.flex2components.com> http://www.flex2components.com > > > > You can find more by solving the problem then by 'asking the > > question'. > > > > > > -- > Douglas Knudsen > <http://www.cubicleman.com>http://www.cubiclem an.com > this is my signature, like it? > > -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
-- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
<<attachment: small.jpg>>