Frame 1
NewgroundsAPI.connectMovie(53);
function deadClick() {
}
function gotoMySite() {
getURL ("http://omglaserspewpew.com", "_top");
}
function gotoSponsorSite() {
getURL ("http://newgrounds.com", "_top");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("\u00A92008 Joe Willmott - OmgLasersPewPew - Not to be edited in any way", deadClick);
var mySiteLink = new ContextMenuItem("OmgLasersPewPew", gotoMySite);
var SponsorSiteLink = new ContextMenuItem("More games like this at Newgrounds.com", gotoSponsorSite);
myMenu.customItems.push(SponsorSiteLink, mySiteLink, copyrightNotice);
_root.menu = myMenu;
Instance of Symbol 2 MovieClip "aimer" in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
startDrag (this, true);
}
Frame 2
stop();
Instance of Symbol 61 MovieClip in Frame 2
on (release) {
getURL ("http://omglaserspewpew.com", "blank");
}
Frame 3
stop();
Frame 4
_root.kills = 0;
_root.health = 100;
_root.name = Turret_Controller;
Frame 5
stop();
Instance of Symbol 118 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 155 MovieClip "gun" in Frame 5
onClipEvent (enterFrame) {
_root.lastx = _root.gun._x;
_root.lasty = _root.gun._y;
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root._ymouse - this._y);
_root.xChange = Math.round(_root._xmouse - this._x);
this._rotation = myDegrees + 90;
}
Instance of Symbol 157 MovieClip in Frame 5
on (press) {
_root.gun.play();
}
Instance of Symbol 118 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 120 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 133 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 148 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 123 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 126 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 142 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 118 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 136 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 139 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 196 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Instance of Symbol 198 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
var dx = (_root.turret._x - this._x);
var dy = (_root.turret._y - this._y);
var dl = Math.sqrt((dx * dx) + (dy * dy));
var dis = 2.95;
if (dis > dl) {
dis = dl;
}
if (!this.hitTest(_root.turret)) {
this._x = this._x + ((dx / dl) * dis);
this._y = this._y + ((dy / dl) * dis);
}
radAngle = Math.atan2(Yd, Xd);
_rotation = (((Math.atan2(dy, dx) * 180) / Math.PI) + 90);
updateAfterEvent();
}
}
Frame 14
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.name;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.kills;
__rankz_send__("MjMzMWolZSVhJW4lcw==", "c053ZURXaFU=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
Frame 15
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "MjMzMWolZSVhJW4lcw==";
rankz_t10_send.flashkey = "c053ZURXaFU=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
_root["rankz_n" + (i + 1)].text = tempv[0];
_root["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
} else {
trace("ERROR");
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Symbol 20 MovieClip Frame 40
stop();
Symbol 34 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Symbol 35 Button
on (press) {
gotoAndStop ("end");
_root.play();
}
Instance of Symbol 10 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 36 MovieClip Frame 101
play();
Symbol 36 MovieClip Frame 165
stop();
Symbol 42 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 48 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 50 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 263 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds() {
SendLink(NEWGROUNDS);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_links[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_links[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id) {
SendStat(id, true);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
movie_options[_local2] = unescape(params[_local2]);
}
if (movie_options.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
} else {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local8 = new XML();
_local8.ignoreWhite = true;
_local8.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local8.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 61 MovieClip Frame 140
_root.play();
Symbol 70 Button
on (release) {
gotoAndStop (15);
}
Symbol 71 Button
on (release) {
getURL ("http://OmgLasersPewPew.com", "blank");
}
Symbol 72 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 73 Button
on (release) {
play();
}
Instance of Symbol 99 MovieClip in Symbol 100 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser1)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser2)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser3)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser4)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser5)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser6)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser7)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser8)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser9)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser10)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser11)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser12)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser13)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser14)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser15)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser16)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser17)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser18)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser19)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser20)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser21)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser22)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser23)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser24)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser25)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser26)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser27)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser28)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser29)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.gun.laser30)) {
_parent.gotoAndStop(1);
_root.health = _root.health + 10;
}
}
Symbol 102 MovieClip Frame 250
_parent.gotoAndStop(1);
Symbol 103 MovieClip Frame 1
this.gotoAndStop(random(200) + 2);
this._x = random(450) + 25;
this._y = random(450) + 25;
Symbol 115 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 118 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 118 MovieClip Frame 521
_x = 550;
_parent._parent = 550;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 120 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 120 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = -50;
_parent._parent = -50;
Symbol 123 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 123 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 123 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = -50;
_parent._parent = -50;
Symbol 126 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 126 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 126 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = -50;
_parent._parent = -50;
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 129 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 129 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = 550;
_parent._parent = 550;
Symbol 131 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 131 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 131 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = 550;
_parent._parent = 550;
Symbol 133 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 133 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 133 MovieClip Frame 521
_x = -50;
_parent._parent = -50;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 136 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 136 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 136 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 136 MovieClip Frame 521
_x = -50;
_parent._parent = -50;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 139 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 139 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 139 MovieClip Frame 521
_x = -50;
_parent._parent = -50;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 142 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 142 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 142 MovieClip Frame 521
_x = 550;
_parent._parent = 550;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 145 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 145 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 145 MovieClip Frame 521
_x = (random(600) - 500);
_parent._parent = random(600) - 500;
_y = 550;
_parent._parent = 550;
Symbol 148 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Instance of Symbol 115 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 148 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 148 MovieClip Frame 521
_x = 550;
_parent._parent = 550;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 155 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
if (_root.kills > 74) {
_parent.nextFrame();
}
Symbol 165 MovieClip Frame 2
if (_root.kills > 199) {
_parent.nextFrame();
}
Symbol 167 MovieClip Frame 2
if (_root.kills > 499) {
_parent.nextFrame();
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
_root.nextFrame();
Symbol 169 MovieClip Frame 3
_root.nextFrame();
Symbol 169 MovieClip Frame 4
_root.nextFrame();
Symbol 173 Button
on (release) {
gotoAndStop (3);
}
Symbol 174 Button
on (release) {
prevFrame();
}
Symbol 175 MovieClip Frame 1
stop();
_quality = "HIGH";
Symbol 175 MovieClip Frame 2
stop();
_quality = "MEDIUM";
Symbol 175 MovieClip Frame 3
stop();
_quality = "LOW";
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
_root.health = _root.health - 25;
Symbol 181 MovieClip Frame 3
if (_root.health < 1) {
_root.gotoAndStop(12);
}
Symbol 183 MovieClip Frame 100
_root.nextFrame();
Symbol 193 MovieClip Frame 6
stop();
Symbol 194 MovieClip Frame 1
stop();
Instance of Symbol 185 MovieClip "bighead" in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.nextFrame();
}
i++;
}
}
Instance of Symbol 187 MovieClip in Symbol 194 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent._parent.play();
}
i++;
}
}
Instance of Symbol 187 MovieClip in Symbol 194 MovieClip Frame 3
onClipEvent (enterFrame) {
i = 1;
while (i < 31) {
if (this.hitTest(_root.gun["laser" + i])) {
_parent.play();
}
i++;
}
}
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Symbol 196 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 196 MovieClip Frame 521
_x = -50;
_parent._parent = -50;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "arms" in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.turret)) {
_root.bloodscreen.play();
}
}
Symbol 198 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 198 MovieClip Frame 521
_x = 550;
_parent._parent = 550;
_y = (random(700) - 100);
_parent._parent = random(700) - 100;
Symbol 212 MovieClip Frame 14
_root.nextFrame();
Symbol 219 Button
on (release) {
nextFrame();
}
Symbol 220 Button
on (release) {
gotoAndStop (3);
}