Frame 1
var Taken1 = false;
Taken2 = false;
Taken3 = false;
Taken4 = false;
Taken5 = false;
Taken6 = false;
Taken7 = false;
var Used1 = false;
Used2 = false;
Used3 = false;
Used4 = false;
Used5 = false;
Used6 = false;
Used7 = false;
stop();
onMouseDown = function () {
if (_currentframe == 1) {
nextFrame();
}
};
Frame 2
stop();
Instance of Symbol 9 MovieClip "Right" in Frame 2
onClipEvent (load) {
this._alpha = 30;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (_root._currentframe == 5) {
_root.gotoAndPlay(2);
} else {
_root.nextFrame();
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this._alpha = 100;
}
} else if (this._alpha > 30) {
this._alpha = this._alpha - 10;
} else {
this._alpha = 30;
}
}
Instance of Symbol 11 MovieClip "Left" in Frame 2
onClipEvent (load) {
this._alpha = 30;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (_root._currentframe == 2) {
_root.gotoAndPlay(5);
} else {
_root.prevFrame();
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this._alpha = 100;
}
} else if (this._alpha > 30) {
this._alpha = this._alpha - 10;
} else {
this._alpha = 30;
}
}
Instance of Symbol 28 MovieClip "Dock" in Frame 2
onClipEvent (load) {
this._alpha = 30;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
this._alpha = 100;
}
} else if (this._alpha > 30) {
this._alpha = this._alpha - 10;
} else {
this._alpha = 30;
}
}
Instance of Symbol 34 MovieClip "Victory" in Frame 2
onClipEvent (load) {
this._visible = false;
}
Frame 3
stop();
if (_root.Used1 == true) {
_root.Safe.nextFrame();
}
if (_root.Used3 == true) {
_root.Safe.nextFrame();
}
if (_root.Used7 == true) {
_root.Open.nextFrame();
}
if (_root.Used4 == true) {
_root.Keyhole.nextFrame();
}
Frame 4
stop();
if (_root.Taken3 == true) {
_root.Object3._visible = false;
}
if (_root.Taken6 == true) {
_root.Object6._visible = false;
}
if (_root.Taken7 == true) {
_root.Object7._visible = false;
}
if (_root.Used3 == true) {
_root.Plate._visible = true;
} else {
_root.Plate._visible = false;
}
if (_root.Used7 == true) {
_root.Cover._visible = false;
_root.Plank.gotoAndPlay(15);
_root.Plank._x = 110;
}
if (_root.Used4 == true) {
_root.Keyside.nextFrame();
}
Instance of Symbol 56 MovieClip "Plank" in Frame 4
onClipEvent (load) {
var Active = false;
Change = 0;
Normal = 50.1;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, true) && (this._currentframe != 15)) && (_root.Used4 == true)) {
Active = true;
Change = _root._xmouse - this._x;
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
onClipEvent (mouseMove) {
if (Active == true) {
if ((_root._xmouse - Change) >= Normal) {
if ((_root._xmouse - Change) >= 110) {
this.gotoAndPlay(3);
Active = false;
}
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
this._x = _root._xmouse - Change;
} else {
if (this._currentframe == 2) {
this.gotoAndPlay(1);
}
this._x = Normal;
}
}
}
onClipEvent (mouseUp) {
if (Active == true) {
if (this._currentframe == 2) {
this.gotoAndPlay(1);
}
this._x = Normal;
Active = false;
}
}
Instance of Symbol 58 MovieClip "Object6" in Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.Dock.Item6._visible = true;
_root.Taken6 = true;
this._visible = false;
}
}
Instance of Symbol 60 MovieClip "Object3" in Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.Dock.Item3._visible = true;
_root.Taken3 = true;
this._visible = false;
}
}
Instance of Symbol 62 MovieClip "Object7" in Frame 4
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.Dock.Item7._visible = true;
_root.Taken7 = true;
this._visible = false;
}
}
Frame 5
stop();
if (_root.Taken1 == true) {
_root.Object1._visible = false;
_root.Object2._visible = false;
}
Instance of Symbol 72 MovieClip "Object1" in Frame 5
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.Dock.Item1._visible = true;
_root.Taken1 = true;
this._visible = false;
_root.Dock.Item2._visible = true;
_root.Taken2 = true;
_root.Object2._visible = false;
}
}
Symbol 15 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 2
stop();
Instance of Symbol 15 MovieClip "Item1" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken1 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
if (((Active == true) && (_root.Plug.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.Used1 == false)) {
_root.Safe.nextFrame();
_root.Used1 = true;
this.gotoAndPlay(2);
}
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 17 MovieClip "Item2" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken2 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 19 MovieClip "Item3" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken3 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
if ((((Active == true) && (_root.Safe.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.Used1 == true)) && (_root.Used3 == false)) {
_root.Safe.nextFrame();
_root.Used3 = true;
}
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 21 MovieClip "Item4" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken4 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
if (((Active == true) && (_root.Keyhole.hitTest(_root._xmouse, _root._ymouse, false))) && (_root.Used4 == false)) {
this._visible = false;
_root.Keyhole.nextFrame();
_root.Used4 = true;
}
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 23 MovieClip "Item5" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
Checker = 0;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken5 == true)) {
Active = true;
Checker = 0;
this.startDrag(true);
}
}
onClipEvent (enterFrame) {
if (_root.Slider.hitTest(_root._xmouse, _root._ymouse, false) && (Active == true)) {
if ((Checker == 0) && ((_root._ymouse - _root.Slider._y) < 90)) {
Checker = 1;
}
if ((Checker == 1) && ((_root._ymouse - _root.Slider._y) > 90)) {
_root.Victory._visible = true;
_root.Test._x = 87;
_root.Test._y = 135;
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
}
}
onClipEvent (mouseUp) {
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 25 MovieClip "Item6" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken6 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Instance of Symbol 27 MovieClip "Item7" in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
var Active = false;
OrX = this._x;
OrY = this._y;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (this._visible == true)) && (_root.Taken6 == true)) {
Active = true;
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
Active = false;
this.stopDrag();
this._x = OrX;
this._y = OrY;
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
stop();
Symbol 41 MovieClip Frame 3
stop();
if (_root.Taken4 == true) {
_root.Safe.Object4._visible = false;
}
Instance of Symbol 40 MovieClip "Object4" in Symbol 41 MovieClip Frame 3
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
_root.Dock.Item4._visible = true;
_root.Taken4 = true;
this._visible = false;
}
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
if (_root.Taken5 == true) {
_root.Open.Object5._visible = false;
}
Instance of Symbol 47 MovieClip "Object5" in Symbol 48 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.Dock.Item5._visible = true;
_root.Taken5 = true;
this._visible = false;
}
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 3
_root.Cover._visible = false;
Symbol 56 MovieClip Frame 15
stop();
_root.Used7 = true;
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();