One of the interesting things about Degrafa transforms is that you can
define a transform separately and bind to it from anywhere as well as
things working through the parent inheritance chain that you would
expect. So a transform is not tied to a specific Geometry, but is used
by any geometry that references it at the rendering stage. The
approach that I outlined using a GeometryComposition was to permit
this to happen through inheritance, but I think you could do the same
thing by having each Geometry item in its separate GeometryGroup
reference the same transform.
So although I haven't tried it specifically... I would expect that you
can reference the single Transform from each of your geometry items in
the separate GeometryGroups, and so long as you did not manipulate the
x, y, scale etc on the GeometryGroup displayobject itself, then I
think that should work ok for what you describe. Like I said I haven't
actually tried that specifically but its what I would try as an
approach for what you describe. That should allow you to use the
events from the separate GeometryGroups... something like:
<ScaleTransform id="myScaler" scaleX="1.5" scaleY="2"
centerX="{barycenter.x}"
centerY="{barycenter.y}" />
<Surface>
<GeometryGroup id='path1" >
<Path transform="{myScaler}" data="..." stroke="{stroke1}" />
</GeometryGroup>
<GeometryGroup id='path2" >
<Path transform="{myScaler}" data="..." stroke="{stroke1}" />
</GeometryGroup>
</Surface>
Give that approach a try and let us know if it does what you want.
-Greg