         mxmlContent = elements;
         
     }
-
-    // Returns true if the stage is in landscape orientation
-    private function get landscapeOrientation():Boolean
-    {
-        if (systemManager && systemManager.stage)
-            return systemManager.stage.deviceOrientation == StageOrientation.ROTATED_LEFT ||
-                systemManager.stage.deviceOrientation == StageOrientation.ROTATED_RIGHT;
-        else
-            return false;
-    }
-    
     
     //--------------------------------------------------------------------------
     //

import flash.events.StageOrientationEvent;
import flash.ui.Keyboard;

import mx.core.InteractionMode;
import mx.core.mx_internal;
import mx.managers.IFocusManagerComponent;

    
    override protected function getCurrentSkinState():String
    {
    	// TODO (jszeto): Just concat "AndLandscape" with super call if in landscape orientation
        if (FlexGlobals.topLevelApplication.aspectRatio == "portrait")
            return super.getCurrentSkinState();
        else
            return enabled ? "normalAndLandscape" : "disabledAndLandscape";                
