Flash电子杂志常用滚动区域控制代码(2) speed *= scale_mouse*scale; move_me(); speed /= scale_mouse*scale; }; Mouse.addListener(mouseListener);}//给向上的按钮赋予事件 my_up_btn.onRollOver = function() { move_it = true; my_dir = 1;};my_up_btn.onRollOut = function() { move_it = false;};my_up_btn.onPress = function() { speed *= scale;};my_up_btn.onRelease = function() { speed /= scale;};my_up_btn.onReleaseOutside = function() { speed /= scale; move_it = false;};//给向下的按钮赋予事件 my_down_btn.onRollOver = function() { move_it = true; my_dir = -1;};my_down_btn.onRollOut = function() { move_it = false;};my_down_btn.onPress = function() { speed *= scale;};my_down_btn.onRelease = function() { speed /= scale;};my_down_btn.onReleaseOutside = function() { speed /= scale; move_it = false;};//判断是否该移动 my_move_mc.onEnterFrame = function() { if (move_it) { move_me(); }};//移动mc function move_me() { if ((my_move_mc._y+my_dir*speed)>max1) { my_move_mc._y = max1; } else { if ((my_move_mc._y+my_dir*speed)<min1) {