Display group origin / center?

I am looking at migrating my apps to Graphics 2.0.

I am having a problem with ‘setReferencePoint’ for groups. I have 200+ groups in each app and ALL display objects (500+ per app) are calculated based on the center of the group (I have each group reference set to ‘CenterReferencePoint’ ). Not only that, but all my transitions are also based on a groups center position.

Now the new anchor points don’t apply to groups. So how can i set the reference point of a group to center? 

Also, in Graphics 2.0 where/what is a group’s ‘origin’? is it top left?

Thanks

Never mind.

I could almost swear i didn’t see this before:

  • Groups don’t have anchor points enabled by default. You need to set  “group.anchorChildren = true”  to enable anchor points on the group.

so now, i have replaced all ‘setReferencePoint’ statements to the above statement.

Never mind.

I could almost swear i didn’t see this before:

  • Groups don’t have anchor points enabled by default. You need to set  “group.anchorChildren = true”  to enable anchor points on the group.

so now, i have replaced all ‘setReferencePoint’ statements to the above statement.