     }
     
     //----------------------------------
-    //  landscapeOrientation
-    //----------------------------------
-    /**
-     *  @private
-     */
-    override public function set landscapeOrientation(value:Boolean):void
-    {
-        if (value != landscapeOrientation)
-        {
-            super.landscapeOrientation = value;
-            
-            if (activeView)
-                activeView.setCurrentState(activeView.getCurrentViewState(landscapeOrientation), false);
-        }
-    }
-    
-    //----------------------------------
     //  length
     //----------------------------------
     

        view.percentWidth = view.percentHeight = 100;
        
        // Update the views orientation state
        if ((landscapeOrientation && view.hasState("landscape")) ||
            (!landscapeOrientation && view.hasState("portrait")))
        {
            view.setCurrentState(view.getCurrentViewState(landscapeOrientation), false);
        }
        
        addElement(view);
        
        return view;

	
    //--------------------------------------------------------------------------
    //
    // Protected Methods
    // 
    //--------------------------------------------------------------------------
	
