Hi,

I'm trying to create some sort of sprite using the Flex 4 'Path' graphic
element. The idea is to create the Path element that defines the visual look
of the sprite, then another one with the same properties in a Group but
using a black color with alpha set to 1. Then use this group as the mask for
the sprite and set the mask type to 'alpha'. This also works but only when
the sprite has the position (0, 0). When it is moved, it is displayed
correctly but mouse interaction is broken.

Please find an example here:
http://www.allmas-tn.com/files/tests/fxgtests/FXGTests.html

The application has 'view source' enabled.

Any idea why even though the mask is correct (because the geometry is
displayed and not masked out), mouse interaction is broken when the object
is moved?

Thanks,

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com

Reply via email to