Frame 1
stop();
_highquality = 0;
Frame 2
count = 0;
Instance of Symbol 11 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndStop(1);
}
}
Instance of Symbol 14 MovieClip "orig" in Frame 2
onClipEvent (load) {
if (name == "orig") {
_alpha = 0;
} else {
spdx = ((-Math.random()) * 5) + (Math.random() * 5);
if (spdx == 0) {
spdx = (-(Math.random() * 5)) + (Math.random() * 5);
}
spdy = (Math.random() * 7) + 3;
}
}
onClipEvent (enterFrame) {
if (_name == "orig") {
_x = _root._xmouse;
duplicateMovieClip (this, _name + i, i);
i++;
} else {
_x = (_x + spdx);
_y = (_y + spdy);
spdy = spdy * 1.005;
}
if ((480 < _x) or (_x < 0)) {
spdx = spdx * -1;
}
if (640 < _y) {
_root.count = _root.count + 1;
removeMovieClip(this);
}
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndStop(1);
}
if (_root._currentframe != 2) {
removeMovieClip(this);
}
}
Symbol 9 Button
on (press) {
nextFrame();
}