I have a very complex form with many
mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it.

I often have a need to line up the _x and _y of a deeply nested childMC
with one of the other earlier childMC's

For instance

if the mc8 is the last child

_level0.mc1.mc2.mc3.mc4.mc5.mc6.mc7.mc8

And I need it to be repositioned at say mc4's x,y position
what is the best technique.

Without trying it, I'd say: find localToGlobal(mc4's pos). Then find GlobalToLocal(this value) in mc7's reference frame, and move mc8 to it.

Best
Danny
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to