can anyone help me with this. I haven't been using flash for to long and need some help manipulating this code. I was told "you have to pass a String to 'parseInt()' " to make this work. Not sure how to do that.
here is the section AS this pertains to:
// volume
diff = Math.floor(_root.dragMC._x) - Math.floor(constL)
width = Math.floor(_root.const._width)
soundVol = parseInt((panDiff/panWidth)*100)
soundObj.setVolume(soundVol)
// pan
panDiff = Math.floor(_root.panDragMC._x) - Math.floor(constPanObjL)
panWidth = Math.floor(_root.constPan._width)
panVolume = parseInt((panDiff/panWidth)*200) - 100
panVolumeR = "R"+ (panVolume+100)
panVolumeL = "L"+ (100-panVolume)
soundObj.setPan(panVolume)
