Frame 2
stop();
Frame 3
stop();
vcam.score = 0;
Instance of Symbol 12 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.spd = -7;
_root.player.gotoAndStop(1);
_root.vcam.gotoAndStop(1);
unloadMovie (this);
}
}
Instance of Symbol 37 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.spd = 7;
unloadMovie (this);
}
}
Instance of Symbol 62 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.gotoAndStop(4);
_root.player.gotoAndStop(1);
_root.player.spd = 7;
unloadMovie (this);
}
}
Instance of Symbol 87 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.gotoAndStop(3);
_root.player.spd = 7;
_root.player.gotoAndStop(1);
unloadMovie (this);
}
}
Instance of Symbol 93 MovieClip "player" in Frame 3
onClipEvent (load) {
radius = (_width / 2) - 1;
spd = 7;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - spd;
this._rotation = 0;
}
if (Key.isDown(39)) {
this._x = this._x + spd;
this._rotation = 90;
}
if (Key.isDown(37)) {
this._x = this._x - spd;
this._rotation = 270;
}
if (Key.isDown(40)) {
this._y = this._y + spd;
this._rotation = 180;
}
if (Key.isDown(39) && (Key.isDown(38))) {
_rotation = 45;
}
if (Key.isDown(37) && (Key.isDown(38))) {
_rotation = 315;
}
if (Key.isDown(39) && (Key.isDown(40))) {
_rotation = 135;
}
if (Key.isDown(37) && (Key.isDown(40))) {
_rotation = 225;
}
while (_root.walls.hitTest(_x, _y + radius, true)) {
_y = (_y-1);
}
while (_root.walls.hitTest(_x, _y - radius, true)) {
_y = (_y+1);
}
while (_root.walls.hitTest(_x - radius, _y, true)) {
_x = (_x+1);
}
while (_root.walls.hitTest(_x + radius, _y, true)) {
_x = (_x-1);
}
}
Instance of Symbol 95 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.spd = 4;
_root.player.gotoAndStop(1);
_root.vcam.gotoAndStop(1);
unloadMovie (this);
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.nextFrame();
_root.vcam.score = _root.vcam.score + 1;
_root.player.spd = 7;
_root.player.gotoAndStop(1);
_root.vcam.gotoAndStop(1);
unloadMovie (this);
}
}
Instance of Symbol 108 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vcam.gotoAndStop(1);
_root.player.gotoAndStop(2);
_root.player.spd = 7;
unloadMovie (this);
}
}
Instance of Symbol 110 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
}
Instance of Symbol 119 MovieClip "vcam" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.player._x;
this._y = _root.player._y;
}
Instance of Symbol 4 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(2);
}
}
Symbol 4 MovieClip Frame 30
stop();
Symbol 7 Button
on (release) {
nextFrame();
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
stop();
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 119 MovieClip Frame 2
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 119 MovieClip Frame 3
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 119 MovieClip Frame 4
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;