这里的滚动条对应的Actionscript:
on (press) {
startDrag("", false, start_x, start_y, final_x, start_y);
}
on (release) {
stopDrag();
_proportion = (100.0*(this._x-start_x))/(final_x-start_x);
getURL("lingo:set_volume("+String.fromCharCode(34)+_proportion+String.fromCharCode(34)+"
"
;
}
on (releaseOutside) {
stopDrag();
}
我将该swf导入到director中,应该如何来控制声音呢,请多指教?因为本人对actionscript不太熟悉。