Event Listener Doesn't Move for an Object When Its Group is moved

Problem:  After I move a group of objects, their event listeners are still at the objects’ old locations.

  1. Create ObjA at say (50, 100), ObjB at (100, 150), ObjC at (120, 120).

  2. Add them to a group: ObjGroup.

  3. Add event listeners for the ObjA, ObjB, and ObjC (before, or after adding to the group).

  4. Click on any of the objects.  Events are registers.

  5. Move the group by 50 (as ObjGroup.x = ObjGroup.x + 50).  All images move to the right by 50.

  6. Click any of the objects.  No events regsitered.

  7. Click where the objects used to be, and the events are registered.

Anyway to get the event listeners to move along with the group?

If I move each object individually, the event listeners move also.

Can you produce a sample that demonstrates this that I can run (no image files, use newRect or newCircle) and post the code here.

Rob

Can you produce a sample that demonstrates this that I can run (no image files, use newRect or newCircle) and post the code here.

Rob