Frame 1
function itemHandler5(obj, item) {
_quality = "high";
}
function itemHandler6(obj, item) {
_quality = "medium";
}
function itemHandler7(obj, item) {
_quality = "low";
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
eee_cmi = new ContextMenuItem("High Quality", itemHandler5);
fff_cmi = new ContextMenuItem("Mid Quality", itemHandler6);
ggg_cmi = new ContextMenuItem("Low Quality", itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
stop();
onEnterFrame = function () {
px1 = _xmouse;
py1 = _ymouse;
px2 = _xmouse;
py2 = _ymouse;
_root.createEmptyMovieClip("mymouse1", 1);
_root.mymouse1.lineStyle(1, 0, 100);
_root.mymouse1.beginFill(16777215, 100);
_root.mymouse1.moveTo(px1, py1);
_root.mymouse1.lineTo(px1 + 20, py1 + 5);
_root.mymouse1.lineTo(px1 + 5, py1 + 20);
_root.mymouse1.endFill();
_root.createEmptyMovieClip("mymouse2", 2);
_root.mymouse2.lineStyle(1, 0, 100);
_root.mymouse2.beginFill(16777215, 100);
_root.mymouse2.moveTo(px2, py2);
_root.mymouse2.lineTo(px2 + 20, py2 + 5);
_root.mymouse2.lineTo(px2 + 5, py2 + 20);
_root.mymouse2.endFill();
};
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
}
Frame 2
speed = 1.25;
clicks = 3;
score = 0;
stop();
onEnterFrame = function () {
px1 = _xmouse;
py1 = _ymouse;
px2 = _xmouse;
py2 = _ymouse;
_root.createEmptyMovieClip("mymouse1", 1);
_root.mymouse1.lineStyle(1, 0, 100);
_root.mymouse1.beginFill(16777215, 100);
_root.mymouse1.moveTo(px1, py1);
_root.mymouse1.lineTo(px1 + 20, py1 + 5);
_root.mymouse1.lineTo(px1 + 5, py1 + 20);
_root.mymouse1.endFill();
_root.createEmptyMovieClip("mymouse2", 2);
_root.mymouse2.lineStyle(1, 0, 100);
_root.mymouse2.beginFill(16777215, 100);
_root.mymouse2.moveTo(px2, py2);
_root.mymouse2.lineTo(px2 + 20, py2 + 5);
_root.mymouse2.lineTo(px2 + 5, py2 + 20);
_root.mymouse2.endFill();
};
Frame 3
stop();
onEnterFrame = function () {
px1 = _xmouse;
py1 = _ymouse;
px2 = 500 - _xmouse;
py2 = 500 - _ymouse;
_root.createEmptyMovieClip("mymouse1", 1);
_root.mymouse1.lineStyle(1, 0, 100);
_root.mymouse1.beginFill(16777215, 100);
_root.mymouse1.moveTo(px1, py1);
_root.mymouse1.lineTo(px1 + 20, py1 + 5);
_root.mymouse1.lineTo(px1 + 5, py1 + 20);
_root.mymouse1.endFill();
_root.createEmptyMovieClip("mymouse2", 2);
_root.mymouse2.lineStyle(1, 0, 100);
_root.mymouse2.beginFill(16777215, 100);
_root.mymouse2.moveTo(px2, py2);
_root.mymouse2.lineTo(px2 + 20, py2 + 5);
_root.mymouse2.lineTo(px2 + 5, py2 + 20);
_root.mymouse2.endFill();
};
Instance of Symbol 39 MovieClip "giro" in Frame 3
onClipEvent (enterFrame) {
_root.score++;
if (Key.isDown(2)) {
_root.boom1.play();
_root.boom2.play();
}
if (Key.isDown(18)) {
_root.boom1.play();
_root.boom2.play();
}
if (this.hitTest(_root.px1, _root.py1, true)) {
_root.boom1.play();
_root.boom2.play();
}
if (this.hitTest(_root.px2, _root.py2, true)) {
_root.boom1.play();
_root.boom2.play();
}
}
Instance of Symbol 59 MovieClip "boom1" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.px1;
this._y = _root.py1;
}
Instance of Symbol 59 MovieClip "boom2" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.px2;
this._y = _root.py2;
}
Instance of Symbol 62 MovieClip "speedmc" in Frame 3
onClipEvent (mouseDown) {
if (_root.clicks > 0) {
if (_root.speed > 1) {
this.play();
_root.clicks--;
}
}
}
Frame 4
stop();
onEnterFrame = function () {
px1 = _xmouse;
py1 = _ymouse;
px2 = _xmouse;
py2 = _ymouse;
_root.createEmptyMovieClip("mymouse1", 1);
_root.mymouse1.lineStyle(1, 0, 100);
_root.mymouse1.beginFill(16777215, 100);
_root.mymouse1.moveTo(px1, py1);
_root.mymouse1.lineTo(px1 + 20, py1 + 5);
_root.mymouse1.lineTo(px1 + 5, py1 + 20);
_root.mymouse1.endFill();
_root.createEmptyMovieClip("mymouse2", 2);
_root.mymouse2.lineStyle(1, 0, 100);
_root.mymouse2.beginFill(16777215, 100);
_root.mymouse2.moveTo(px2, py2);
_root.mymouse2.lineTo(px2 + 20, py2 + 5);
_root.mymouse2.lineTo(px2 + 5, py2 + 20);
_root.mymouse2.endFill();
};
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 40
_root.play();
Symbol 32 Button
on (release) {
nextFrame();
}
Instance of Symbol 38 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - _root.speed);
}
Symbol 50 MovieClip Frame 100
_root.speed = _root.speed + 0.25;
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 8
_root.nextFrame();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
_root.speed = _root.speed - 1;
Symbol 68 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}