 import mx.core.IFactory;
 import mx.core.IFlexDisplayObject;
 import mx.core.IInvalidating;
+import mx.core.ILayoutDirectionElement;
 import mx.core.IUIComponent;
 import mx.core.IUID;
 import mx.core.IUITextField;

            else
            {
                o = selectionIndicators[rowData.uid];
                
                drawSelectionIndicator(
                    o, item.x, effectiveRowY /* rowInfo[rowData.rowIndex].y */,

                }
                
                o = caretIndicator;
                
                // Let the caretIndicator inherit the layoutDirection
                if (o is ILayoutDirectionElement)
                    ILayoutDirectionElement(o).layoutDirection = null;
                
                drawCaretIndicator(
                    o, item.x, rowInfo[rowData.rowIndex].y,
