英语翻译laser_nodes = 1;btn.onRelease=function(){node = _root.attachMovie("laser","laser_"+laser_nodes,laser_nodes,{_x:Math.random()*460+20,_y:Math.random()*310+20});node.onPress = function() {startDrag(this);};node.onRelease = function() {stopDr

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 01:19:14
英语翻译laser_nodes = 1;btn.onRelease=function(){node = _root.attachMovie(

英语翻译laser_nodes = 1;btn.onRelease=function(){node = _root.attachMovie("laser","laser_"+laser_nodes,laser_nodes,{_x:Math.random()*460+20,_y:Math.random()*310+20});node.onPress = function() {startDrag(this);};node.onRelease = function() {stopDr
英语翻译
laser_nodes = 1;
btn.onRelease=function(){
node = _root.attachMovie("laser","laser_"+laser_nodes,laser_nodes,{_x:Math.random()*460+20,_y:Math.random()*310+20});
node.onPress = function() {
startDrag(this);
};
node.onRelease = function() {
stopDrag();
};
laser_nodes++;
}
_root.createEmptyMovieClip("ray",_root.getNextHighestDepth());
ray.onEnterFrame = function() {
this.clear();
this.lineStyle(3,0xff0000);
this.moveTo(_root.laser_1._x,_root.laser_1._y);
for (x=1; x

英语翻译laser_nodes = 1;btn.onRelease=function(){node = _root.attachMovie("laser","laser_"+laser_nodes,laser_nodes,{_x:Math.random()*460+20,_y:Math.random()*310+20});node.onPress = function() {startDrag(this);};node.onRelease = function() {stopDr

看附件~~~~~~~