title: get skew or rotation value from affine transformation matrix
body: <p>I'm trying to get the skew values out of a transformation matrix in a flash movie clip. The transformation matrix is represented by </p>
  
  <pre><code>a b tx
  c d ty
  0 0 1
  </code></pre>
  
  <p>I have no information on what kind of transformation is performed and which comes first. I do know that in flash, you may only rotate OR skew a movie clip (correct me if I am wrong). I can get scale values from scaleX and scaleY properties of the movie clip. I believe translation does not quite matter i can just equate tx and ty to zero. </p>
  
  <p>so my question has 2 parts. How do I determine if a skew or a rotation had been applied, and how do I get the respective values?</p>