Re: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread [EMAIL PROTECTED]
I usually use something like this: function getY(mc:MovieClip):Number { var y:Number = mc._y; if (mc._parent != undefined) y += this.getY(mc._parent); return y; } but of course that takes it all the way back to _root. shouldn't be too hard to check against another movie clip inste

Re[2]: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread iashido
senocular rules :) http://proto.layer51.com/d.aspx?f=630 Thursday, November 24, 2005, 11:53:54 AM, you wrote: >> 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 neste

Re: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread Danny Kodicek
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.mc

[Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread Jay Lepore
Hello, 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