     //--------------------------------------------------------------------------
     
     //----------------------------------
-    //  autoAlign
-    //----------------------------------    
-    /**
-     *  @private
-     *  Flag determines whether the SplashScreen attempts to auto orient the
-     *  splash screen image that is displayed.
-     */ 
-    mx_internal var autoAlign:Boolean = true;
-    
-    //----------------------------------
     //  preloader
     //----------------------------------
     

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

            m.scale(scaleX, scaleY);
        }

        // Move center to (0,0):
        m.translate(-width / 2, -height / 2);

        // Align center of image (0,0) to center of stage: 
        m.translate(stageWidth / 2, stageHeight / 2);

        // Apply matrix
        splashImage.transform.matrix = m;
