 		var leftOffset:Number = PADDING_LEFT;
 		var centerOffset:Number = leftOffset + innerWidth / 2;
 		var rightOffset:Number = leftOffset + innerWidth;
+
+        const thisRightMargin:Number = rightMargin;
                 
         // Reposition each line if necessary.
         // based on the horizontal alignment,

            
            _textWidth = Math.max(_textWidth, textLine.textWidth);
            
            var width:Number = textLine.x + textLine.textWidth + rightMargin;
            
            // Only align if there is width to do so.
            if (leftAligned || (width >= innerWidth && direction == "ltr"))

                    maxLineWidthBeforeIndent - totalIndent;
                
                if (wordWrap)
                    maxLineWidthBeforeIndent -= thisRightMargin;

                // Stay within the bounds to avoid exception.  Since 
                // fitSomething is true it is okay if maxLineWidth is < 0.
