     }
 
     /**
-     * Handy function to lookup an option based on argField and set it as the selected item.
+     * Handy function to lookup an option based on dataField and set it as the selected item.
      * This probably only works for Array dataProviders.
      */
     public function setSelectedValue (value :Object) :void
     {
         for (var ii :int = 0; ii < dataProvider.length; ++ii) {
-            var v :Object = (this.argField != null) ?
-                dataProvider[ii][this.argField] : dataProvider[ii];
+            var v :Object = (this.dataField != null) ?
+                dataProvider[ii][this.dataField] : dataProvider[ii];
             if (v == value) {
                 this.selectedIndex = ii;
                 return;

     * The field of the selectedItem object used as the argument to the
     * command or function. If null, the entire selectedItem is passed as the argument.
     */
    public var argField :String;

    /**
     * Create a command combobox.

     * @param cmdOrFn either a String, which will be the CommandEvent command to dispatch,
     *        or a function, which will be called when changed.
     */
    public function CommandComboBox (cmdOrFn :* = null, dataField :String = "data")
    {
        CommandButton.validateCmd(cmdOrFn);
        _cmdOrFn = cmdOrFn;
        this.dataField = dataField;

        addEventListener(ListEvent.CHANGE, handleChange);
    }
