Hey James:
"‹This is working PERFECTLY! Here's where I ended up:
function handleSliderDrag(event,sliderID)
{
if (params.getValue('lockStatus',0) == 0 && params.getValue('act',0) !='' && params.getValue('round',0) !='' && params.getValue('division',0) !='')
{
var sliderPosition = Math.round(event.x/70)
if (sliderPosition >=0 && sliderPosition <=20)
{
var parentIP = params.getValue('parentIP',0);
params.setValue('score' + sliderID, 0, sliderPosition);
ogscript.setStyle('slider' + sliderID,'bg-u:Images/Slider_' + sliderPosition + '.png');
ogscript.sendUDPString(parentIP, 2140, ('mark::' + params.getValue('ID',0) + '::' + 'score' + sliderID + '::' + sliderPosition));
calcTotalScore();
}
}
}
"‹Much appreciated, as always :-)
CJ
#DashBoard