Function Trouble - Need a Debuger

You could also try something like…

[AS]myClips = [myClip1, myClip2, myClip3];
for (i=0; i<myClips.length; myClips++) {
myClips*.onEnterFrame = function() {
this.hit = this.hitTest(_root._xmouse, _root._ymouse, true);
this.hit ? this.nextFrame() : this.prevFrame();
};
}[/AS]