 
 package spark.skins.mobile
 {
+import flash.system.Capabilities;
+
 import mx.core.DPIClassification;
+import mx.core.mx_internal;
 
 import spark.components.TextArea;
 import spark.components.supportClasses.StyleableTextField;
 import spark.skins.mobile.supportClasses.StageTextSkinBase;
+
+use namespace mx_internal;
 
 /**
  *  ActionScript-based skin for TextArea controls in mobile applications that uses a

        
        if (textDisplay)
        {
            textDisplay.commitStyles();
            setElementSize(textDisplay, unscaledTextWidth, unscaledTextHeight);
            setElementPosition(textDisplay, paddingLeft, paddingTop);
        }
        
        if (promptDisplay)

 */
public class StageTextAreaSkin extends StageTextSkinBase
{
    //--------------------------------------------------------------------------
    //
    //  Class variables
    //
    //--------------------------------------------------------------------------

    /**
     *  The underlying native text control on iOS has internal margins of its
     *  own. In order to remain faithful to the paddingTop and paddingBottom
     *  style values that developers may specify, those internal margins need to
     *  be compensated for. This variable contains size of that compensation in
     *  pixels.
     */
    mx_internal static var iOSVerticalPaddingAdjustment:Number = 5;
    
    //--------------------------------------------------------------------------
    //
    //  Constructor
