What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
im making a platform shooter game and i want the arm to rotate. the arm rotates just fine when its placed in the main frame but when i put the arm inside the movieclip character it rotates differently.
degrees = radians * (180 / Math.PI);
man.onEnterFrame = function()
var adjacent:Number = _xmouse - this._x;
var opposite:Number = _ymouse - this._y;
var angle:Number = Math.atan2(opposite, adjacent);
man.gun._rotation = convert(angle);
Because xmouse and ymouse are relative to the parent.
You need `_root.xmouse` and `_root.ymouse`
And how to [properly post code.](http://www.kongregate.com/forums/4-game-programming/topics/39889-proper-forum-code-formatting-guide)
> *Originally posted by **[Draco18s](/forums/4/topics/354164?page=1#posts-7346528):***
> Because xmouse and ymouse are relative to the parent.
> You need `_root.xmouse` and `_root.ymouse`
> And how to [properly post code.](http://www.kongregate.com/forums/4-game-programming/topics/39889-proper-forum-code-formatting-guide)
I think you are wrong, he need to use ` man._xmouse and man._ymouse`.
well, can you describe what happends to the arm better or publish an fla showing it? the problem could be that you are not specific about what to rotate, do something like this _root.player.arm._rotation = whatever