      */
     override mx_internal function shouldItemAppearSelected(index:int):Boolean
     {
-        if (getStyle("inputMode") == "touch")
+        if (getStyle("interactionMode") == InteractionMode.TOUCH)
         {
             // if we could be selecting, only show selection for that one item...don't even show
             // it for the actual selectedIndex

     *  When switched at run time, the current selection
     *  is cleared. 
     * 
     *  This should not be turned on when <code>inputMode</code> 
     *  is <code>touch</code>.
     *
     *  @default false

import mx.core.IFlexDisplayObject;
import mx.core.IUID;
import mx.core.IVisualElement;
import mx.core.InteractionMode;
import mx.core.mx_internal;
import mx.events.CollectionEvent;
import mx.events.CollectionEventKind;
import mx.events.DragEvent;
import mx.events.FlexEvent;
import mx.events.SandboxMouseEvent;
import mx.events.TouchInteractionEvent;
import mx.managers.DragManager;
import mx.managers.IFocusManagerComponent;
import mx.utils.ObjectUtil;
