                      lastValue - stepSize, true, trigger);
 
             if (oldValue != lastValue)
-                inputField.getTextField().setSelection(0,0);
+                inputField.selectRange(0,0);
         }
     }
 

            inputField.addEventListener(KeyboardEvent.KEY_DOWN, inputField_keyDownHandler);
            inputField.addEventListener(Event.CHANGE, inputField_changeHandler);

            addChild(inputField);
        }

        if (!nextButton)

import mx.core.IDataRenderer;
import mx.core.IFlexDisplayObject;
import mx.core.IIMESupport;
import mx.core.ITextInput;
import mx.core.UIComponent;
import mx.core.UITextField;
import mx.core.mx_internal;
