title: 3D distortion in Flash
body: <p>I'm making simple 3D transformations in Flash to rotate stuff, but I get distortions. I can rotation left, right, up, down, but not diagonally since it completely distorts my faces (the ones I draw).</p>
  
  <p>I think I fail to move the camera somehow, but I'm not experienced enough to understand my error.</p>
  
  <p>Here's the file: <a href="http://www.2shared.com/video/J7ahd6VG/final.html" rel="nofollow noreferrer">http://www.2shared.com/video/J7ahd6VG/final.html</a></p>
  
  <p>Example: when a face is rotated at about 45° around the <em>y</em> axis (vertical to screen) and then rotated around the <em>x</em> axis the perspective doesn't feel right... the faces are too narrow.</p>
  
  <p><img src="https://i.stack.imgur.com/3bqmy.png" alt="Face with should be wider IMO"></p>
  
  <p>What I do is multiply the rotation matrices between themselves (the mouse position providing the angles) get the transformed points, project them to screen and draw boxes with them.</p>
  
  <p>I used this tutorial to get me started: <a href="http://bgstaal.net/blog/?p=57" rel="nofollow noreferrer">http://bgstaal.net/blog/?p=57</a></p>
  
  <p>Has anybody encountered a similar problem?</p>