It should work with the mouseevent data. Are the values returning 0 or does the values put your effect on the wrong place? Remember that the coordinates maybe need to be transformed to the coordinate space of the new primitive if you are placing it in a different parent.
/David
