fires when the user changes the value of a slider item
myToolbar.attachEvent("onValueChange", function(id, value){ //your code here });