#12001/7/22 23:35:36
在场景中有一个触发事件的名为go的mc,as为:
onClipEvent (enterFrame) {
if (this.hitTest(_root.mouse1.hit)) {
l = getProperty(_root.mouse1, _x);
setProperty (_root.mouse1, _x, l+40);
tellTarget (_root.mouse1) {
gotoAndPlay ("left");
}
}
}
但是我的要求是:在影片进行过程中,不断复制_root.mouse1
duplicateMovieClip ("_root.mouse", "_root.mouse"add n, n);
每一个mouse经过go都触发事件,
if (this.hitTest(_root.mouse1.hit)) 这段代码该如何改?
或者有什么其他的办法!