Kent Humphrey schrieb:

On 26 Jan 2006, at 11:01, Roman Blöth wrote:

Yes, that unfortunately is the only way to go - Director btw does this much better: With Lingo you can pass every event, so it reaches all objects that want to receive them...

I'm a Lingo refugee, feel my pain...
;) - aren't most of Flashcoders' participants poor Lingo refugees?!

Assume you have a onMouseEnter/onMouseLeave method on a background mc within your container mc, and then place button mcs above this background mc which want to receive on release events, then when the mouse pointer hovers over such a button mc, the background mc will receive a onMouseLeave-event, even though in fact the pointer still is "within" the background area...
But one more comment on the method above:

Which is what I just discovered with my test. So what is the solution? Surely thing kind of thing is overcome every time someone codes a simple dropdown kinda thing?
<g> - well, in my case I switched to a onEnterFrame-method checking the _mousex and _mousey relative to the mc itself (i.e. the background-mc) and only when the mouse is outside the mc's coordinates I let Flash do what else would be in a onMouseLeave-method. Not the smartest way, maybe, but it works as intended.


Best regards,
Roman.

--

-------------------------------------------------------------------
gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
-------------------------------------------------------------------


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to