i have a panning horizontal mc that is bigger than the stage, and when you click on it i SHOULD zoom in centered to what is on the stage (see attached jpg).
I can’t seem to figure out the calculation to do it. Basically, the _x value of the mc is always going to be <=0 and it needs to move left when it zooms so teh mc appears to be centered.
Make sense? Again, see attached. The blue box is the mc, the stage is the square and the dotted line is the Stage.width/2.
I’m using mctween to do this so it’ll be mc.tween("_x", VALUE OF X, .5);