How can I make a movie clip center into the middle of my movie?
Instead of the cordinates being in 0 and !=0 at the top left?
I would like this (script) to aplly, when my move center is 0, in the middle of the screen.
And does this calculate the things I wish as right asd I planned=? The Sin O and hyp-lenght?
onClipEvent(enterFrame) {
opps=(_root._xmouse * _root._xmouse);
sins=(_root._ymouse * _root._ymouse);
Uhyp=opps+sins;
Chyp=Math.sqrt(Uhyp);
_root.output=Chyp;
sinO=opps / Chyp;
_root.outputSin=sinO;
}