     
 import flash.display.DisplayObject;
 import flash.events.Event;
+
+import mx.events.FlexEvent;
 
 import spark.components.TextArea;
 import spark.components.supportClasses.MobileTextField;

        textDisplay.multiline = true;
        textDisplay.wordWrap = true;
        textDisplay.addEventListener(Event.CHANGE, textDisplay_changeHandler);
        addChild(textDisplay);
    }
    

    {
        super.measure();
        
        // TextDisplay always defaults to 440 pixels wide, and tall enough to 
        // show all text.
        // 
        // You can set an explicit width and the height will adjust accordingly. The opposite
        // is not true: setting an explicit height will not adjust the width accordingly.
        measuredWidth = 440;
        measuredHeight = Math.max(textDisplay.textHeight + (VERTICAL_PADDING * 2), 55);
    }
