             m.scale(scaleX, scaleY);
         }
 
-        // Rotate to keep aligned with StageOrientation.DEFAULT
-        var rotation:Number = 0;
-        
-        if (autoAlign)
-        {
-            switch (stage.orientation)
-            {
-                case StageOrientation.UNKNOWN:
-                case StageOrientation.DEFAULT:
-                    rotation = 0;
-                break;
-
-                case StageOrientation.ROTATED_RIGHT: 
-                    rotation = Math.PI * 1.5; // 270
-                break;
-            
-                case StageOrientation.ROTATED_LEFT: 
-                    rotation = Math.PI * 0.5; // 90
-                break;
-
-                case StageOrientation.UPSIDE_DOWN: 
-                    rotation = Math.PI; // 180
-                break;
-            }
-        }
-
         // Move center to (0,0):
         m.translate(-width / 2, -height / 2);
 
-        // Rotate around center (0,0)
-        if (rotation != 0)
-            m.rotate(rotation);
-
         // Align center of image (0,0) to center of stage: 
-        var stageWidthAfterOrientationAndDPI:Number = stage.stageWidth / dpiScale;
-        var stageHeightAfterOrientationAndDPI:Number = stage.stageHeight / dpiScale;
-        m.translate(stageWidthAfterOrientationAndDPI / 2, stageHeightAfterOrientationAndDPI / 2);
+        m.translate(stageWidth / 2, stageHeight / 2);
 
         // Apply matrix
         splashImage.transform.matrix = m;

        var dpiScale:Number = this.root.scaleX;

        // Get stage dimensions at default orientation
        var stageWidth:Number;
        var stageHeight:Number;
        
        if (autoAlign && (orientation == StageOrientation.ROTATED_LEFT ||
            orientation == StageOrientation.ROTATED_RIGHT))
        {
            stageWidth = stage.stageHeight / dpiScale;
            stageHeight = stage.stageWidth / dpiScale;
        }
        else
        {
            stageWidth = stage.stageWidth / dpiScale;
            stageHeight = stage.stageHeight / dpiScale;
        }

        // The image dimensions
        var width:Number = splashImageWidth;

    
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.display.StageAspectRatio;
import flash.display.StageOrientation;
import flash.events.Event;
import flash.events.StageOrientationEvent;
