title: Rotation and movement in AS3
body: <p>I want to make a minigame where the background (maze) is always rotating around the same point, an immovable playerMC that's in the middle of the stage. To get the rotation I am using two MCs, one parent, that I rotate, and one nested maze that I would like to move  according to mouse/keyboard movement</p>
  
  <p>Unfortunately, the x and y axes on the maze are moved so at 90deg any movement 'up' will change to 'right'.</p>
  
  <p>I do realise sin and cos  or translation matrix should do the trick, but for some reason I can't get it right. </p>
  
  <p>Here is a short gif summarising my problem: <a href="http://blackdragonschronicles.strefa.pl/Public/Vertigo.gif" rel="nofollow">http://blackdragonschronicles.strefa.pl/Public/Vertigo.gif</a>
  I would greatly appreciate any help in the matter</p>