英语翻译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/08/15 17:00:02
![英语翻译laser_nodes = 1;btn.onRelease=function(){node = _root.attachMovie(](/uploads/image/z/10924673-41-3.jpg?t=%E8%8B%B1%E8%AF%AD%E7%BF%BB%E8%AF%91laser_nodes+%3D+1%3Bbtn.onRelease%3Dfunction%28%29%7Bnode+%3D+_root.attachMovie%28%22laser%22%2C%22laser_%22%2Blaser_nodes%2Claser_nodes%2C%7B_x%3AMath.random%28%29%2A460%2B20%2C_y%3AMath.random%28%29%2A310%2B20%7D%29%3Bnode.onPress+%3D+function%28%29+%7BstartDrag%28this%29%3B%7D%3Bnode.onRelease+%3D+function%28%29+%7BstopDr)
英语翻译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
看附件~~~~~~~