Frame 1
_root.gVersionNum = "1.0";
_root.gbTestMode = false;
fscommand ("showmenu", "false");
pLoadInit = false;
pTrackLoadCalled = false;
if (/:gGameID eq "") {
Set("/:gGameID", "lt_cannonball_3_0903");
}
if (/:gHSRoot_swf eq "") {
Set("/:gHSRoot_swf", "/games/med/");
}
if (/:gHSRoot_jsp eq "") {
Set("/:gHSRoot_jsp", "/web/load_variables/games/");
}
if (/:gHSRoot_top100 eq "") {
Set("/:gHSRoot_top100", "/web/games/");
}
Math.degreesToRadians = function (angle) {
return(angle * (Math.PI/180));
};
Math.radiansToDegrees = function (angle) {
return(angle * 57.2957795130823);
};
Math.sinD = function (angle) {
return(Math.sin(angle * (Math.PI/180)));
};
Math.cosD = function (angle) {
return(Math.cos(angle * (Math.PI/180)));
};
var laSines = [0, 0.0174524064372835, 0.034899496702501, 0.0523359562429438, 0.0697564737441253, 0.0871557427476582, 0.104528463267653, 0.121869343405147, 0.139173100960065, 0.156434465040231, 0.17364817766693, 0.190808995376545, 0.207911690817759, 0.224951054343865, 0.241921895599668, 0.258819045102521, 0.275637355816999, 0.292371704722737, 0.309016994374947, 0.325568154457157, 0.342020143325669, 0.3583679495453, 0.374606593415912, 0.390731128489274, 0.4067366430758, 0.422618261740699, 0.438371146789077, 0.453990499739547, 0.469471562785891, 0.484809620246337, 0.5, 0.515038074910054, 0.529919264233205, 0.544639035015027, 0.559192903470747, 0.573576436351046, 0.587785252292473, 0.601815023152048, 0.615661475325658, 0.629320391049837, 0.642787609686539, 0.656059028990507, 0.669130606358858, 0.681998360062499, 0.694658370458997, 0.707106781186548 /* Math.SQRT1_2 */, 0.719339800338651, 0.731353701619171, 0.743144825477394, 0.754709580222772, 0.766044443118978, 0.777145961456971, 0.788010753606722, 0.798635510047293, 0.809016994374947, 0.819152044288992, 0.829037572555042, 0.838670567945424, 0.848048096156426, 0.857167300702112, 0.866025403784439, 0.874619707139396, 0.882947592858927, 0.891006524188368, 0.898794046299167, 0.90630778703665, 0.913545457642601, 0.92050485345244, 0.927183854566787, 0.933580426497202, 0.939692620785908, 0.945518575599317, 0.951056516295153, 0.956304755963035, 0.961261695938319, 0.965925826289068, 0.970295726275996, 0.974370064785235, 0.978147600733806, 0.981627183447664, 0.984807753012208, 0.987688340595138, 0.99026806874157, 0.992546151641322, 0.994521895368273, 0.996194698091746, 0.997564050259824, 0.998629534754574, 0.999390827019096, 0.999847695156391, 1, 0.999847695156391, 0.999390827019096, 0.998629534754574, 0.997564050259824, 0.996194698091746, 0.994521895368273, 0.992546151641322, 0.99026806874157, 0.987688340595138, 0.984807753012208, 0.981627183447664, 0.978147600733806, 0.974370064785235, 0.970295726275996, 0.965925826289068, 0.961261695938319, 0.956304755963036, 0.951056516295154, 0.945518575599317, 0.939692620785909, 0.933580426497202, 0.927183854566787, 0.92050485345244, 0.913545457642601, 0.90630778703665, 0.898794046299167, 0.891006524188368, 0.882947592858927, 0.874619707139396, 0.866025403784439, 0.857167300702112, 0.848048096156426, 0.838670567945424, 0.829037572555042, 0.819152044288992, 0.809016994374947, 0.798635510047293, 0.788010753606722, 0.777145961456971, 0.766044443118978, 0.754709580222772, 0.743144825477394, 0.731353701619171, 0.719339800338651, 0.707106781186548 /* Math.SQRT1_2 */, 0.694658370458997, 0.681998360062499, 0.669130606358858, 0.656059028990507, 0.64278760968654, 0.629320391049837, 0.615661475325658, 0.601815023152048, 0.587785252292473, 0.573576436351046, 0.559192903470747, 0.544639035015027, 0.529919264233205, 0.515038074910054, 0.5, 0.484809620246337, 0.469471562785891, 0.453990499739547, 0.438371146789077, 0.422618261740699, 0.4067366430758, 0.390731128489274, 0.374606593415912, 0.3583679495453, 0.342020143325669, 0.325568154457157, 0.309016994374948, 0.292371704722737, 0.275637355816999, 0.258819045102521, 0.241921895599668, 0.224951054343865, 0.207911690817759, 0.190808995376545, 0.17364817766693, 0.156434465040231, 0.139173100960065, 0.121869343405148, 0.104528463267654, 0.0871557427476582, 0.0697564737441255, 0.0523359562429438, 0.0348994967025011, 0.0174524064372834, 1.22464679914735E-16, -0.0174524064372836, -0.0348994967025009, -0.0523359562429436, -0.0697564737441253, -0.087155742747658, -0.104528463267654, -0.121869343405147, -0.139173100960066, -0.156434465040231, -0.17364817766693, -0.190808995376545, -0.20791169081776, -0.224951054343865, -0.241921895599668, -0.258819045102521, -0.275637355816999, -0.292371704722737, -0.309016994374947, -0.325568154457157, -0.342020143325669, -0.3583679495453, -0.374606593415912, -0.390731128489274, -0.4067366430758, -0.422618261740699, -0.438371146789077, -0.453990499739547, -0.469471562785891, -0.484809620246337, -0.5, -0.515038074910054, -0.529919264233205, -0.544639035015027, -0.559192903470747, -0.573576436351046, -0.587785252292473, -0.601815023152048, -0.615661475325658, -0.629320391049838, -0.642787609686539, -0.656059028990507, -0.669130606358858, -0.681998360062498, -0.694658370458997, -0.707106781186547, -0.719339800338651, -0.73135370161917, -0.743144825477394, -0.754709580222772, -0.766044443118978, -0.777145961456971, -0.788010753606722, -0.798635510047293, -0.809016994374947, -0.819152044288992, -0.829037572555042, -0.838670567945424, -0.848048096156426, -0.857167300702112, -0.866025403784438, -0.874619707139396, -0.882947592858927, -0.891006524188368, -0.898794046299167, -0.90630778703665, -0.913545457642601, -0.92050485345244, -0.927183854566787, -0.933580426497202, -0.939692620785909, -0.945518575599317, -0.951056516295153, -0.956304755963035, -0.961261695938319, -0.965925826289068, -0.970295726275996, -0.974370064785235, -0.978147600733806, -0.981627183447664, -0.984807753012208, -0.987688340595138, -0.99026806874157, -0.992546151641322, -0.994521895368273, -0.996194698091746, -0.997564050259824, -0.998629534754574, -0.999390827019096, -0.999847695156391, -1, -0.999847695156391, -0.999390827019096, -0.998629534754574, -0.997564050259824, -0.996194698091746, -0.994521895368273, -0.992546151641322, -0.99026806874157, -0.987688340595138, -0.984807753012208, -0.981627183447664, -0.978147600733806, -0.974370064785235, -0.970295726275997, -0.965925826289068, -0.961261695938319, -0.956304755963035, -0.951056516295154, -0.945518575599317, -0.939692620785908, -0.933580426497202, -0.927183854566787, -0.92050485345244, -0.913545457642601, -0.90630778703665, -0.898794046299167, -0.891006524188368, -0.882947592858927, -0.874619707139396, -0.866025403784439, -0.857167300702112, -0.848048096156426, -0.838670567945424, -0.829037572555042, -0.819152044288992, -0.809016994374948, -0.798635510047293, -0.788010753606722, -0.777145961456971, -0.766044443118978, -0.754709580222772, -0.743144825477395, -0.73135370161917, -0.719339800338651, -0.707106781186548, -0.694658370458998, -0.681998360062498, -0.669130606358858, -0.656059028990507, -0.64278760968654, -0.629320391049838, -0.615661475325658, -0.601815023152048, -0.587785252292473, -0.573576436351046, -0.559192903470747, -0.544639035015027, -0.529919264233205, -0.515038074910055, -0.5, -0.484809620246337, -0.469471562785891, -0.453990499739547, -0.438371146789078, -0.422618261740699, -0.4067366430758, -0.390731128489274, -0.374606593415912, -0.358367949545301, -0.342020143325669, -0.325568154457157, -0.309016994374948, -0.292371704722737, -0.275637355816999, -0.258819045102521, -0.241921895599668, -0.224951054343865, -0.20791169081776, -0.190808995376545, -0.17364817766693, -0.156434465040231, -0.139173100960066, -0.121869343405147, -0.104528463267653, -0.0871557427476583, -0.0697564737441256, -0.0523359562429444, -0.0348994967025008, -0.0174524064372836];
var laCosines = [1, 0.999847695156391, 0.999390827019096, 0.998629534754574, 0.997564050259824, 0.996194698091746, 0.994521895368273, 0.992546151641322, 0.99026806874157, 0.987688340595138, 0.984807753012208, 0.981627183447664, 0.978147600733806, 0.974370064785235, 0.970295726275996, 0.965925826289068, 0.961261695938319, 0.956304755963035, 0.951056516295153, 0.945518575599317, 0.939692620785909, 0.933580426497202, 0.927183854566787, 0.92050485345244, 0.913545457642601, 0.90630778703665, 0.898794046299167, 0.891006524188368, 0.882947592858927, 0.874619707139396, 0.866025403784439, 0.857167300702112, 0.848048096156426, 0.838670567945424, 0.829037572555042, 0.819152044288992, 0.809016994374947, 0.798635510047293, 0.788010753606722, 0.777145961456971, 0.766044443118978, 0.754709580222772, 0.743144825477394, 0.73135370161917, 0.719339800338651, 0.707106781186547, 0.694658370458997, 0.681998360062498, 0.669130606358858, 0.656059028990507, 0.642787609686539, 0.629320391049838, 0.615661475325658, 0.601815023152048, 0.587785252292473, 0.573576436351046, 0.559192903470747, 0.544639035015027, 0.529919264233205, 0.515038074910054, 0.5, 0.484809620246337, 0.469471562785891, 0.453990499739547, 0.438371146789077, 0.422618261740699, 0.4067366430758, 0.390731128489274, 0.374606593415912, 0.3583679495453, 0.342020143325669, 0.325568154457157, 0.309016994374947, 0.292371704722737, 0.275637355816999, 0.258819045102521, 0.241921895599668, 0.224951054343865, 0.207911690817759, 0.190808995376545, 0.17364817766693, 0.156434465040231, 0.139173100960065, 0.121869343405147, 0.104528463267653, 0.0871557427476581, 0.0697564737441252, 0.052335956242944, 0.0348994967025011, 0.0174524064372836, 6.12323399573677E-17, -0.0174524064372835, -0.034899496702501, -0.0523359562429438, -0.0697564737441253, -0.0871557427476582, -0.104528463267654, -0.121869343405147, -0.139173100960065, -0.156434465040231, -0.17364817766693, -0.190808995376545, -0.207911690817759, -0.224951054343865, -0.241921895599668, -0.258819045102521, -0.275637355816999, -0.292371704722737, -0.309016994374947, -0.325568154457157, -0.342020143325669, -0.3583679495453, -0.374606593415912, -0.390731128489274, -0.4067366430758, -0.422618261740699, -0.438371146789077, -0.453990499739547, -0.469471562785891, -0.484809620246337, -0.5, -0.515038074910054, -0.529919264233205, -0.544639035015027, -0.559192903470747, -0.573576436351046, -0.587785252292473, -0.601815023152048, -0.615661475325658, -0.629320391049837, -0.642787609686539, -0.656059028990507, -0.669130606358858, -0.681998360062498, -0.694658370458997, -0.707106781186547, -0.719339800338651, -0.73135370161917, -0.743144825477394, -0.754709580222772, -0.766044443118978, -0.777145961456971, -0.788010753606722, -0.798635510047293, -0.809016994374947, -0.819152044288992, -0.829037572555042, -0.838670567945424, -0.848048096156426, -0.857167300702112, -0.866025403784439, -0.874619707139396, -0.882947592858927, -0.891006524188368, -0.898794046299167, -0.90630778703665, -0.913545457642601, -0.92050485345244, -0.927183854566787, -0.933580426497202, -0.939692620785908, -0.945518575599317, -0.951056516295153, -0.956304755963036, -0.961261695938319, -0.965925826289068, -0.970295726275996, -0.974370064785235, -0.978147600733806, -0.981627183447664, -0.984807753012208, -0.987688340595138, -0.99026806874157, -0.992546151641322, -0.994521895368273, -0.996194698091746, -0.997564050259824, -0.998629534754574, -0.999390827019096, -0.999847695156391, -1, -0.999847695156391, -0.999390827019096, -0.998629534754574, -0.997564050259824, -0.996194698091746, -0.994521895368273, -0.992546151641322, -0.99026806874157, -0.987688340595138, -0.984807753012208, -0.981627183447664, -0.978147600733806, -0.974370064785235, -0.970295726275996, -0.965925826289068, -0.961261695938319, -0.956304755963035, -0.951056516295154, -0.945518575599317, -0.939692620785909, -0.933580426497202, -0.927183854566787, -0.92050485345244, -0.913545457642601, -0.90630778703665, -0.898794046299167, -0.891006524188368, -0.882947592858927, -0.874619707139396, -0.866025403784439, -0.857167300702112, -0.848048096156426, -0.838670567945424, -0.829037572555042, -0.819152044288992, -0.809016994374948, -0.798635510047293, -0.788010753606722, -0.777145961456971, -0.766044443118978, -0.754709580222772, -0.743144825477394, -0.731353701619171, -0.719339800338651, -0.707106781186548, -0.694658370458997, -0.681998360062499, -0.669130606358858, -0.656059028990507, -0.64278760968654, -0.629320391049838, -0.615661475325658, -0.601815023152048, -0.587785252292473, -0.573576436351046, -0.559192903470747, -0.544639035015027, -0.529919264233205, -0.515038074910055, -0.5, -0.484809620246337, -0.469471562785891, -0.453990499739547, -0.438371146789078, -0.422618261740699, -0.4067366430758, -0.390731128489274, -0.374606593415912, -0.358367949545301, -0.342020143325669, -0.325568154457157, -0.309016994374948, -0.292371704722737, -0.275637355816999, -0.258819045102521, -0.241921895599668, -0.224951054343865, -0.20791169081776, -0.190808995376545, -0.17364817766693, -0.156434465040231, -0.139173100960066, -0.121869343405147, -0.104528463267653, -0.0871557427476582, -0.0697564737441256, -0.0523359562429443, -0.0348994967025008, -0.0174524064372835, -1.83697019872103E-16, 0.0174524064372831, 0.0348994967025013, 0.0523359562429439, 0.0697564737441252, 0.0871557427476579, 0.104528463267653, 0.121869343405148, 0.139173100960065, 0.156434465040231, 0.17364817766693, 0.190808995376545, 0.207911690817759, 0.224951054343865, 0.241921895599667, 0.25881904510252, 0.275637355816999, 0.292371704722737, 0.309016994374947, 0.325568154457156, 0.342020143325669, 0.3583679495453, 0.374606593415912, 0.390731128489274, 0.4067366430758, 0.4226182617407, 0.438371146789077, 0.453990499739547, 0.46947156278589, 0.484809620246337, 0.5, 0.515038074910054, 0.529919264233205, 0.544639035015027, 0.559192903470747, 0.573576436351046, 0.587785252292473, 0.601815023152048, 0.615661475325659, 0.629320391049838, 0.642787609686539, 0.656059028990507, 0.669130606358858, 0.681998360062499, 0.694658370458997, 0.707106781186547, 0.719339800338651, 0.731353701619171, 0.743144825477394, 0.754709580222772, 0.766044443118978, 0.777145961456971, 0.788010753606722, 0.798635510047293, 0.809016994374947, 0.819152044288991, 0.829037572555042, 0.838670567945424, 0.848048096156426, 0.857167300702112, 0.866025403784438, 0.874619707139396, 0.882947592858927, 0.891006524188368, 0.898794046299167, 0.90630778703665, 0.913545457642601, 0.92050485345244, 0.927183854566787, 0.933580426497202, 0.939692620785909, 0.945518575599317, 0.951056516295153, 0.956304755963035, 0.961261695938319, 0.965925826289068, 0.970295726275996, 0.974370064785235, 0.978147600733806, 0.981627183447664, 0.984807753012208, 0.987688340595138, 0.99026806874157, 0.992546151641322, 0.994521895368273, 0.996194698091746, 0.997564050259824, 0.998629534754574, 0.999390827019096, 0.999847695156391];
updateBall = function () {
_root.goGame.poBall.mUpdate();
};
function cBall(lsClip) {
this.piGravity = 1;
_root.action_layer.attachMovie(lsClip, "ball", 1);
this.pmClip = _root.action_layer.ball;
this.poVelocity = new Object();
this.mHide();
}
cBall.prototype.mFire = function (liAngle, liPower) {
this.pbHidden = false;
this.pmClip._x = 93 + (Math.cosD(liAngle) * 35);
this.pmClip._y = 309 + (Math.sinD(liAngle) * 35);
this.pmClip._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
cBall.prototype.mReFire = function (liAngle, liPower, lpLoc) {
this.pbHidden = false;
var liX = this.pmClip._x;
var liY = this.pmClip._y;
if (lpLoc != undefined) {
liX = lpLoc.x - _root.action_layer._x;
liY = lpLoc.y - _root.action_layer._y;
}
this.pmClip._x = liX + (Math.cosD(liAngle) * 35);
this.pmClip._y = liY + (Math.sinD(liAngle) * 35);
this.pmClip._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
_root.goGame.mPlaySound("cannon");
};
cBall.prototype.mBounce = function (liAngle, liPower) {
this.pbHidden = false;
this.pmClip._x = this.pmClip._x + (Math.cosD(liAngle) * 35);
this.pmClip._y = this.pmClip._y + (Math.sinD(liAngle) * 35);
this.pmClip._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
cBall.prototype.mUpdate = function () {
if (!this.pbHidden) {
this.mCollide();
this.pmClip._x = this.pmClip._x + this.poVelocity._x;
this.pmClip._y = this.pmClip._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (_root.goGame.pbRedBallActive != true) {
if (400 < this.pmClip._x) {
_root.action_layer._x = -(this.pmClip._x - 400);
}
if (this.pmClip._y < 40) {
_root.action_layer._y = -(this.pmClip._y - 40);
}
}
}
};
cBall.prototype.mCollide = function () {
if (!this.pbCollide) {
if (360 < (this.pmClip._y + this.poVelocity._y)) {
_root.goGame.mSplash();
}
if (this.pmClip.hitTest(_root.thing)) {
this.poVelocity._y = this.poVelocity._y * -0.7;
}
}
};
cBall.prototype.mBreak = function () {
this.pbCollide = true;
this.poVelocity._x = 0;
this.poVelocity._y = 0;
this.pmClip.gotoAndPlay("break");
};
cBall.prototype.mHide = function () {
_root.action_layer.level_clip.level.pbCollide = false;
this.pbHidden = true;
this.poVelocity._x = 0;
this.poVelocity._y = 0;
this.pmClip._x = -400;
this.pmClip._y = 1000;
this.pbCollide = false;
};
cBall.prototype.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
cBall.prototype.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
cBall.prototype.mBounceYUp = function () {
_root.goGame.mPlaySound("THUNK");
if (0 < this.poVelocity._y) {
this.poVelocity._y = this.poVelocity._y * -0.7;
} else {
this.poVelocity._y = this.poVelocity._y * 0.7;
}
};
cBall.prototype.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
function cGame() {
this.piLevel = 0;
this.piMaxLevel = 15;
this.piShotCount = 0;
_root.giTotalShots = 0;
_root.gems = 0;
this.piAngle = 0;
this.piPower = 0;
this.piMaxPower = 15;
this.pbActive = false;
this.pbRedBallActive = false;
this.poBall = new cBall("cannonball");
this.paLevelStarts = [[], [-300, 0], [-200, 0], [-300, 0], [-300, 100], [-200, 0], [0, 0], [-200, 0], [-250, 0], [-300, 0], [-340, 0], [-300, 0], [-200, 0], [-100, 0], [-390, 0], [-200, 0]];
}
cGame.prototype.mNextLevel = function () {
this.piLevel++;
this.psLevel = "level" + this.piLevel;
_root.map_clip.map.gotoAndPlay(this.psLevel);
};
cGame.prototype.mUpdateLevel = function () {
this.mSetLevelStartPos();
if (this.piLevel < 10) {
var lsLevel = ("0" + this.piLevel);
} else {
var lsLevel = ("" + this.piLevel);
}
_root.gsLevel = lsLevel;
this.piShotCount = 0;
this.mUpdateShots();
this.mUpdateBonus();
this.mUpdateAngle();
this.mUpdatePower();
_root.action_layer.level_clip.gotoAndPlay(this.psLevel);
};
cGame.prototype.mSetLevelStartPos = function () {
var laStart = this.paLevelStarts[this.piLevel];
_root.action_layer._x = laStart[0];
_root.action_layer._y = laStart[1];
};
cGame.prototype.mShowInstructions = function () {
if (this.piMaxLevel < this.piLevel) {
} else {
_root.instructions_clip.gotoAndPlay(this.psLevel);
}
};
cGame.prototype.mStartLevel = function () {
this.pbGem = false;
_root.action_layer.level_clip.level.mStart();
this.mActivate();
};
cGame.prototype.mAdvanceEarly = function () {
if (_root.gbTestMode) {
this.mLevelComplete();
}
};
cGame.prototype.mLevelComplete = function () {
this.mPlaySound;
this.mDeactivate();
var liBonus = (10 - (this.piShotCount - 1));
if (liBonus < 0) {
liBonus = 0;
}
if (10 < liBonus) {
liBonus = 10;
}
var lsBonus = ("bonus" + liBonus);
var liGemBonus = 1;
if (this.pbGem == true) {
liGemBonus = 2;
}
this.piScore = this.piScore + ((liBonus * 1000) * liGemBonus);
this.mUpdateScore();
this.piPower = 0;
this.piAngle = 0;
this.mUpdatePower();
this.mUpdateAngle();
_root.bonus_clip.gotoAndPlay(lsBonus);
if (this.pbGem) {
_root.bonus_clip.times2.gotoAndPlay(2);
}
};
cGame.prototype.mUpdateScore = function () {
var lsTemp = ("" + this.piScore);
var liZeroes = (6 - lsTemp.length);
var lsScore = "";
if (liZeroes < 0) {
liZeroes = 0;
}
i = 0;
while (i < liZeroes) {
lsScore = lsScore + "0";
i++;
}
lsScore = lsScore + this.piScore;
_root.gScore = lsScore;
};
cGame.prototype.mActivate = function () {
_root.controller_clip2.gotoAndPlay("on");
_root.action_layer.sam_clip.cannon_clip.gotoAndPlay("on");
_root.action_layer.pbReturn = true;
_root.action_layer.level_clip.level.mReset();
this.pbActive = true;
};
cGame.prototype.mDeactivate = function () {
_root.controller_clip2.gotoAndPlay("off");
_root.action_layer.sam_clip.cannon_clip.gotoAndPlay("off");
this.pbActive = false;
};
cGame.prototype.mFire = function () {
if (this.pbActive) {
this.pbGreyBallActive = true;
this.pbRedBallActive = false;
this.mDeactivate();
this.piShotCount++;
_root.giTotalShots++;
this.mUpdateShots();
var liBonus = (10000 - ((this.piShotCount - 1) * 1000));
if (0 >= liBonus) {
liBonus = 0;
_root.gsBonus = "0000";
} else {
_root.gsBonus = "" + liBonus;
}
_root.action_layer.sam_clip.sam.play();
_root.action_layer.sam_clip.cannon_clip.gotoAndPlay("fire");
this.poBall.mFire(this.piAngle * -1, 13 + this.piPower);
}
};
cGame.prototype.mSplash = function () {
_root.action_layer.splash_clip._x = this.poBall.pmClip._x;
_root.action_layer.splash_clip.gotoAndPlay("splash");
this.poBall.mHide();
};
cGame.prototype.mRedBallSplash = function (x) {
_root.action_layer.splash2_clip._x = x + 400;
_root.action_layer.splash2_clip.gotoAndPlay("splash");
};
cGame.prototype.mRedSplashResume = function () {
this.pbRedBallActive = false;
_root.action_layer.level_clip.redball.mReset();
if (this.pbGreyBallActive == false) {
this.mActivate();
}
};
cGame.prototype.mSplashResume = function () {
this.pbGreyBallActive = false;
if (this.pbRedBallActive == false) {
this.mActivate();
}
};
cGame.prototype.mLessPower = function () {
if (this.pbActive) {
if (0 < this.piPower) {
this.piPower--;
this.mPlaySound("eyebrow");
}
this.mUpdatePower();
}
};
cGame.prototype.mMorePower = function () {
if (this.pbActive) {
if (this.piPower < this.piMaxPower) {
this.piPower++;
this.mPlaySound("eyebrow");
}
this.mUpdatePower();
}
};
cGame.prototype.mUpdatePower = function () {
_root.interface_clip.power.gotoAndStop(this.piPower + 1);
};
cGame.prototype.mLessAngle = function () {
if (this.pbActive) {
if (0 < this.piAngle) {
this.piAngle = this.piAngle - 5;
this.mPlaySound("eyebrow");
}
this.mUpdateAngle();
}
};
cGame.prototype.mMoreAngle = function () {
if (this.pbActive) {
if (this.piAngle < 90) {
this.piAngle = this.piAngle + 5;
this.mPlaySound("eyebrow");
}
this.mUpdateAngle();
}
};
cGame.prototype.mUpdateAngle = function () {
_root.action_layer.sam_clip.cannon_clip._rotation = this.piAngle * -1;
};
cGame.prototype.mUpdateBonus = function () {
var liIndex = (10 - this.piShotCount);
if (liIndex < 0) {
liIndex = 0;
}
var liBonus = (1000 * liIndex);
_root.gsBonus = liBonus;
};
cGame.prototype.mUpdateShots = function () {
if (this.piShotCount < 10) {
var lsShots = ("00" + this.piShotCount);
} else if (this.piShotCount < 100) {
var lsShots = ("0" + this.piShotCount);
} else {
var lsShots = ("" + this.piShotCount);
}
_root.gsShot = lsShots;
};
cGame.prototype.mPlaySound = function (lsSound) {
loSound = new Sound();
loSound.attachSound(lsSound);
loSound.start();
};
cGame.prototype.mSoundOn = function () {
_root.gbSound = true;
_root.goSound = new Sound();
_root.goSound.setVolume(_root.giOldVolume);
};
cGame.prototype.mSoundOff = function () {
_root.gbSound = false;
_root.goSound = new Sound();
if (_root.giOldVolume == undefined) {
_root.giOldVolume = _root.goSound.getVolume();
}
_root.goSound.setVolume(0);
};
cGame.prototype.mShowMiniHelp = function () {
_root.minihelp.gotoAndPlay(2);
};
cGame.prototype.mHelpDone = function () {
};
cGame.prototype.mCollectCrystal = function () {
_root.gems++;
this.pbGem = true;
};
function cTimer() {
this.startTime = getTimer();
}
cTimer.prototype.restartTimer = function () {
this.startTime = getTimer();
};
cTimer.prototype.milliseconds = function () {
return(getTimer() - this.startTime);
};
cTimer.prototype.seconds = function () {
return(int((getTimer() - this.startTime) / 1000));
};
iLevelPauseTimer = new cTimer();
Frame 4
Set("_level0:gWTE_FL", _framesloaded);
Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * 100));
Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%");
ifFrameLoaded (62) {
gotoAndPlay ("loaded");
}
if (pLoadInit != true) {
Set("/:gGameState", "LOADING");
pLoadStartTime = int(getTimer() / 1000);
tellTarget ("/hs_scripts") {
call("mLoading");
};
pLoadInit = true;
}
if (/:gHSTrackLoad && (pTrackLoadCalled != true)) {
loadVariablesNum ((((("/tracking.html?game=" add /:gGameID) add "&stage=0&timer=") add pLoadStartTime) add "&random_id=") add pLoadStartTime, 0);
pTrackLoadCalled = true;
}
Frame 6
gotoAndPlay ("loading");
Frame 9
tellTarget ("/hs_scripts") {
call("mLoaded");
};
Instance of Symbol 371 MovieClip "action_layer" in Frame 9
onClipEvent (load) {
this.pbReturn = false;
}
onClipEvent (enterFrame) {
if (this.pbReturn) {
if ((this._x < -1) or (1 < this._y)) {
this._x = this._x / 2;
this._y = this._y / 2;
} else {
this._x = 0;
this._y = 0;
this.pbReturn = false;
}
}
}
Frame 12
goGame = new cGame();
_root.gScore = "000000";
_root.title.play();
if (Key.isDown(16)) {
gotoAndPlay ("play");
} else {
stop();
}
Frame 17
stop();
Instance of Symbol 27 MovieClip [cannonball] in Frame 20
onClipEvent (enterFrame) {
_root.updateBall();
}
Instance of Symbol 878 MovieClip in Frame 20
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.goGame.mFire();
} else if (Key.getCode() == 192) {
} else if (Key.getCode() == 83) {
if (_root.action_layer._x == 0) {
_root.goGame.mSetLevelStartPos();
pbSPressed = true;
}
}
}
onClipEvent (keyUp) {
if (pbSPressed) {
pbSPressed = false;
_root.action_layer.pbReturn = true;
}
}
Frame 22
tellTarget ("/hs_scripts") {
call("mPlay");
};
Frame 25
goGame.mNextLevel();
tellTarget ("/hs_scripts") {
call("mLevelStart");
};
Frame 33
if (Key.isDown(81)) {
_root.gotoAndPlay("GameOver");
} else if (Key.isDown(37)) {
_root.goGame.mLessPower();
} else if (Key.isDown(39)) {
_root.goGame.mMorePower();
} else if (Key.isDown(38)) {
_root.goGame.mMoreAngle();
} else if (Key.isDown(40)) {
_root.goGame.mLessAngle();
}
Frame 34
gotoAndPlay(_currentframe - 1);
Frame 40
_root.iLevelPauseTimer.restartTimer();
Frame 41
if (3 < _root.iLevelPauseTimer.seconds()) {
_root.gLevel = _root.gLevel + 1;
_root.gotoAndPlay("NextLevel");
}
Frame 42
_root.gotoAndPlay(_currentframe - 1);
Frame 49
tellTarget ("/hs_scripts") {
call("mGameOver");
};
Frame 50
stop();
Frame 70
stop();
Symbol 27 MovieClip [cannonball] Frame 2
stop();
Symbol 27 MovieClip [cannonball] Frame 11
_root.goGame.poBall.mHide();
_root.goGame.mActivate();
Symbol 32 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Symbol 33 Button
on (release) {
Set("/:gDebug", "");
}
Symbol 34 MovieClip Frame 1
if (/:gDebugMode == true) {
_x = 50;
}
Symbol 34 MovieClip Frame 5
stop();
Symbol 36 MovieClip Frame 1
loadMovie (/:gHSRoot_swf add "HSScripts.swf", "");
Symbol 36 MovieClip Frame 4
stop();
Symbol 63 MovieClip Frame 71
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 119 Button
on (press) {
_root.goGame.mFire();
}
Symbol 120 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 6
stop();
Symbol 135 Button
on (release) {
_root.playgame = "1";
_parent.gotoAndPlay("letsgo");
}
Symbol 139 Button
on (release) {
_root.playgame = "2";
_parent.play();
}
Symbol 153 MovieClip Frame 29
gotoAndPlay ("back");
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 233
stop();
Symbol 154 MovieClip Frame 246
stop();
if (_root.playgame == "1") {
_root.gotoAndPlay("play");
} else {
_root.gotoAndPlay("title");
}
Symbol 194 MovieClip Frame 10
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (_parent._parent.pbCollide != true)) {
_parent._parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (_parent._parent.pbCollide != true)) {
_parent._parent.pbCollide = true;
_parent.mHit();
}
}
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 238 MovieClip Frame 1
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 38
gotoAndPlay ("clockwisespin");
Symbol 259 MovieClip Frame 1
this.pbCollide = false;
stop();
Instance of Symbol 256 MovieClip in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceYUp();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.redball.mHide();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent.redball)) {
this.pbCollide = true;
_parent._parent.redball.mBounceX();
trace("bounceoff");
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_parent.mHit();
}
}
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 264 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 264 MovieClip Frame 39
stop();
_parent.mDone();
Symbol 267 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.mRedHit();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
trace("bounceoff");
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 267 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 267 MovieClip Frame 36
stop();
_parent.mRedDone();
Symbol 268 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mRedHit() {
_parent.redball.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mRedDone() {
_root.goGame.mLevelComplete();
}
stop();
Symbol 268 MovieClip Frame 88
gotoAndPlay (2);
Symbol 269 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit();
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.mRedHit();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 276 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 276 MovieClip Frame 36
stop();
_parent.mRedDone();
Symbol 277 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.pbGreyBallActive = false;
_root.goGame.poBall.mHide();
this.piCount++;
}
function mRedHit() {
_parent.redball.mHide();
_root.goGame.pbRedBallActive = false;
this.piCount++;
}
function mDone() {
if (this.piCount == 2) {
_root.goGame.mLevelComplete();
} else if (_root.goGame.pbRedBallActive == false) {
_root.goGame.mActivate();
}
}
function mRedDone() {
if (this.piCount == 2) {
_root.goGame.mLevelComplete();
} else if (_root.goGame.pbGreyBallActive == false) {
_root.goGame.mActivate();
}
}
function mReset() {
piCount = 0;
_parent.redball.mReset();
targeta.gotoAndStop(1);
targetb.gotoAndStop(1);
}
piCount = 0;
stop();
Symbol 277 MovieClip Frame 88
gotoAndPlay (2);
Symbol 283 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.pbGreyBallActive = false;
_root.goGame.poBall.mHide();
this.piCount++;
}
function mRedHit() {
_parent.redball.mHide();
_root.goGame.pbRedBallActive = false;
this.piCount++;
}
function mDone() {
if (this.piCount == 2) {
_root.goGame.mLevelComplete();
} else if (_root.goGame.pbRedBallActive == false) {
_root.goGame.mActivate();
}
}
function mRedDone() {
if (this.piCount == 2) {
_root.goGame.mLevelComplete();
} else if (_root.goGame.pbGreyBallActive == false) {
_root.goGame.mActivate();
}
}
function mReset() {
piCount = 0;
_parent.redball.mReset();
targeta.gotoAndStop(1);
targetb.gotoAndStop(1);
}
piCount = 0;
stop();
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceXY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceXY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceXY();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceXY();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 36
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 38
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
_parent.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
}
}
Symbol 288 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
targeta.gotoAndStop(1);
this.wall.pbCollide = false;
}
stop();
Symbol 292 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
targeta.gotoAndStop(1);
}
stop();
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 291 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 295 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 295 MovieClip in Symbol 299 MovieClip Frame 18
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 300 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
targeta.gotoAndStop(1);
this.walla.pbCollide = false;
this.wallb.pbCollide = false;
}
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 36
stop();
Symbol 309 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
spring1.gotoAndStop(1);
spring2.gotoAndStop(2);
spring3.gotoAndStop(3);
light1.gotoAndStop(1);
light2.gotoAndStop(2);
light3.gotoAndStop(3);
paLights = [0, 0, 0];
}
function mToggle(liNum) {
var lsName = ("light" + liNum);
if (this.paLights[liNum - 1] == 0) {
this.paLights[liNum - 1] = 1;
this[lsName].gotoAndStop(2);
} else {
this.paLights[liNum - 1] = 0;
this[lsName].gotoAndStop(1);
}
var liCount = 0;
var i = 0;
while (i < this.paLights.length) {
liCount = liCount + this.paLights[i];
i++;
}
if (liCount == 3) {
this.mDone();
}
}
paLights = [0, 0, 0];
stop();
Instance of Symbol 256 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.mToggle(1);
_parent.spring1.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.mToggle(2);
_parent.spring2.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.mToggle(3);
_parent.spring3.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 312 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.mRedHit();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent._parent.redballa)) {
this.pbCollide = true;
_parent._parent._parent._parent.redballa.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent._parent.redballa) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent._parent.redballa)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent._parent.redballa) == false)) {
this.pbCollide = false;
}
}
Symbol 312 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 20
_root.goGame.mActivate();
Symbol 312 MovieClip Frame 36
stop();
_parent.mRedDone();
Symbol 313 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mRedHit() {
_parent._parent.redballa.mHide();
}
function mDone() {
_parent.mCatch(1);
}
function mRedDone() {
_parent.mCatch(1);
}
stop();
Symbol 313 MovieClip Frame 88
gotoAndPlay (2);
Symbol 316 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent._parent.redballb.mHide();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent.redball)) {
this.pbCollide = true;
_parent._parent.redball.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redballb)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redballb) == false)) {
this.pbCollide = false;
}
}
Symbol 316 MovieClip Frame 2
stop();
Symbol 316 MovieClip Frame 20
stop();
_root.goGame.mActivate();
Symbol 316 MovieClip Frame 39
stop();
_parent.mCatch(2);
Symbol 319 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.redball.mHide();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent.redball)) {
this.pbCollide = true;
_parent._parent.redball.mBounceX();
trace("bounceoff");
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 319 MovieClip Frame 2
stop();
Symbol 319 MovieClip Frame 20
stop();
_parent.mCatch(3);
Symbol 319 MovieClip Frame 39
stop();
_parent.mCatch(3);
Symbol 320 MovieClip Frame 1
function mStart() {
this.targeta.play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
this.paHits = [0, 0, 0];
_parent.redballa.mReset();
_parent.redballb.mReset();
this.targeta.target.gotoAndStop(1);
this.targetb.gotoAndStop(1);
this.targetc.gotoAndStop(1);
}
function mCatch(liNum) {
this.paHits[liNum - 1] = 1;
var liCount = 0;
var i = 0;
while (i < this.paHits.length) {
liCount = liCount + this.paHits[i];
i++;
}
if (liCount == 3) {
this.mDone();
} else if (liNum == 3) {
_root.goGame.mActivate();
}
}
paHits = [0, 0, 0];
stop();
Instance of Symbol 316 MovieClip "targetb" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
this.piStartY = this._y;
this.piDir = -0.3;
this.piTravel = 2;
}
onClipEvent (enterFrame) {
if (0 < this.piDir) {
if (this.piTravel < (this._y - this.piStartY)) {
this.piDir = this.piDir * -1;
}
} else if (this.piTravel < (this.piStartY - this._y)) {
this.piDir = this.piDir * -1;
}
this._y = this._y + this.piDir;
}
Instance of Symbol 319 MovieClip "targetc" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
this.piStartY = this._y;
this.piDir = 0.3;
this.piTravel = 2;
}
onClipEvent (enterFrame) {
if (0 < this.piDir) {
if (this.piTravel < (this._y - this.piStartY)) {
this.piDir = this.piDir * -1;
}
} else if (this.piTravel < (this.piStartY - this._y)) {
this.piDir = this.piDir * -1;
}
this._y = this._y + this.piDir;
}
Symbol 325 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit();
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.mRedHit();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 325 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 325 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 325 MovieClip Frame 2
stop();
Symbol 325 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 326 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
var liCount = 0;
var i = 0;
while (i < this.paLights.length) {
liCount = liCount + this.paLights[i];
i++;
}
if (liCount == 2) {
_root.goGame.mLevelComplete();
} else {
_root.goGame.mActivate();
}
}
function mReset() {
item1.gotoAndStop(1);
}
function mToggle(liNum) {
var lsName = ("light" + liNum);
if (this.paLights[liNum - 1] == 0) {
this.paLights[liNum - 1] = 1;
this[lsName].gotoAndStop(2);
} else {
this.paLights[liNum - 1] = 0;
this[lsName].gotoAndStop(1);
}
}
paLights = [0, 0];
stop();
Instance of Symbol 256 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mReFire(-45, _root.goGame.piPower);
_parent.mToggle(1);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mReFire(-45, 10);
_parent.mToggle(2);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 325 MovieClip "item1" in Symbol 326 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.mUpdate();
}
Symbol 329 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit(1);
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent._parent.redball.mHide();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 329 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 329 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 329 MovieClip Frame 2
stop();
Symbol 329 MovieClip Frame 20
stop();
_parent.mCatch();
Symbol 329 MovieClip Frame 39
stop();
_parent.mRedDone();
Symbol 330 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mRedHit() {
_parent.redball.mHide();
}
function mDone() {
}
function mRedDone() {
_root.goGame.mLevelComplete();
}
function mCatch() {
_root.goGame.mActivate();
}
function mReset() {
trigger.pbCollide = false;
target.gotoAndStop(1);
_parent.redball.mReset();
}
stop();
Instance of Symbol 329 MovieClip "target" in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
this.piStartY = this._y;
this.piDir = 0.3;
this.piTravel = 2;
}
onClipEvent (enterFrame) {
if (0 < this.piDir) {
if (this.piTravel < (this._y - this.piStartY)) {
this.piDir = this.piDir * -1;
}
} else if (this.piTravel < (this.piStartY - this._y)) {
this.piDir = this.piDir * -1;
}
this._y = this._y + this.piDir;
}
Instance of Symbol 256 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(-45, _root.goGame.piPower, lpLoc);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip "trigger" in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(90, _root.goGame.piPower, lpLoc);
} else if (this.hitTest(_root.action_layer.ball) == false) {
}
}
Instance of Symbol 256 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_parent.spring.play();
_root.goGame.poBall.mBounce(-90, 16);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 333 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mRedHit() {
_parent.redball.mHide();
}
function mDone() {
}
function mRedDone() {
_root.goGame.mLevelComplete();
}
function mCatch() {
_root.goGame.mLevelComplete();
}
function mReset() {
trigger.piCount = 0;
target.gotoAndStop(1);
lid.pbCollide = false;
}
stop();
Instance of Symbol 329 MovieClip "target" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.piStartY = this._y;
this.piDir = 0.3;
this.piTravel = 2;
}
onClipEvent (enterFrame) {
if (0 < this.piDir) {
if (this.piTravel < (this._y - this.piStartY)) {
this.piDir = this.piDir * -1;
}
} else if (this.piTravel < (this.piStartY - this._y)) {
this.piDir = this.piDir * -1;
}
this._y = this._y + this.piDir;
}
Instance of Symbol 259 MovieClip "lid" in Symbol 334 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = _parent.lid._y - 126;
}
Instance of Symbol 256 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounce(-90, 15);
_parent.lid.play();
_parent.spring.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip "trigger" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.piCount = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
this.piCount++;
if (this.piCount == 1) {
_root.goGame.poBall.mReFire(90, 15);
} else if (this.piCount == 2) {
_root.goGame.poBall.mReFire(180, _root.goGame.piPower, lpLoc);
}
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 336 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
var liCount = 0;
var i = 0;
while (i < this.paLights.length) {
liCount = liCount + this.paLights[i];
i++;
}
if (liCount == 4) {
_root.goGame.mLevelComplete();
} else {
_root.goGame.mActivate();
}
}
function mReset() {
item1.gotoAndStop(1);
}
function mToggle(liNum) {
var lsName = ("light" + liNum);
if (this.paLights[liNum - 1] == 0) {
this.paLights[liNum - 1] = 1;
this[lsName].gotoAndStop(2);
} else {
this.paLights[liNum - 1] = 0;
this[lsName].gotoAndStop(1);
}
}
paLights = [0, 0, 0, 0];
stop();
Instance of Symbol 325 MovieClip "item1" in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.mUpdate();
}
Instance of Symbol 256 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(-45, _root.goGame.piPower, lpLoc);
_parent.mToggle(1);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(45, _root.goGame.piPower, lpLoc);
_parent.mToggle(2);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(-45, 15, lpLoc);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(90, _root.goGame.piPower, lpLoc);
_parent.mToggle(4);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
var lpLoc = new Object();
lpLoc.x = this._x;
lpLoc.y = this._y;
_parent.localToGlobal(lpLoc);
_root.goGame.poBall.mReFire(-45, _root.goGame.piPower, lpLoc);
_parent.mToggle(3);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 343 MovieClip Frame 1
stop();
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Symbol 343 MovieClip Frame 9
stop();
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 342 MovieClip in Symbol 343 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Symbol 346 MovieClip Frame 1
stop();
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Symbol 346 MovieClip Frame 18
stop();
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Instance of Symbol 345 MovieClip in Symbol 346 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_parent.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
_parent.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
}
}
Symbol 348 MovieClip Frame 1
function mHit() {
gotoAndPlay ("hit");
_parent.mHit();
}
function mRedHit() {
gotoAndPlay ("redhit");
_parent.mRedHit();
}
Instance of Symbol 233 MovieClip "breaker" in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent._parent._parent.redball.mBounceX();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Instance of Symbol 235 MovieClip "hit" in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pbCollide != true) {
if (this.hitTest(_root.action_layer.ball)) {
this.pbCollide = true;
_parent.mHit();
}
if (this.hitTest(_parent._parent._parent.redball)) {
this.pbCollide = true;
_parent.mRedHit();
}
} else if ((this.hitTest(_root.action_layer.ball) == false) and (this.hitTest(_parent._parent._parent.redball) == false)) {
this.pbCollide = false;
}
}
Symbol 348 MovieClip Frame 2
stop();
Symbol 348 MovieClip Frame 20
stop();
_parent.mDone();
Symbol 349 MovieClip Frame 1
function mStart() {
play();
}
function mHit() {
_root.goGame.poBall.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
function mReset() {
targeta.gotoAndStop(1);
this.yellowbarrier.pbCollide = false;
this.bluebarrier.pbCollide = false;
}
stop();
Instance of Symbol 256 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.yellowbarrier.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.bluebarrier.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 348 MovieClip "eta" in Symbol 349 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.mUpdate();
}
Symbol 357 MovieClip Frame 1
stop();
function mHit() {
_root.goGame.poBall.mHide();
}
function mRedHit() {
this.redball.mHide();
}
function mDone() {
_root.goGame.mLevelComplete();
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 2
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 4
stop();
Instance of Symbol 233 MovieClip "breaker" in Symbol 357 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (_parent._parent.pbCollide != true)) {
_parent._parent.pbCollide = true;
_root.goGame.poBall.mBreak();
}
}
Instance of Symbol 251 MovieClip "redball" in Symbol 357 MovieClip Frame 10
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
_root.goGame.pbRedBallActive = true;
this.pbIdle = false;
this._x = -45 + (Math.cosD(liAngle) * 35);
this._y = -138 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = -45;
this._y = -138;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 10
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Instance of Symbol 259 MovieClip "lid" in Symbol 357 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
_parent.redball.mFire(-75, _root.goGame.piPower * 2);
_parent.lid.play();
_parent.spring.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 11
stop();
Instance of Symbol 251 MovieClip "redball" in Symbol 357 MovieClip Frame 20
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
_root.goGame.pbRedBallActive = true;
this.pbIdle = false;
this._x = -76 + (Math.cosD(liAngle) * 35);
this._y = -238 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = -76;
this._y = -238;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
_parent.redball.mFire(-45, _root.goGame.piPower * 1.5);
_parent.lid.play();
_parent.spring.play();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 21
stop();
Instance of Symbol 251 MovieClip "redball" in Symbol 357 MovieClip Frame 30
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
_root.goGame.pbRedBallActive = true;
this.pbIdle = false;
this._x = -8 + (Math.cosD(liAngle) * 35);
this._y = -335 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = -8;
this._y = -335;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 30
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.redball.mFire(90, _root.goGame.piPower);
_parent.lid.play();
_parent.spring.play();
} else if (_root.goGame.pbGreyBallActive == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 31
stop();
Instance of Symbol 251 MovieClip "redball" in Symbol 357 MovieClip Frame 40
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
_root.goGame.pbRedBallActive = true;
this.pbIdle = false;
this._x = -48 + (Math.cosD(liAngle) * 35);
this._y = -181 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = -48;
this._y = -181;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 40
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceXY();
_parent.redball.mFire(-45, _root.goGame.piPower);
} else if (_root.goGame.pbGreyBallActive == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 41
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 50
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 51
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 60
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 61
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 70
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 71
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 80
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 81
stop();
Instance of Symbol 251 MovieClip "redballb" in Symbol 357 MovieClip Frame 90
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
this.pbIdle = false;
this._x = 169 + (Math.cosD(liAngle) * 35);
this._y = -129 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = 169;
this._y = -129;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 251 MovieClip "redballa" in Symbol 357 MovieClip Frame 90
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
this.pbIdle = false;
this._x = -34 + (Math.cosD(liAngle) * 35);
this._y = -193 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = -34;
this._y = -193;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 90
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.spring1.play();
_parent.redballa.mFire(90, _root.goGame.piPower);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceY();
_parent.spring2.play();
_parent.redballb.mFire(90, _root.goGame.piPower);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 91
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 100
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 101
stop();
Instance of Symbol 251 MovieClip "redball" in Symbol 357 MovieClip Frame 110
onClipEvent (load) {
this.piGravity = 1;
this.pbIdle = true;
this.poVelocity = new Object();
this.mFire = function (liAngle, liPower) {
_root.goGame.pbRedBallActive = true;
this.pbIdle = false;
this._x = 144 + (Math.cosD(liAngle) * 35);
this._y = -313 + (Math.sinD(liAngle) * 35);
this._y = pt.y;
this.poVelocity._x = Math.cosD(liAngle) * liPower;
this.poVelocity._y = Math.sinD(liAngle) * liPower;
};
this.mBounceX = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._x = this.poVelocity._x * -0.7;
};
this.mBounceY = function () {
_root.goGame.mPlaySound("THUNK");
this.poVelocity._y = this.poVelocity._y * -0.7;
};
this.mBounceXY = function () {
this.mBounceX();
this.mBounceY();
};
this.mHide = function () {
this.pbIdle = true;
this._y = 1000;
};
this.mReset = function () {
this.pbIdle = true;
this._x = 144;
this._y = -313;
};
}
onClipEvent (enterFrame) {
if (!this.pbIdle) {
this._x = this._x + this.poVelocity._x;
this._y = this._y + this.poVelocity._y;
this.poVelocity._y = this.poVelocity._y + this.piGravity;
if (0 < this._x) {
_root.action_layer._x = -(this._x - 0);
} else if (this._x < 270) {
_root.action_layer._x = -(this._x - 0);
}
if (this._y < -300) {
_root.action_layer._y = -(this._y + 300);
}
if (20 < (this._y + this.poVelocity._y)) {
this.mHide();
_root.goGame.mRedBallSplash(this._x);
}
}
}
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 110
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 110
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounce(-22.5, 8);
_parent.spring1.play();
_parent.redball.mFire(225, 11);
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Instance of Symbol 256 MovieClip in Symbol 357 MovieClip Frame 110
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (this.pbCollide != true)) {
this.pbCollide = true;
_root.goGame.poBall.mBounceX();
} else if (this.hitTest(_root.action_layer.ball) == false) {
this.pbCollide = false;
}
}
Symbol 357 MovieClip Frame 111
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 120
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 121
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 130
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 131
stop();
Instance of Symbol 195 MovieClip in Symbol 357 MovieClip Frame 140
onClipEvent (load) {
this.pbActive = true;
}
onClipEvent (enterFrame) {
if (this.pbActive) {
if (this.hitTest(_root.action_layer.ball) or this.hitTest(_parent.redball)) {
this.gotoAndPlay(2);
this.pbActive = false;
_root.goGame.mCollectCrystal();
}
}
}
Symbol 357 MovieClip Frame 141
stop();
Instance of Symbol 233 MovieClip "breaker" in Symbol 357 MovieClip Frame 150
onClipEvent (enterFrame) {
if (this.hitTest(_root.action_layer.ball) and (_parent._parent.pbCollide != true)) {
_parent._parent.pbCollide = true;
_root.goGame.poBall.mBreak();
}
}
Symbol 357 MovieClip Frame 151
stop();
Symbol 357 MovieClip Frame 161
stop();
Symbol 360 MovieClip Frame 2
newloop = 0;
stop();
Symbol 360 MovieClip Frame 3
setProperty("../shadow", _x , _x);
_y = (_y - ..:thrusty);
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
if (Number(newloop) >= Number(..:loop)) {
gotoAndPlay ("loopy");
}
Symbol 360 MovieClip Frame 4
setProperty("../shadow", _x , _x);
_y = (_y - ..:thrusty);
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
if (Number(newloop) >= Number(..:loop)) {
gotoAndPlay ("loopy");
}
Symbol 360 MovieClip Frame 5
setProperty("../shadow", _x , _x);
_y = (_y - ..:thrusty);
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
if (Number(newloop) >= Number(..:loop)) {
gotoAndPlay ("loopy");
}
Symbol 360 MovieClip Frame 6
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
_y = (_y - ..:thrusty);
Set("..:thrusty", ..:thrusty - 0.25);
Set("..:thrustx", ..:thrustx - 0.25);
newloop = Number(newloop) + 0.5;
setProperty("../shadow", _x , _x);
gotoAndPlay(_currentframe - 1);
Symbol 360 MovieClip Frame 8
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
_y = (Number(_y - ..:thrusty) + Number(..:gravity));
setProperty("../shadow", _x , _x);
if (350 < _y) {
setProperty("../splash", _x , _x);
tellTarget ("../splash") {
play();
};
setProperty("../shadow", _x , 50);
_x = -50;
gotoAndPlay (1);
}
Symbol 360 MovieClip Frame 9
_x = ((Number(_x) + Number(..:thrustx)) - ..:wind);
_y = (Number(_y - ..:thrusty) + Number(..:gravity));
Set("..:gravity", Number(..:gravity) + 0.7);
setProperty("../shadow", _x , _x);
if (350 < _y) {
setProperty("../splash", _x , _x);
tellTarget ("../splash") {
play();
};
setProperty("../shadow", _x , 50);
_x = -50;
gotoAndPlay (1);
}
gotoAndPlay(_currentframe - 1);
Symbol 360 MovieClip Frame 22
stop();
Symbol 360 MovieClip Frame 24
Set("..:gravity", 2);
Symbol 360 MovieClip Frame 25
_y = (Number(_y) + Number(..:gravity));
setProperty("../shadow", _x , _x);
Symbol 360 MovieClip Frame 26
_y = (Number(_y) + Number(..:gravity));
Set("..:gravity", Number(..:gravity) + 0.7);
setProperty("../shadow", _x , _x);
gotoAndPlay(_currentframe - 1);
Symbol 360 MovieClip Frame 36
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 12
_root.goGame.mSplashResume();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 12
_root.goGame.mRedSplashResume();
Symbol 405 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 668
stop();
_parent.play();
Symbol 548 MovieClip Frame 1
_visible = 0;
loadMovie (/:gHSRoot_swf add "HSMinScore.swf", "");
Symbol 548 MovieClip Frame 4
stop();
Symbol 567 Button
on (press) {
_root.goGame.mShowMiniHelp();
}
Symbol 579 MovieClip Frame 63
stop();
_parent.gotoAndPlay("idle");
Symbol 583 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 586 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 589 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 592 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 595 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 598 MovieClip Frame 113
stop();
_parent.gotoAndPlay("idle");
Symbol 599 MovieClip Frame 1
trace("instructions stopped");
stop();
Symbol 599 MovieClip Frame 3
_parent.goGame.mStartLevel();
stop();
Symbol 599 MovieClip Frame 6
trace("there");
stop();
Symbol 599 MovieClip Frame 12
stop();
Symbol 599 MovieClip Frame 18
stop();
Symbol 599 MovieClip Frame 25
stop();
Symbol 599 MovieClip Frame 35
stop();
Symbol 599 MovieClip Frame 45
stop();
Symbol 599 MovieClip Frame 55
stop();
Symbol 599 MovieClip Frame 65
stop();
Symbol 599 MovieClip Frame 75
stop();
Symbol 599 MovieClip Frame 85
stop();
Symbol 599 MovieClip Frame 92
stop();
Symbol 599 MovieClip Frame 100
stop();
Symbol 599 MovieClip Frame 110
stop();
Symbol 599 MovieClip Frame 120
stop();
Symbol 599 MovieClip Frame 130
stop();
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 2
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
score10.gotoAndPlay("go");
Symbol 613 MovieClip Frame 5
score9.gotoAndPlay("go");
Symbol 613 MovieClip Frame 8
score8.gotoAndPlay("go");
Symbol 613 MovieClip Frame 11
score7.gotoAndPlay("go");
Symbol 613 MovieClip Frame 14
score6.gotoAndPlay("go");
Symbol 613 MovieClip Frame 17
score5.gotoAndPlay("go");
Symbol 613 MovieClip Frame 20
score4.gotoAndPlay("go");
Symbol 613 MovieClip Frame 23
score3.gotoAndPlay("go");
Symbol 613 MovieClip Frame 26
score2.gotoAndPlay("go");
Symbol 613 MovieClip Frame 29
score1.gotoAndPlay("go");
Symbol 613 MovieClip Frame 42
_parent.goGame.mNextLevel();
Symbol 616 Button
on (press) {
_parent.goGame.mLevelComplete();
}
Symbol 618 MovieClip Frame 2
stop();
Symbol 618 MovieClip Frame 11
stop();
Symbol 628 Button
on (release) {
gotoAndStop (1);
}
Symbol 638 Button
on (release) {
var temp = Math.abs(_root.gsLevel);
var levelHelpDisplay = ("level" + temp);
_root.instructions_clip.gotoAndPlay(levelHelpDisplay);
gotoAndStop (1);
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 186
_root.goGame.mHelpDone();
gotoAndPlay (1);
Symbol 864 MovieClip Frame 35
gotoAndPlay ("shoot");
Symbol 870 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 873 MovieClip Frame 56
_root.gotoAndPlay("gameover");
Symbol 873 MovieClip Frame 57
stop();
Symbol 873 MovieClip Frame 121
stop();
_root.gotoAndPlay("GameOver");
Symbol 874 MovieClip Frame 1
stop();
Symbol 874 MovieClip Frame 12
_parent.play();
Symbol 874 MovieClip Frame 13
stop();
Symbol 874 MovieClip Frame 45
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 47
_parent.play();
Symbol 874 MovieClip Frame 48
stop();
Symbol 874 MovieClip Frame 85
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 87
_parent.play();
Symbol 874 MovieClip Frame 88
stop();
Symbol 874 MovieClip Frame 114
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 116
_parent.play();
Symbol 874 MovieClip Frame 117
stop();
Symbol 874 MovieClip Frame 141
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 143
_parent.play();
Symbol 874 MovieClip Frame 144
stop();
Symbol 874 MovieClip Frame 175
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 177
_parent.play();
Symbol 874 MovieClip Frame 178
stop();
Symbol 874 MovieClip Frame 200
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 202
_parent.play();
Symbol 874 MovieClip Frame 203
stop();
Symbol 874 MovieClip Frame 226
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 228
_parent.play();
Symbol 874 MovieClip Frame 229
stop();
Symbol 874 MovieClip Frame 344
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 347
_parent.play();
Symbol 874 MovieClip Frame 348
stop();
Symbol 874 MovieClip Frame 370
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 372
_parent.play();
Symbol 874 MovieClip Frame 373
stop();
Symbol 874 MovieClip Frame 406
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 408
_parent.play();
Symbol 874 MovieClip Frame 409
stop();
Symbol 874 MovieClip Frame 437
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 439
_parent.play();
Symbol 874 MovieClip Frame 440
stop();
Symbol 874 MovieClip Frame 473
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 475
_parent.play();
Symbol 874 MovieClip Frame 476
stop();
Symbol 874 MovieClip Frame 500
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 502
_parent.play();
Symbol 874 MovieClip Frame 503
stop();
Symbol 874 MovieClip Frame 530
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 532
_parent.play();
Symbol 874 MovieClip Frame 533
stop();
Symbol 874 MovieClip Frame 559
stop();
_parent.gotoAndPlay("hide");
Symbol 874 MovieClip Frame 561
_parent.play();
Symbol 874 MovieClip Frame 562
stop();
Symbol 874 MovieClip Frame 745
stop();
Symbol 876 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 11
_parent.goGame.mUpdateLevel();
Symbol 876 MovieClip Frame 12
stop();
map.gotoAndPlay(map._currentframe + 1);
Symbol 876 MovieClip Frame 18
_parent.goGame.mShowInstructions();
Symbol 907 MovieClip Frame 75
stop();
Symbol 912 Button
on (press) {
stopAllSounds();
gotoAndPlay (1);
}
Symbol 934 MovieClip Frame 1
_visible = 0;
Symbol 934 MovieClip Frame 5
stop();