         m.translate(-transformX, -transformY);
         m.scale(scaleX, scaleY);
         if (rotation != 0) 
-            m.rotate(rotationInRadians(rotation));
+            m.rotate(rotation / 180 * Math.PI);
         m.translate(transformX + x, transformY + y);
         return m;
     }

import flash.geom.Point;
import flash.geom.Rectangle;

/**
 *  Documentation is not currently available.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 9
 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class MatrixUtil
{
    include "../core/Version.as";


	 */
	public static function isDeltaIdentity(matrix:Matrix):Boolean
	{
	    if( matrix.a == 1 && matrix.d == 1 &&
	    	matrix.b == 0 && matrix.c == 0)
            return true;
