Frame 1
stop();
Frame 2
stop();
Instance of Symbol 5 MovieClip in Frame 2
onClipEvent (enterFrame) {
this._x = (_root.player._x / 1.05) + 50;
this._y = (_root.player._y / 1.05) + 50;
}
Instance of Symbol 7 MovieClip "camera" in Frame 2
onClipEvent (load) {
this._x = _root.player._x;
this._y = _root.player._y;
decel = 0.065;
xmov = 0;
ymov = 0;
}
onClipEvent (enterFrame) {
xmov = xmov + (((_root.player._x - this._x) / 5) * decel);
ymov = ymov + (((_root.player._y - this._y) / 5) * decel);
this._x = this._x + xmov;
this._y = this._y + ymov;
}
Instance of Symbol 12 MovieClip in Frame 2
onClipEvent (enterFrame) {
this._x = (_root.player._x / 1.2) + 50;
this._y = (_root.player._y / 1.2) + 50;
}
Instance of Symbol 22 MovieClip in Frame 2
onClipEvent (enterFrame) {
this._x = (_root.player._x / 1.4) + 50;
this._y = (_root.player._y / 1.4) + 50;
}
Instance of Symbol 28 MovieClip "player" in Frame 2
onClipEvent (enterFrame) {
if (_root._xmouse < this._x) {
this._xscale = -100;
}
if (_root._xmouse > this._x) {
this._xscale = 100;
}
_quality = "LOW";
this._x = this._x + ((_root._xmouse - this._x) / 20);
this._y = this._y + ((_root._ymouse - this._y) / 20);
}
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (enterFrame) {
this._x = (_root.player._x / 1.5) + 50;
this._y = (_root.player._y / 1.5) + 50;
}
Instance of Symbol 31 MovieClip in Frame 2
onClipEvent (load) {
this._x = _root.player._x;
this._y = _root.player._y;
}
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Symbol 7 MovieClip Frame 1
function camControl() {
rp.x = _x;
rp.y = _y;
var _local5 = camH * (_yscale * 0.01);
var _local6 = camW * (_xscale * 0.01);
var _local3 = sH / _local5;
var _local4 = sW / _local6;
_x2 = (_local6 / 2) * _local4;
_y2 = (_local5 / 2) * _local3;
_xscale2 = _local4 * 100;
_yscale2 = _local3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x + (value - _local2.x);
}
function get_x2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.x);
}
function set_y2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._y = _parent._y + (value - _local2.y);
}
function get_y2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.y);
}
function get_xscale2() {
return(_parent._xscale);
}
function set_xscale2(value) {
setProperty2("_xscale", value);
}
function get_yscale2() {
return(_parent._yscale);
}
function set_yscale2(value) {
setProperty2("_yscale", value);
}
function get_rotation2() {
return(parent.rotation);
}
function set_rotation2(value) {
setProperty2("_rotation", value);
}
function setProperty2(prop, n) {
var _local3 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local3);
_parent[prop] = n;
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x - (_local2.x - _local3.x);
_parent._y = _parent._y - (_local2.y - _local3.y);
}
_visible = false;
addProperty("_x2", get_x2, set_x2);
addProperty("_y2", get_y2, set_y2);
addProperty("_xscale2", get_xscale2, set_xscale2);
addProperty("_yscale2", get_yscale2, set_yscale2);
addProperty("_rotation2", get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = "exactFit";
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {x:this._x, y:this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
Symbol 31 MovieClip Frame 396
stop();