# Transformation Matrix

**URL:** <https://forum.kirupa.com/t/transformation-matrix/305228>\
**Category:** Uncategorized\
**Created:** [February 21, 2010, 10:15pm UTC](https://forum.kirupa.com/t/transformation-matrix/305228 "2010-02-21T22:15:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shizny](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@shizny](https://forum.kirupa.com/u/shizny)\
**Post date:** [February 21, 2010, 10:15pm UTC](https://forum.kirupa.com/t/transformation-matrix/305228/1 "2010-02-21T22:15:11Z")

</div>

I have been working on some Matrix transformations for an app I’m trying to develop in AS3. I was having a ton of trouble when I got into scaling and rotating a display object, and after a couple days, have decided that another avenue to pursue is to try and calculate a transformation matrix from point pairs. I have 4 point pairs which are being mapped correctly from pre-translation space to translated space (not through the transformation matrix, just trig calcs). Do you know if there is a way to calculate the transformation matrix based on point pairs? If I could calculate the transformation matrix from the point pairs then I could apply that same transformation to my movieclip and hopefully get the correct result. Just looking for some direction. Thanks!
