i-ve just done that , it worked out well thanks!
> > The last time I came across this problem, I used an MOUSE_MOVE loop to > check everytime if the x and y mouse positions were inside the stage > area, and if not I called the same function that should be called on the > MOUSE_LEAVE event... > > Ruy Adorno > http://www.ruyadorno.com > > Isaac Alves wrote: > > Hello, > > > > Is there any workaround to the issue with Adobe Flash where a Flash Movie > > does not receive a MOUSE_LEAVE event if the mouse is dragged outside of > the > > movie? Neither when i MOUSE_UP outside the stage. > > > > stage.addEventListener(Event.MOUSE_LEAVE, dropIt); > > > > function dropIt(e1:MouseEvent = null, e2:Event = null):void { > > textField.text = " OK "; // extreme debug method > > full_mc.stopDrag(); > > stage.removeEventListener(MouseEvent.MOUSE_UP, dropIt); > > stage.removeEventListener(Event.MOUSE_LEAVE, dropIt); > > } > > > > That actually works when I run the SWF file, and even on IE. > > > > But on Firefox and Chrome nothing happens, it continues dragging the > > MovieClip when the cursor returns to stage. The dropIt function doesn´t > run > > ( the textField.text doesn´t update) > > > > Thanks a lot! > > Isaac > > > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders