Instance of Symbol 16 MovieClip "startkey" in Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (load) {
lastBytesComplete = -1;
dlspeed = 0;
gamestart = false;
}
onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
if (bytesLoaded < bytesTotal) {
gamestart = false;
_parent.loadBar._xscale = Math.round((bytesLoaded / bytesTotal) * 100);
if (lastBytesComplete != -1) {
if ((bytesLoaded - lastBytesComplete) > 0) {
if (dlspeed != 0) {
dlspeed = (dlspeed * 0.99) + ((bytesLoaded - lastBytesComplete) * 0.01);
} else {
dlspeed = bytesLoaded - lastBytesComplete;
}
}
bytesRemaining = bytesTotal - bytesLoaded;
if (dlspeed > 0) {
time_taking = (bytesRemaining / dlspeed) / 21;
} else {
time_taking = 0;
}
if (Math.floor(time_taking) < 10) {
_parent.second_y.text = "0" + Math.floor(time_taking);
} else {
_parent.second_y.text = Math.floor(time_taking);
}
milli_seconds = Math.floor((time_taking - Math.floor(time_taking)) * 100);
if (milli_seconds < 10) {
_parent.milli_y.text = "0" + milli_seconds;
} else {
_parent.milli_y.text = milli_seconds;
}
}
lastBytesComplete = bytesLoaded;
} else {
this._alpha = Math.max(0, this._alpha - 15);
_parent.dot._alpha = this._alpha;
_parent.secondstxt._alpha = this._alpha;
_parent.second_y._alpha = this._alpha;
_parent.milli_y._alpha = this._alpha;
if (gamestart == false) {
gamestart = true;
_parent.loadBar._xscale = 100;
_parent.loadBar.gotoAndStop(1);
_parent.second_y.text = "00";
_parent.milli_y.text = "00";
_parent.startkey.gotoAndPlay(2);
}
}
}
Frame 2
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Symbol 16 MovieClip Frame 5
_parent.gotoAndPlay(3);
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 6
on (release) {
_parent._parent.gotoAndPlay(3);
}
Symbol 16 MovieClip Frame 8
_parent.gotoAndPlay(3);
Symbol 16 MovieClip Frame 13
stop();
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 66 MovieClip Frame 1
on (rollOver) {
if (this.onEnterFrame == null) {
this.onEnterFrame = function () {
if ((((_root._xmouse > _parent._x) && (_root._xmouse < (_parent._x + this._width))) && (_root._ymouse > _parent._y)) && (_root._ymouse < (_parent._y + this._height))) {
_parent._alpha = 100;
} else {
_parent._alpha = 0;
}
};
this.rollOver = null;
this.useHandCursor = false;
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.blood = "";
var i:Number = 1;
while (i < 5) {
_parent._parent["pic" + i]._x = (_parent._parent["pic" + i]._y = 0);
_parent._parent["pic" + i]._visible = false;
_parent._parent["pic" + i]._alpha = 0;
if (i < 4) {
_parent._parent[("pic" + i) + "blood"]._x = (_parent._parent[("pic" + i) + "blood"]._y = 0);
_parent._parent[("pic" + i) + "blood"]._visible = false;
_parent._parent[("pic" + i) + "blood"]._alpha = 0;
}
i++;
}
i = 1;
_parent._parent["pic" + i]._visible = true;
_parent._parent["pic" + i].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
_parent._parent.num = 1;
this.select = false;
this.gotoAndStop(1);
}
on (rollOver) {
if (select) {
gotoAndStop (3);
} else {
gotoAndStop (4);
}
}
on (rollOut) {
if (select) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
on (press) {
if (select) {
_parent._parent.blood = "";
select = false;
gotoAndStop (4);
} else {
_parent._parent.blood = "blood";
select = true;
gotoAndStop (3);
}
if (_parent._parent.num != 4) {
if (_parent._parent.blood == "blood") {
_parent._parent[("pic" + _parent._parent.num) + "blood"]._visible = true;
_parent._parent[("pic" + _parent._parent.num) + "blood"].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
_parent._parent["pic" + _parent._parent.num].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
} else {
_parent._parent["pic" + _parent._parent.num]._visible = true;
_parent._parent["pic" + _parent._parent.num].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
_parent._parent[("pic" + _parent._parent.num) + "blood"].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
}
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
this.num = 1;
this.gotoAndStop(1);
}
on (rollOver) {
gotoAndStop (3);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_parent._parent.num = this.num;
i = 1;
while (i < 5) {
if (i == this.num) {
_parent._parent[("pic" + i) + _parent._parent.blood]._visible = true;
_parent._parent[("pic" + i) + _parent._parent.blood].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
} else {
if (i < 4) {
tempStr = _parent._parent.blood;
} else {
tempStr = "";
}
_parent._parent[("pic" + i) + tempStr].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
}
i++;
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
this.num = 2;
this.gotoAndStop(1);
}
on (rollOver) {
gotoAndStop (3);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_parent._parent.num = this.num;
i = 1;
while (i < 5) {
if (i == this.num) {
_parent._parent[("pic" + i) + _parent._parent.blood]._visible = true;
_parent._parent[("pic" + i) + _parent._parent.blood].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
} else {
if (i < 4) {
tempStr = _parent._parent.blood;
} else {
tempStr = "";
}
_parent._parent[("pic" + i) + tempStr].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
}
i++;
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
this.num = 3;
this.gotoAndStop(1);
}
on (rollOver) {
gotoAndStop (3);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_parent._parent.num = this.num;
i = 1;
while (i < 5) {
if (i == this.num) {
_parent._parent[("pic" + i) + _parent._parent.blood]._visible = true;
_parent._parent[("pic" + i) + _parent._parent.blood].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
} else {
if (i < 4) {
tempStr = _parent._parent.blood;
} else {
tempStr = "";
}
_parent._parent[("pic" + i) + tempStr].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
}
i++;
}
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
this.num = 4;
this.gotoAndStop(1);
}
on (rollOver) {
gotoAndStop (3);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_parent._parent.num = this.num;
i = 1;
while (i < 5) {
if (i == this.num) {
_parent._parent["pic" + i]._visible = true;
_parent._parent["pic" + i].onEnterFrame = function () {
this._alpha = Math.min(100, this._alpha + 13);
if (this._alpha == 100) {
this.onEnterFrame = null;
}
};
} else {
if (i < 4) {
tempStr = _parent._parent.blood;
} else {
tempStr = "";
}
_parent._parent[("pic" + i) + tempStr].onEnterFrame = function () {
this._alpha = Math.max(0, this._alpha - 13);
if (this._alpha == 0) {
this._visible = false;
this.onEnterFrame = null;
}
};
}
i++;
}
}