Frame 1
score = 0;
top = 35;
bottom = 35;
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 37 MovieClip "data" in Frame 1
onClipEvent (load) {
speed = 1 + random(10);
}
onClipEvent (enterFrame) {
if (this.drag == true) {
_x = (_x + 0);
} else {
_x = (_x + speed);
if (_x > 620) {
_x = -20;
_y = (_root.top + random(_root.bottom));
speed = 1 + random(10);
}
}
}
Instance of Symbol 38 MovieClip "clock" in Frame 1
onClipEvent (load) {
var finalrank;
time = 0;
i = 1;
}
onClipEvent (enterFrame) {
time = time - i;
realtime = int(time / 24);
if (realtime == 1) {
_root.empty.attachMovie("final", "finalloaded", 10);
finalrank = _root.rank;
_root.finalmov._alpha = _root.finalmov._alpha + 5;
}
if (realtime == 0) {
i = 0;
}
}
Instance of Symbol 38 MovieClip "ranks" in Frame 1
onClipEvent (enterFrame) {
if (_root.score > 100) {
_root.rank = "Brigadier";
} else if (_root.score > 90) {
_root.rank = "Lt. Colonel ";
} else if (_root.score > 80) {
_root.rank = "Major";
} else if (_root.score > 70) {
_root.rank = "Captain";
} else if (_root.score > 60) {
_root.rank = "1st Lieutenant";
} else if (_root.score > 50) {
_root.rank = "2nd Lieutenant";
} else if (_root.score > 40) {
_root.rank = "Sergeant Major";
} else if (_root.score > 30) {
_root.rank = "Sergeant ";
} else if (_root.score > 20) {
_root.rank = "Corporal";
} else if (_root.score > 10) {
_root.rank = "Lance Corporal";
} else if (_root.score > 0) {
_root.rank = "Private";
}
}
Instance of Symbol 39 MovieClip "empty" in Frame 1
onClipEvent (load) {
this.attachMovie("start", "startloaded", 10);
}
Symbol 10 Button
on (release) {
_root.empty.attachMovie("start", "startloaded", 10);
this._alpha = 0;
}
Symbol 16 Button
on (release) {
removeMovieClip(this);
_root.clock.time = 720;
_root.score = 0;
_root.clock.finalrank = "";
_root.clock.i = 1;
_root.rank = "Private";
_root.finalmov._alpha = 0;
}
Symbol 36 Button
on (press) {
startDrag (getProperty(_x, _y));
drag = true;
}
on (release) {
stopDrag();
drag = false;
if (eval (this._droptarget) == _root.ta5) {
_x = -20;
_y = (_root.top + random(_root.bottom));
_root.score = _root.score + speed;
speed = 1 + random(10);
}
}
Symbol 37 MovieClip Frame 1
stop();
drag = false;
ta5x = getProperty("_root.ta5", _x);
ta5y = getProperty("_root.ta5", _y);