         }
 	}
 
+	/**
+	 *  @private
+	 */
+	override protected function getUpdatedSkinState():String
+	{
+        var hOn:Boolean = horizontalScrollPolicy == ScrollPolicy.ON;
+        var vOn:Boolean = verticalScrollPolicy == ScrollPolicy.ON;
+
+        if (hOn && vOn)
+            return enabled ? "enabledBothScrollBars" : "disabledBothScrollBars";
+
+        if (hOn)
+            return enabled ? "enabledHScrollBar" : "disabledHScrollBar";
+
+        if (vOn)
+            return enabled ? "enabledVScrollBar" : "disabledVScrollBar";
+
+        return enabled ? "enabledNoScrollBars" : "disabledNoScrollBars";
+	}
+
 	//--------------------------------------------------------------------------
     //
     //  Methods

	{
        super.commitProperties();
        
        if (heightInLinesChanged)
		{
			textView.heightInLines = _heightInLines;

import flex.component.TextView;
import flex.events.TextOperationEvent;

import mx.core.ScrollPolicy;

import text.formats.LineBreak;

//--------------------------------------
//  Other metadata
//--------------------------------------

[DefaultProperty("content")]

/**
 *  The built-in set of states for the TextArea component.
 */
[SkinStates("enabledNoScrollBars", "enabledHScrollBar", "enabledVScrollBar", "enabledBothScrollBars", "disabledNoScrollBars", "disabledHScrollBar", "disabledVScrollBar", "disabledBothScrollBars")]

/**
 *  Documentation is not currently available.
 */
public class TextArea extends TextBase
{
    include "../core/Version.as";

