This content has been marked as final. Show 3 replies
there shouldn't be any problem. just define mouse handlers for both.
Is that true?
I use the same event listener for both Image objects.
When I try this with two Image objects and the front one completely overlaps the other -- if I click on the front Image object, I don't get a mouse down event in the Image object behind it. I would expect this behavior (after all, the click was not on the obscurred object). Isn't this expected?
That said, if I do want to propagate this mouse event to the Image object behind the front Image object (in my example, if the user clicks in a transparent hole in the front object), how would I do that?
i'm not sure what you are doing. but convert both images to movieclips and use onPress handlers.
that should allow the movieclip at lower depth to receive onPress events when the mouse is over a transparent region of the movieclip at the higher depth and non-transparent region of the movieclip at lower depth.