 import mx.events.ListEvent;
 
 import com.threerings.util.CommandEvent;
+import com.threerings.util.Util;
 
 /**
  * A combo box that dispatches a command (or calls a function) when it is toggled. NOTE: Unlike the

     * @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);
    }

     * 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 dataField :String = "data";

    /**
     * Create a command combobox.
