     private function getNextTruncationPosition(truncationLineIndex:int,
                                                truncateAtCharPosition:int):int
     {
-        var textLines:Array = mx_internal::textLines;
+        var textLines:Vector.<DisplayObject> = mx_internal::textLines;
 
         // 1. Get the position of the last character of the preceding atom
         // truncateAtCharPosition-1, because truncateAtCharPosition is an 

                                         createdAllLines:Boolean,
                                         lineCountLimit:int):Boolean
    {
        var textLines:Array = mx_internal::textLines;

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

package spark.primitives
{

import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.Graphics;
import flash.display.Shape;
