how i make something like this:
v
is the var name and t
is the watcher type
var watcher = this.findVariableWatcher(v);
switch(t) {
case "normal": watcher.styleNormal(); break;
case "large": watcher.styleLarge(); break;
case "slider": watcher.styleSlider(); break;
}
what about changing the slider minimium and maximum?
min: this.findVariableWatcher(v).sliderMorph.setStart(u);
max: this.findVariableWatcher(v).sliderMorph.setStop(u);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.