     private function computeLastAllowedLineIndex(height:Number,
                                                  lineCountLimit:int):int
     {           
-        var textLines:Array = mx_internal::textLines;
+        var textLines:Vector.<DisplayObject> = mx_internal::textLines;
         var truncationLineIndex:int = textLines.length - 1;
         
         if (!isNaN(height))

        var textJustify:String = getStyle("textJustify");

		// Set the TextBlock's content.
        staticTextElement.text = text;
		staticTextElement.elementFormat = elementFormat;
		staticTextBlock.content = staticTextElement;


                                         createdAllLines:Boolean,
                                         lineCountLimit:int):Boolean
    {
        var textLines:Vector.<DisplayObject> = mx_internal::textLines;

        // Not all text composed because it didn't fit within bounds.
        if (!createdAllLines)
