I am creating a photo editor application where, at some point, the picture you are editing should be dropped between the two DisplayObjects layers (background image and image mask).
However, there is a problem. When the image you are editing is discarded between the background and the layers of the image mask, it becomes invisible and therefore gets stuck there, without being able to drag it again. (The photo editor uses the TransformManager library.)
I am looking for a way to let you select the image you are editing, regardless of whether there is another DisplayObject on top of it. And that probably means finding a way to click on the image mask.
Is there any way to do this?
I tried setting mouseChildren = false to imageMask, but this did not have the desired effect.
Many thanks.
source
share