title: How to get transformations from transformation matrix in Flash?
body: <p>I have transformation matrix properties (a,b,c,d). How to calculate scaleX, scaleY, scewX, scewY and rotation angle from those values?</p>
  
  <p>When only one type of transformation is applied, I can figure out that:</p>
  
  <pre><code>scaleX = a
  scaleY = d
  scewX = c
  scewY = b
  rotation = arccos(a) or -arcsin(c)
  </code></pre>
  
  <p>But when multiple transformations are applied at once I don't know how to calculate those values.</p>
  
  <p>I need to do this outside of flash so I can't use any flash helper methods.</p>
  
  <p>Thanks.</p>