         slider.liveDragging = true;
         slider.snapInterval = 1;
 
-        addXMLControl(spec.@ident, new LabeledSlider(slider));
+        addXMLControl(spec, new LabeledSlider(slider));
     }
 
     /**

        var box :CheckBox = new CheckBox();
        box.selected = ("true" == startStr);

        addXMLControl(spec.@ident, box);
    }

    override protected function flushGameConfig () :void

    /**
     * Add a control that came from parsing our custom option XML.
     */
    protected function addXMLControl (spec :XML, control :UIComponent) :void
    {
        var ident :String = String(spec.@ident);
        var tip :String = StringUtil.trim(String(spec.text()));

        var lbl :Label = new Label();
        lbl.text = ident + ":";
        lbl.toolTip = tip;
        control.toolTip = tip;

        addControl(lbl, control);
        _customConfigs.push(ident, control);
    }

