Simple math problem

i’ve run into so many problems using _xscale and _yscale that i’m going to try and re-approach my idea here… .

i’m scaling a box to the size of the browser using this code


targetClip._height = Stage.height-100;
targetClip._xscale = targetClip._yscale;

but when i try and use the box._width or box._height it’s spitting out the original width and height and not the new scaled width and height.

How can i calculate the new size of the scaled box and/or stage WITHOUT using _xscale or _yscale?