there is no need to wrap this in an Integer... and apparently when pulling it out of the hashmap
and casting it to a string we get [object Object] instead of what you would expect git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@290 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -103,7 +103,8 @@ public class EZGameConfigurator extends FlexGameConfigurator
|
||||
var ident :String = String(_customConfigs[ii]);
|
||||
var control :UIComponent = (_customConfigs[ii + 1] as UIComponent);
|
||||
if (control is LabeledSlider) {
|
||||
params.put(ident, new Integer((control as LabeledSlider).slider.value));
|
||||
//params.put(ident, new Integer((control as LabeledSlider).slider.value));
|
||||
params.put(ident, (control as LabeledSlider).slider.value);
|
||||
|
||||
} else if (control is CheckBox) {
|
||||
params.put(ident, (control as CheckBox).selected);
|
||||
|
||||
Reference in New Issue
Block a user