# Child mc scale

**URL:** <https://forum.kirupa.com/t/child-mc-scale/228532>\
**Category:** Uncategorized\
**Created:** [June 8, 2007, 4:48pm UTC](https://forum.kirupa.com/t/child-mc-scale/228532 "2007-06-08T16:48:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![borkbork](https://avatars.discourse-cdn.com/v4/letter/b/b4bc9f/32.png) [@borkbork](https://forum.kirupa.com/u/borkbork)\
**Post date:** [June 8, 2007, 4:48pm UTC](https://forum.kirupa.com/t/child-mc-scale/228532/1 "2007-06-08T16:48:30Z")

</div>

Hi, I’m trying to figure out a formula/calculation that would keep the scale of a child mc constant(visually) while its parent is scaled. As things sit in flash normally, a child mc inherits the deformations of its parent. So if the parent is scaled to 200%, the child is as well (visually scaled to %200). Thing is, if u check the properties of the child when its parent is scaled, it still thinks it is at %100.

I’m trying to do this so that I can have icons on a zoomable map that stay the same size no matter the zoom level. Tried using localtoglobal, but it suffers from a similar problem.

Any idea what the formula would be?  
eg: parent.\_xscale = 100 / child.\_xscale=100  
parent.\_xscale = 200 / child.\_xscale=50

etc –

thanks
