ah, nice one.

On 2/22/06, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> If you use localToGlobal you can find the dimensions in root coordinates.
>
> ///////////////////////////////////
> var topleft = {x: inner._x, y: inner._y};
> var bottomright = {x: inner._x + inner._width, y: inner._y +
> inner._height};
>
> inner._parent.localToGlobal(topleft);
> inner._parent.localToGlobal(bottomright);
>
> trace("inner from: " + topleft.x + "," + topleft.y +
>       " to: " + bottomright.x + "," + bottomright.y );
> ///////////////////////////////////
>
>
> Rich Rodecker wrote:
>
> >wierd that i've never hit this before, but I'm running into an issue with
> >getting the width of a clip's children after the parent clip has been
> scaled
> >down.
> >
> >So, I say parent clip name "holder_mc".  I create 4 movieclips inside
> >holder_mc and load movie into them.  Each of the loaded clips are 600
> x600.
> >If i scale holder_mc down 50%, each of the loaded clips still reports
> their
> >size as 600x600.
> >
> >Somebody's HAD to have dealt with this one already...any suggestions?
> >_______________________________________________
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >Brought to you by Fig Leaf Software
> >Premier Authorized Adobe Consulting and Training
> >http://www.figleaf.com
> >http://training.figleaf.com
> >
> >
> >
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to