Combined Code
movieClip 2 {
}
movieClip 3 troub {
instance of movieClip 2 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.machine.head.bot)) {
_root.machine.head.bot.play();
--_root.meta.gg._xscale;
if (_root.meta.gg._xscale % 15 == 0) {
trace('15er!');
_root.machine.head.fireasdf.play();
}
_parent.removeMovieClip();
}
}
}
frame 15 {
this.removeMovieClip();
}
}
movieClip 5 {
}
movieClip 6 wafer {
frame 1 {
onEnterFrame = function () {
if (_root.fightMode == true) {
if (this.hitTest(_root.truck.shell)) {
_root.truck.play();
_root.loseLife();
this.removeMovieClip();
}
}
};
}
instance of movieClip 5 {
}
frame 65 {
this.removeMovieClip();
}
}
movieClip 9 {
}
movieClip 10 {
}
movieClip 11 {
}
movieClip 12 {
}
movieClip 17 bowlingBall {
frame 6 {
this.removeMovieClip();
}
}
// unknown tag 88 length 96
movieClip 21 you_arrow {
}
movieClip 35 {
}
movieClip 53 {
}
movieClip 61 {
}
movieClip 69 {
}
movieClip 79 {
}
movieClip 81 {
frame 25 {
stop();
_parent._parent.removeMovieClip();
}
}
movieClip 89 {
}
movieClip 90 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 92 {
frame 1 {
stop();
}
}
movieClip 93 obj_player_0 {
frame 1 {
stop();
}
}
movieClip 94 obj_player_3 {
frame 1 {
stop();
}
}
movieClip 95 obj_player_2 {
frame 1 {
stop();
}
}
movieClip 96 obj_player_1 {
frame 1 {
stop();
}
}
movieClip 98 {
}
movieClip 99 win_bala {
frame 1 {
this.onEnterFrame = function () {
this._x += Math.sin(0.0174532925199433 * this._rotation) * 25;
this._y -= Math.cos(0.0174532925199433 * this._rotation) * 25;
if (this.hitTest(_root.g.base)) {
_root.g.base.per();
}
};
}
}
movieClip 101 Din4_star {
}
movieClip 104 {
}
movieClip 105 coin {
instance of movieClip 104 {
onClipEvent (load) {
this.r1 = random(10);
this.r2 = random(10);
this.r3 = random(10);
this.r4 = random(10);
this._visible = false;
_parent._x = 275;
_parent._y = 200;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_parent._x += this.r1;
_parent._x -= this.r2;
_parent._y += this.r3;
_parent._y -= this.r4;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.rand)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.g.rand2)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.g.rand3)) {
this.r1 = -r1;
this.r2 = -r2;
}
if (this.hitTest(_root.g.rand4)) {
this.r1 = -r1;
this.r2 = -r2;
}
}
}
}
movieClip 108 {
}
movieClip 109 Dep1_Enemy {
frame 1 {
stop();
}
frame 2 {
die = new Sound();
die.attachSound('Dep1_die');
die.start();
}
frame 10 {
removeMovieClip(this);
}
}
movieClip 111 {
}
movieClip 112 Dep1_Bullet {
}
movieClip 114 {
}
movieClip 115 dic_food {
}
// unknown tag 88 length 63
button 120 {
on (release) {
_parent.closePopup(_name);
}
}
button 123 {
on (press) {
this.startDrag();
this.swapDepths(_parent.getNextHighestDepth());
}
on (release, releaseOutside) {
stopDrag();
}
}
movieClip 125 dic_popup1 {
}
movieClip 128 {
}
button 132 {
on (release) {
_parent.closePopup(_name);
}
}
movieClip 133 dic_popup2 {
}
movieClip 137 {
}
movieClip 141 dic_popup3 {
}
movieClip 144 {
}
movieClip 145 {
}
movieClip 146 {
frame 9 {
stop();
}
}
movieClip 147 dic_popup4 {
}
movieClip 152 {
}
movieClip 153 dic_popup5 {
}
movieClip 156 {
}
movieClip 159 {
}
movieClip 161 {
}
movieClip 164 {
}
movieClip 166 {
}
movieClip 170 {
}
movieClip 172 {
}
movieClip 174 {
}
movieClip 176 {
}
movieClip 182 {
}
movieClip 183 Din2_Link {
frame 1 {
stop();
onEnterFrame = function () {
this._y += _root.g.speed * _root.g.speed + 1;
this._rotation += _root.g.rot;
if (_root.cstatus == 1 and this.hitTest(_root.g.man.man)) {
_root.gameOutcome(false);
_root.g.nextFrame();
_root.g.win = false;
}
};
}
}
movieClip 185 {
}
movieClip 186 rakosmanRock2 {
instance of movieClip 185 {
onClipEvent (enterFrame) {
this._y -= 16 + _root.speed;
if (_root.cstatus == 1) {
if (this.hitTest(_root.g.game.man.hit1) or this.hitTest(_root.g.game.man.hit2)) {
_root.getBounds.game.stop();
_root.gameOutcome(false);
}
}
if (this._y < -430) {
removeMovieClip(_parent);
}
}
}
}
movieClip 190 Din_BOOM {
frame 1 {
stop();
}
}
movieClip 194 {
frame 1 {
stop();
gotoAndStop(random(3) + 2);
}
}
movieClip 195 circ {
frame 10 {
this.removeMovieClip();
}
}
movieClip 197 {
}
movieClip 198 transOut_2 {
frame 1 {
onEnterFrame = function () {
this.swapDepths(_parent.getNextHighestDepth());
};
}
frame 29 {
_root.switchScreens();
this.removeMovieClip();
}
}
movieClip 199 transOut_1 {
frame 1 {
onEnterFrame = function () {
this.swapDepths(_parent.getNextHighestDepth());
};
}
frame 29 {
_root.switchScreens();
this.removeMovieClip();
}
}
movieClip 200 {
}
movieClip 201 {
frame 6 {
stop();
}
}
movieClip 202 Transition_3 {
frame 1 {
trace('trans3 Loaded');
onEnterFrame = function () {
this.swapDepths(_parent.getNextHighestDepth());
};
}
frame 28 {
_root.cstatus = 1;
this.removeMovieClip();
}
}
movieClip 203 Transition_2 {
frame 1 {
trace('trans2 Loaded');
onEnterFrame = function () {
this.swapDepths(_parent.getNextHighestDepth());
};
}
frame 25 {
_root.cstatus = 1;
this.removeMovieClip();
}
}
movieClip 204 {
}
movieClip 205 Transition_1 {
frame 1 {
trace('trans1 Loaded');
onEnterFrame = function () {
this.swapDepths(_parent.getNextHighestDepth());
};
}
frame 39 {
_root.cstatus = 1;
this.removeMovieClip();
}
}
movieClip 211 {
}
movieClip 212 {
}
movieClip 213 {
}
movieClip 217 {
}
movieClip 219 {
}
movieClip 221 {
}
movieClip 222 {
}
movieClip 223 switcher {
frame 50 {
_root.initialBar();
this.removeMovieClip();
}
}
movieClip 227 {
}
movieClip 228 loadrules {
frame 40 {
this.removeMovieClip();
}
}
movieClip 232 {
}
movieClip 233 loadResponse {
frame 40 {
this.removeMovieClip();
}
}
movieClip 236 {
}
movieClip 240 {
}
movieClip 243 {
}
movieClip 245 {
}
movieClip 246 {
}
// unknown tag 88 length 62
movieClip 250 {
frame 1 {
stop();
}
frame 11 {
stop();
}
}
movieClip 252 {
frame 1 {
stop();
}
frame 11 {
stop();
}
}
movieClip 254 {
frame 1 {
stop();
}
frame 11 {
stop();
}
}
movieClip 256 {
}
movieClip 257 {
}
movieClip 258 {
frame 1 {
stop();
}
}
movieClip 259 bar {
}
movieClip 261 {
}
movieClip 262 {
instance of movieClip 261 {
onClipEvent (load) {
this.spin = random(10);
}
onClipEvent (enterFrame) {
this._rotation += this.spin;
}
}
}
movieClip 263 circlecircle3 {
frame 30 {
this.removeMovieClip();
}
}
movieClip 265 {
}
movieClip 266 {
frame 1 {
gotoAndStop(random(3) + 2);
}
}
movieClip 267 {
}
movieClip 268 circlecircle2 {
frame 10 {
this.removeMovieClip();
}
}
movieClip 269 circlecircle {
frame 10 {
this.removeMovieClip();
}
}
movieClip 271 {
}
movieClip 272 fireasdf {
frame 1 {
stop();
}
frame 35 {
_root.coverScreen.play();
}
}
movieClip 278 {
frame 6 {
stop();
}
}
movieClip 285 {
frame 11 {
stop();
}
}
movieClip 286 mog1_bloke1 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 295 {
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 303 {
}
movieClip 304 player {
}
movieClip 306 {
}
movieClip 308 ducka {
}
movieClip 312 Meteor {
}
movieClip 315 {
}
movieClip 316 fond {
}
movieClip 317 rakosmanRock1 {
instance of movieClip 185 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 16 + _root.speed;
if (this.hitTest(_root.g.game.man.hit1) or this.hitTest(_root.g.game.man.hit2)) {
_root.g.game.stop();
_root.gameOutcome(false);
}
if (this._y < -430) {
removeMovieClip(_parent);
}
}
}
}
}
movieClip 320 rob1_background {
}
movieClip 325 {
}
movieClip 332 Nug1_baloon {
frame 1 {
stop();
}
frame 1 {
stop();
}
frame 6 {
++_parent.Nug1_bc;
trace(_parent.Nug1_bc);
}
frame 7 {
stop();
removeMovieClip(this);
}
}
movieClip 337 BoundingBox {
}
movieClip 339 BrdrShdw {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor');
}
}
movieClip 341 BrdrFace {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor');
}
}
movieClip 342 SimpleButtonDown {
}
movieClip 344 BrdrBlk {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor');
}
}
movieClip 346 BrdrHilght {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor');
}
}
movieClip 347 SimpleButtonIn {
}
movieClip 348 SimpleButtonUp {
}
movieClip 349 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 350 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 351 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
button 354 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 355 {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
#endinitclip
frame 1 {
}
}
movieClip 356 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 357 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 358 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 359 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 360 SimpleButton {
#initclip
Object.registerClass('SimpleButton', mx.controls.SimpleButton);
#endinitclip
frame 1 {
stop();
}
}
movieClip 363 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 364 RectBorder {
#initclip
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass('RectBorder', mx.skins.halo.RectBorder);
#endinitclip
frame 1 {
stop();
}
}
movieClip 365 TextInput {
#initclip
Object.registerClass('TextInput', mx.controls.TextInput);
#endinitclip
frame 1 {
stop();
}
}
movieClip 370 StepDownArrowDisabled {
}
movieClip 372 StepThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 373 StepDownArrowDown {
}
movieClip 374 StepDownArrowOver {
}
movieClip 375 StepDownArrowUp {
}
movieClip 377 StepUpArrowDisabled {
}
movieClip 378 StepUpArrowDown {
}
movieClip 379 StepUpArrowOver {
}
movieClip 380 StepUpArrowUp {
}
movieClip 382 StepTrack {
}
movieClip 383 NumericStepperAssets {
}
movieClip 384 NumericStepper {
#initclip
Object.registerClass('NumericStepper', mx.controls.NumericStepper);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 360 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 365 TextInput {
onClipEvent (initialize) {
editable = true;
password = false;
text = '';
maxChars = null;
restrict = 'null';
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
frame 1 {
function goto(num) {
if (num == 1 || num == 2 || num == 3) {
gotoAndPlay(2228);
}
if (num == 6) {
gotoAndPlay(2414);
}
if (num == 4) {
gotoAndPlay(5210);
}
if (num == 5) {
gotoAndPlay(2600);
}
if (num == 7) {
gotoAndPlay(5212);
}
if (num == 8) {
gotoAndPlay(719);
}
if (num == 9) {
gotoAndPlay(2892);
}
}
_root.kongregateServices.connect();
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
_root.globalMode = 'original';
}
frame 1 {
play();
yet._visible = false;
}
movieClip 406 {
}
movieClip 409 {
}
// unknown tag 88 length 68
button 417 {
on (release) {
getURL('http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash', '');
}
}
movieClip 418 {
}
movieClip 421 {
}
movieClip 423 {
}
button 427 {
on (release) {
getURL('http://www.armorgames.com/', '_blank');
}
}
// unknown tag 88 length 61
movieClip 433 {
frame 100 {
stop();
}
}
instance of movieClip 433 {
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + ' % completed';
if (framesLoaded >= 100) {
_root.nextFrame();
}
}
}
movieClip 436 {
}
frame 2 {
stop();
}
frame 2 {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function counter() {
++subTotal;
if (subTotal == subTime) {
subTotal = 0;
subTime = rand(3, 14);
bowlingBall();
}
}
function bowlingBall() {
bb = attachMovie('bowlingBall', 'bb' + this.getNextHighestDepth(), this.getNextHighestDepth());
bb._x = rand(0, 550);
bb._y = -bb._height / 2;
bb._xscale = rand(50, 100);
bb._yscale = bb._xscale;
bb.stop();
bb.dead = false;
bb.speed = 1;
bb.onEnterFrame = function () {
if (!this.dead) {
this._y += this.speed;
this.speed += 2;
if (this._y + this._height / 2 > 400) {
this.play();
this.dead = true;
combo += 1;
}
if (this.hitTest(carrot)) {
this.play();
this.dead = true;
combo = 0;
}
}
};
}
function movement() {
if (Key.isDown(37)) {
carrot._x -= carrotSpeed;
carrot._xscale = oldXScale;
carrot.play();
} else {
if (Key.isDown(39)) {
carrot._x += carrotSpeed;
carrot._xscale = -oldXScale;
carrot.play();
} else {
carrot.gotoAndStop(1);
}
}
if (carrot._x + carrot._width / 2 < 0) {
carrot._x = 550 + carrot._width / 2;
}
if (carrot._x - carrot._width / 2 > 550) {
carrot._x = -carrot._width / 2;
}
}
function scoreKeep() {
if (combo <= 0) {
combo = 0;
}
if (combo > record) {
record = combo;
}
}
subTotal = 0;
subTime = rand(3, 14);
combo = 0;
record = 0;
carrotSpeed = 10;
oldXScale = carrot._xscale;
carrot.stop();
bowlingBall();
onEnterFrame = function () {
movement();
scoreKeep();
counter();
};
stop();
}
frame 2 {
stop();
}
button 448 {
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = myName;
ab20_09.x = ab20.encodeNum(record);
ab20_09.c = 447;
ab20_09.v = 'EXPFCN';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=447', '_blank');
view._x = thisButton._x;
view._y = thisButton._y;
thisButton._x = 1500;
}
}
button 450 {
on (release) {
getURL('http://www.armorbot.com/mytable/?id=447', '_blank');
}
}
movieClip 453 {
}
movieClip 455 {
}
movieClip 456 {
}
movieClip 8132 __Packages.ab20 {
#initclip
if (!_global.ab20) {
var v1 = function () {};
_global.ab20 = v1;
var v2 = v1.prototype;
v1.fr = function (str, find, replace, limit) {
var v2 = str;
var v3;
var v4;
var v9;
if (typeof find !== 'string') {
if (replace === undefined) {
replace = [''];
} else {
if (typeof replace === 'string') {
replace = [replace];
}
}
} else {
find = [find];
replace = [replace];
}
v9 = find.length;
var v1 = 0;
var v5 = 0;
while (v1 < v9) {
v4 = v2.indexOf(find[v1]);
while (v4 !== -1) {
if (limit !== undefined && v5 >= limit) {
break;
}
v3 = new Array(v2.substring(0, v4), v2.substr(v4, find[v1].length), v2.substr(v4 + find[v1].length));
v3[1] = (replace[v1] === undefined) ? '' : replace[v1];
v2 = v3[0] + v3[1] + v3[2];
++v5;
}
v1++;
v5 = 0;
}
return v2;
};
v1.encodeNum = function (num) {
var v11 = getTimer();
var v6 = ['aZ', 'Zy', 'Zx'];
var v7 = ['zH', 'jY', 'uH'];
var v4 = ['Ah', 'Xh', 'hO'];
var v5 = ['Ub', 'Bu', 'Cb'];
var v8 = ['Qc', 'Pc', 'Pe'];
var v9 = ['Ei', 'Ie', 'Ef'];
var v3 = ['Fk', 'kG', 'Kg'];
var v13 = ['Jl', 'Lm', 'Mn'];
var v12 = ['No', 'Np', 'Qp'];
var v2 = ['Rs', 'St', 'Sw'];
var v14 = random(3);
num = String(num);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '9', v6[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '8', v7[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '7', v4[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
num = ab20.fr(num, '6', v5[random(3)], 1);
if (v14 == 1) {
num = ab20.fr(num, '5', v8[0]);
num = ab20.fr(num, '4', v9[random(3)]);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '2', v13[random(3)]);
num = ab20.fr(num, '1', v12[random(3)]);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
var v10 = getTimer() - v11;
num = num + 'Dd' + v10;
return num;
}
num = ab20.fr(num, '5', v8[random(3)]);
num = ab20.fr(num, '4', v9[random(3)]);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '3', v3[random(3)], 1);
num = ab20.fr(num, '2', v13[random(3)]);
num = ab20.fr(num, '1', v12[random(3)]);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
num = ab20.fr(num, '0', v2[random(3)], 1);
var v10 = getTimer() - v11;
num = num + 'Dd' + v10;
return num;
};
v1.encodeStr8bytes = function (str) {
var v1 = 0;
var v4 = str.length;
var v3 = '%';
var v2 = ['%', '$', '#', '@'];
while (v1 < v4) {
v3 += str.charCodeAt(v1) + v2[random(v2.length)];
++v1;
}
return v3;
};
v1.decodeStr8bytes = function (str) {
str = 'PIE' + str + 'PIE';
str = ab20.fr(str, '%', 'D');
str = ab20.fr(str, '$', 'D');
str = ab20.fr(str, '#', 'D');
str = ab20.fr(str, '@', 'D');
str = ab20.fr(str, 'PIED', '');
str = ab20.fr(str, 'DPIE', '');
var v3 = str.split('D');
var v4 = '';
var v1 = 0;
var v5 = v3.length;
while (v1 < v5) {
v4 += String(String.fromCharCode(v3[v1]));
++v1;
}
return v4;
};
v1.decodeNum = function (str) {
var v2 = ['aZ', 'Zy', 'Zx', 'zH', 'jY', 'uH', 'Ah', 'Xh', 'hO', 'Ub', 'Bu', 'Cb', 'Qc', 'Pc', 'Pe', 'Ei', 'Ie', 'Ef', 'Fk', 'kG', 'Kg', 'Jl', 'Lm', 'Mn', 'No', 'Np', 'Qp', 'Rs', 'St', 'Sw'];
str = String(str);
str = str.split('Dd');
str = str[0];
str = ab20.fr(str, v2[0], '9');
str = ab20.fr(str, v2[1], '9');
str = ab20.fr(str, v2[2], '9');
str = ab20.fr(str, v2[3], '8');
str = ab20.fr(str, v2[4], '8');
str = ab20.fr(str, v2[5], '8');
str = ab20.fr(str, v2[6], '7');
str = ab20.fr(str, v2[7], '7');
str = ab20.fr(str, v2[8], '7');
str = ab20.fr(str, v2[9], '6');
str = ab20.fr(str, v2[10], '6');
str = ab20.fr(str, v2[11], '6');
str = ab20.fr(str, v2[12], '5');
str = ab20.fr(str, v2[13], '5');
str = ab20.fr(str, v2[14], '5');
str = ab20.fr(str, v2[15], '4');
str = ab20.fr(str, v2[16], '4');
str = ab20.fr(str, v2[17], '4');
str = ab20.fr(str, v2[18], '3');
str = ab20.fr(str, v2[19], '3');
str = ab20.fr(str, v2[20], '3');
str = ab20.fr(str, v2[21], '2');
str = ab20.fr(str, v2[22], '2');
str = ab20.fr(str, v2[23], '2');
str = ab20.fr(str, v2[24], '1');
str = ab20.fr(str, v2[25], '1');
str = ab20.fr(str, v2[26], '1');
str = ab20.fr(str, v2[27], '0');
str = ab20.fr(str, v2[28], '0');
str = ab20.fr(str, v2[29], '0');
var v3 = Number(str);
return v3;
};
ASSetPropFlags(_global.ab20.prototype, null, 1);
}
#endinitclip
}
movieClip 393 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 8133 __Packages.mx.transitions.TransitionManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.TransitionManager) {
var v1 = function (content) {
this.__set__content(content);
this._transitions = {};
};
mx.transitions.TransitionManager = v1;
var v2 = v1.prototype;
v2.__set__content = function (c) {
this.removeEventListener('allTransitionsInDone', this._content);
this.removeEventListener('allTransitionsOutDone', this._content);
this._content = c;
this.saveContentAppearance();
this.addEventListener('allTransitionsInDone', this._content);
this.addEventListener('allTransitionsOutDone', this._content);
return this.__get__content();
};
v2.__get__content = function () {
return this._content;
};
v2.__get__transitionsList = function () {
return this._transitions;
};
v2.__get__numTransitions = function () {
var v2 = 0;
for (var v3 in this._transitions) {
++v2;
}
return v2;
};
v2.__get__numInTransitions = function () {
var v3 = 0;
var v2 = this._transitions;
for (var v4 in v2) {
if (!v2[v4].direction) {
++v3;
}
}
return v3;
};
v2.__get__numOutTransitions = function () {
var v3 = 0;
var v2 = this._transitions;
for (var v4 in v2) {
if (v2[v4].direction) {
++v3;
}
}
return v3;
};
v2.__get__contentAppearance = function () {
return this._contentAppearance;
};
v1.start = function (content, transParams) {
if (content.__transitionManager == undefined) {
content.__transitionManager = new mx.transitions.TransitionManager(content);
}
if (transParams.direction == 1) {
content.__transitionManager._triggerEvent = 'hide';
return content.__transitionManager.startTransition(transParams);
}
content.__transitionManager._triggerEvent = 'reveal';
return content.__transitionManager.startTransition(transParams);
};
v2.startTransition = function (transParams) {
this.removeTransition(this.findTransition(transParams));
var v3 = transParams.type;
var v2 = new v3(this._content, transParams, this);
this.addTransition(v2);
v2.start();
return v2;
};
v2.addTransition = function (trans) {
trans.ID = ++mx.transitions.TransitionManager.IDCount;
this._transitions[trans.ID] = trans;
return trans;
};
v2.removeTransition = function (trans) {
if (this._transitions[trans.ID] == undefined) {
return false;
}
trans.cleanUp();
return delete this._transitions[trans.ID];
};
v2.findTransition = function (transParams) {
var v2;
for (var v4 in this._transitions) {
v2 = this._transitions[v4];
if (v2.type == transParams.type) {
return v2;
}
}
return undefined;
};
v2.removeAllTransitions = function () {
for (var v2 in this._transitions) {
this._transitions[v2].cleanUp();
this.removeTransition(this._transitions[v2]);
}
};
v2.saveContentAppearance = function () {
var v2 = this._content;
if (this._contentAppearance == undefined) {
this._contentAppearance = {};
var v3 = this._contentAppearance;
for (var v4 in this._visualPropList) {
v3[v4] = v2[v4];
}
v3.colorTransform = (new Color(v2)).getTransform();
}
this._innerBounds = v2.getBounds(targetPath(v2));
this._outerBounds = v2.getBounds(targetPath(v2._parent));
this._width = v2._width;
this._height = v2._height;
};
v2.restoreContentAppearance = function () {
var v2 = this._content;
var v3 = this._contentAppearance;
for (var v4 in this._visualPropList) {
v2[v4] = v3[v4];
}
(new Color(v2)).setTransform(v3.colorTransform);
};
v2.transitionInDone = function (e) {
this.removeTransition(e.target);
if (this.__get__numInTransitions() == 0) {
var v2;
v2 = this._content._visible;
if (this._triggerEvent == 'hide' || this._triggerEvent == 'hideChild') {
this._content._visible = false;
}
if (v2) {
this.dispatchEvent({'type': 'allTransitionsInDone', 'target': this});
}
}
};
v2.transitionOutDone = function (e) {
this.removeTransition(e.target);
if (this.__get__numOutTransitions() == 0) {
this.restoreContentAppearance();
var v2;
v2 = this._content._visible;
if (v2 && (this._triggerEvent == 'hide' || this._triggerEvent == 'hideChild')) {
this._content._visible = false;
}
updateAfterEvent();
if (v2) {
this.dispatchEvent({'type': 'allTransitionsOutDone', 'target': this});
}
}
};
v2.toString = function () {
return '[TransitionManager]';
};
v1.version = '1.1.0.52';
v1.IDCount = 0;
v2.type = mx.transitions.TransitionManager;
v2.className = 'TransitionManager';
v2._visualPropList = {'_x': null, '_y': null, '_xscale': null, '_yscale': null, '_alpha': null, '_rotation': null};
v1.__mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype);
v2.addProperty('content', v2.__get__content, v2.__set__content);
v2.addProperty('contentAppearance', v2.__get__contentAppearance, function () {});
v2.addProperty('numInTransitions', v2.__get__numInTransitions, function () {});
v2.addProperty('numOutTransitions', v2.__get__numOutTransitions, function () {});
v2.addProperty('numTransitions', v2.__get__numTransitions, function () {});
v2.addProperty('transitionsList', v2.__get__transitionsList, function () {});
ASSetPropFlags(mx.transitions.TransitionManager.prototype, null, 1);
}
#endinitclip
}
movieClip 8134 __Packages.mx.transitions.Transition {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.Transition) {
var v1 = function (content, transParams, manager) {
if (!arguments.length) {
return undefined;
}
this.init(content, transParams, manager);
};
mx.transitions.Transition = v1;
var v2 = v1.prototype;
v2.__set__manager = function (mgr) {
if (this._manager != undefined) {
this.removeEventListener('transitionInDone', this._manager);
this.removeEventListener('transitionOutDone', this._manager);
this.removeEventListener('transitionProgress', this._manager);
}
this._manager = mgr;
this.addEventListener('transitionInDone', this._manager);
this.addEventListener('transitionOutDone', this._manager);
this.addEventListener('transitionProgress', this._manager);
return this.__get__manager();
};
v2.__get__manager = function () {
return this._manager;
};
v2.__set__content = function (c) {
if (typeof c == 'movieclip') {
this._content = c;
this._twn.obj = c;
}
return this.__get__content();
};
v2.__get__content = function () {
return this._content;
};
v2.__set__direction = function (direction) {
this._direction = direction ? 1 : 0;
return this.__get__direction();
};
v2.__get__direction = function () {
return this._direction;
};
v2.__set__duration = function (d) {
if (d) {
this._duration = d;
this._twn.duration = d;
}
return this.__get__duration();
};
v2.__get__duration = function () {
return this._duration;
};
v2.__set__easing = function (e) {
if (typeof e == 'string') {
e = eval(e);
} else {
if (e == undefined) {
e = this._noEase;
}
}
this._easing = e;
this._twn.easing = e;
return this.__get__easing();
};
v2.__get__easing = function () {
return this._easing;
};
v2.__set__progress = function (p) {
if (this._progress == p) {
return undefined;
}
this._progress = p;
if (this._direction) {
this._render(1 - p);
} else {
this._render(p);
}
this.dispatchEvent({'type': 'transitionProgress', 'target': this, 'progress': p});
return this.__get__progress();
};
v2.__get__progress = function () {
return this._progress;
};
v2.init = function (content, transParams, manager) {
this.__set__content(content);
this.__set__direction(transParams.direction);
this.__set__duration(transParams.duration);
this.__set__easing(transParams.easing);
this.__set__manager(manager);
this._innerBounds = (this.__get__manager())._innerBounds;
this._outerBounds = (this.__get__manager())._outerBounds;
this._width = (this.__get__manager())._width;
this._height = (this.__get__manager())._height;
this._resetTween();
};
v2.toString = function () {
return '[Transition ' + this.className + ']';
};
v2.start = function () {
(this.__get__content())._visible = true;
this._twn.start();
};
v2.stop = function () {
this._twn.fforward();
this._twn.stop();
};
v2.cleanUp = function () {
this.removeEventListener('transitionInDone', this._manager);
this.removeEventListener('transitionOutDone', this._manager);
this.removeEventListener('transitionProgress', this._manager);
this.stop();
};
v2.getNextHighestDepthMC = function (mc) {
var v4 = mc.getNextHighestDepth();
if (v4 != undefined) {
return v4;
} else {
v4 = -1;
var v3;
var v1;
for (var v5 in mc) {
v1 = mc[v5];
if (typeof v1 == 'movieclip' && v1._parent == mc) {
v3 = v1.getDepth();
if (v3 > v4) {
v4 = v3;
}
}
}
return v4 + 1;
}
};
v2.drawBox = function (mc, x, y, w, h) {
mc.moveTo(x, y);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
};
v2.drawCircle = function (mc, x, y, r) {
mc.moveTo(x + r, y);
mc.curveTo(r + x, 0.4142135623730951 * r + y, Math.SQRT1_2 * r + x, Math.SQRT1_2 * r + y);
mc.curveTo(0.4142135623730951 * r + x, r + y, x, r + y);
mc.curveTo(-0.4142135623730951 * r + x, r + y, -Math.SQRT1_2 * r + x, Math.SQRT1_2 * r + y);
mc.curveTo(-r + x, 0.4142135623730951 * r + y, -r + x, y);
mc.curveTo(-r + x, -0.4142135623730951 * r + y, -Math.SQRT1_2 * r + x, -Math.SQRT1_2 * r + y);
mc.curveTo(-0.4142135623730951 * r + x, -r + y, x, -r + y);
mc.curveTo(0.4142135623730951 * r + x, -r + y, Math.SQRT1_2 * r + x, -Math.SQRT1_2 * r + y);
mc.curveTo(r + x, -0.4142135623730951 * r + y, r + x, y);
};
v2._render = function (p) {};
v2._resetTween = function () {
this._twn.stop();
this._twn.removeListener(this);
this._twn = new mx.transitions.Tween(this, null, this.__get__easing(), 0, 1, this.__get__duration(), true);
this._twn.stop();
this._twn.prop = 'progress';
this._twn.addListener(this);
};
v2._noEase = function (t, b, c, d) {
return c * t / d + b;
};
v2.onMotionFinished = function (src) {
if (this.__get__direction()) {
this.dispatchEvent({'type': 'transitionOutDone', 'target': this});
} else {
this.dispatchEvent({'type': 'transitionInDone', 'target': this});
}
};
v1.version = '1.1.0.52';
v1.IN = 0;
v1.OUT = 1;
v2.type = mx.transitions.Transition;
v2.className = 'Transition';
v2._direction = 0;
v2._duration = 2;
v1.__mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype);
v2.addProperty('content', v2.__get__content, v2.__set__content);
v2.addProperty('direction', v2.__get__direction, v2.__set__direction);
v2.addProperty('duration', v2.__get__duration, v2.__set__duration);
v2.addProperty('easing', v2.__get__easing, v2.__set__easing);
v2.addProperty('manager', v2.__get__manager, v2.__set__manager);
v2.addProperty('progress', v2.__get__progress, v2.__set__progress);
ASSetPropFlags(mx.transitions.Transition.prototype, null, 1);
}
#endinitclip
}
movieClip 8135 __Packages.mx.transitions.OnEnterFrameBeacon {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.OnEnterFrameBeacon) {
var v1 = function () {};
mx.transitions.OnEnterFrameBeacon = v1;
var v2 = v1.prototype;
v1.init = function () {
var v4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(v4);
var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876);
v3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage('onEnterFrame');
};
}
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1);
}
#endinitclip
}
movieClip 8136 __Packages.mx.transitions.BroadcasterMX {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.BroadcasterMX) {
var v1 = function () {};
mx.transitions.BroadcasterMX = v1;
var v2 = v1.prototype;
v1.initialize = function (o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
};
v2.addListener = function (o) {
this.removeListener(o);
if (this.broadcastMessage == undefined) {
this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return this._listeners.push(o);
};
v2.removeListener = function (o) {
var v2 = this._listeners;
var v3 = v2.length;
while (v3--) {
if (v2[v3] == o) {
v2.splice(v3, 1);
if (!v2.length) {
this.broadcastMessage = undefined;
}
return true;
}
}
return false;
};
v2.broadcastMessage = function () {
var v5 = String(arguments.shift());
var v4 = this._listeners.concat();
var v6 = v4.length;
var v3 = 0;
while (v3 < v6) {
v4[v3][v5].apply(v4[v3], arguments);
++v3;
}
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1);
}
#endinitclip
}
movieClip 8137 __Packages.mx.transitions.Tween {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.Tween) {
var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return undefined;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
this.__set__position(begin);
this.__set__duration(duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.__set__finish(finish);
this._listeners = [];
this.addListener(this);
this.start();
};
mx.transitions.Tween = v1;
var v2 = v1.prototype;
v2.__set__time = function (t) {
this.prevTime = this._time;
if (t > this.__get__duration()) {
if (this.looping) {
this.rewind(t - this._duration);
this.update();
this.broadcastMessage('onMotionLooped', this);
} else {
if (this.useSeconds) {
this._time = this._duration;
this.update();
}
this.stop();
this.broadcastMessage('onMotionFinished', this);
}
} else {
if (t < 0) {
this.rewind();
this.update();
} else {
this._time = t;
this.update();
}
}
return this.__get__time();
};
v2.__get__time = function () {
return this._time;
};
v2.__set__duration = function (d) {
this._duration = (d == null || d <= 0) ? _global.Infinity : d;
return this.__get__duration();
};
v2.__get__duration = function () {
return this._duration;
};
v2.__set__FPS = function (fps) {
var v2 = this.isPlaying;
this.stopEnterFrame();
this._fps = fps;
if (v2) {
this.startEnterFrame();
}
return this.__get__FPS();
};
v2.__get__FPS = function () {
return this._fps;
};
v2.__set__position = function (p) {
this.setPosition(p);
return this.__get__position();
};
v2.setPosition = function (p) {
this.prevPos = this._pos;
this._pos = p;
this.obj[this.prop] = this._pos;
this.broadcastMessage('onMotionChanged', this, this._pos);
updateAfterEvent();
};
v2.__get__position = function () {
return this.getPosition();
};
v2.getPosition = function (t) {
if (t == undefined) {
t = this._time;
}
return this.func(t, this.begin, this.change, this._duration);
};
v2.__set__finish = function (f) {
this.change = f - this.begin;
return this.__get__finish();
};
v2.__get__finish = function () {
return this.begin + this.change;
};
v2.continueTo = function (finish, duration) {
this.begin = this.position;
this.__set__finish(finish);
if (duration != undefined) {
this.__set__duration(duration);
}
this.start();
};
v2.yoyo = function () {
this.continueTo(this.begin, this.__get__time());
};
v2.startEnterFrame = function () {
if (this._fps == undefined) {
_global.MovieClip.addListener(this);
} else {
this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps);
}
this.isPlaying = true;
};
v2.stopEnterFrame = function () {
if (this._fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(this._intervalID);
}
this.isPlaying = false;
};
v2.start = function () {
this.rewind();
this.startEnterFrame();
this.broadcastMessage('onMotionStarted', this);
};
v2.stop = function () {
this.stopEnterFrame();
this.broadcastMessage('onMotionStopped', this);
};
v2.resume = function () {
this.fixTime();
this.startEnterFrame();
this.broadcastMessage('onMotionResumed', this);
};
v2.rewind = function (t) {
this._time = (t == undefined) ? 0 : t;
this.fixTime();
this.update();
};
v2.fforward = function () {
this.__set__time(this._duration);
this.fixTime();
};
v2.nextFrame = function () {
if (this.useSeconds) {
this.__set__time((getTimer() - this._startTime) / 1000);
} else {
this.__set__time(this._time + 1);
}
};
v2.onEnterFrame = function () {
this.nextFrame();
};
v2.prevFrame = function () {
if (!this.useSeconds) {
this.__set__time(this._time - 1);
}
};
v2.toString = function () {
return '[Tween]';
};
v2.fixTime = function () {
if (this.useSeconds) {
this._startTime = getTimer() - this._time * 1000;
}
};
v2.update = function () {
this.__set__position(this.getPosition(this._time));
};
v1.version = '1.1.0.52';
v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init();
v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
v2.func = function (t, b, c, d) {
return c * t / d + b;
};
v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS);
v2.addProperty('duration', v2.__get__duration, v2.__set__duration);
v2.addProperty('finish', v2.__get__finish, v2.__set__finish);
v2.addProperty('position', v2.__get__position, v2.__set__position);
v2.addProperty('time', v2.__get__time, v2.__set__time);
ASSetPropFlags(mx.transitions.Tween.prototype, null, 1);
}
#endinitclip
}
movieClip 8138 __Packages.mx.transitions.easing.Elastic {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.easing) {
_global.mx.transitions.easing = new Object();
}
if (!_global.mx.transitions.easing.Elastic) {
var v1 = function () {};
mx.transitions.easing.Elastic = v1;
var v2 = v1.prototype;
v1.easeIn = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d;
if (t == 1) {
return b + c;
}
if (!p) {
p = d * 0.3;
}
if (!a || a < Math.abs(c)) {
a = c;
var v7 = p / 4;
t -= 1;
return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b;
}
v7 = (p / 6.283185307179586) * Math.asin(c / a);
t -= 1;
return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b;
};
v1.easeOut = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d;
if (t == 1) {
return b + c;
}
if (!p) {
p = d * 0.3;
}
if (!a || a < Math.abs(c)) {
a = c;
var v7 = p / 4;
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) + c + b;
}
v7 = (p / 6.283185307179586) * Math.asin(c / a);
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) + c + b;
};
v1.easeInOut = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d / 2;
if (t == 2) {
return b + c;
}
if (!p) {
p = d * 0.45;
}
if (!a || a < Math.abs(c)) {
a = c;
var v7 = p / 4;
} else {
var v7 = (p / 6.283185307179586) * Math.asin(c / a);
}
if (t < 1) {
t -= 1;
return -0.5 * (a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b;
}
t -= 1;
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) * 0.5 + c + b;
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.easing.Elastic.prototype, null, 1);
}
#endinitclip
}
movieClip 8139 __Packages.mx.transitions.Zoom {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.Zoom) {
var v1 = function (content, transParams, manager) {
super();
this.init(content, transParams, manager);
};
mx.transitions.Zoom = v1;
mx.transitions.Zoom extends mx.transitions.Transition;
var v2 = v1.prototype;
v2.init = function (content, transParams, manager) {
super.init(content, transParams, manager);
this._xscaleFinal = ((this.__get__manager()).__get__contentAppearance())._xscale;
this._yscaleFinal = ((this.__get__manager()).__get__contentAppearance())._yscale;
};
v2._render = function (p) {
if (p < 0) {
p = 0;
}
this._content._xscale = p * this._xscaleFinal;
this._content._yscale = p * this._yscaleFinal;
};
v1.version = '1.1.0.52';
v2.type = mx.transitions.Zoom;
v2.className = 'Zoom';
ASSetPropFlags(mx.transitions.Zoom.prototype, null, 1);
}
#endinitclip
}
movieClip 8140 __Packages.Vector {
#initclip
if (!_global.Vector) {
var v1 = function (i, j) {
this.x = i;
this.y = j;
};
_global.Vector = v1;
var v2 = v1.prototype;
v2.norm = function () {
var v2 = this.vLength();
this.x /= v2;
this.y /= v2;
};
v1.add = function (v, v2) {
return new Vector(v2.x + v.x, v2.y + v.y);
};
v1.subtract = function (v, v2) {
return new Vector(v.x - v2.x, v.y - v2.y);
};
v1.dot = function (v, v2) {
return v2.x * v.x + v2.y * v.y;
};
v1.angle = function (v, v2) {
return Math.acos(Vector.dot(v, v2) / v2.vLength() * v.vLength()) / 0.0174532925199433;
};
v1.angle2 = function (v, v2) {
var v1 = Vector.angle(v, v2);
if (Vector.comp(v.rotateNew(v1), v2) < 0.0001) {
return v1;
} else {
return -v1;
}
};
v1.comp = function (v, v2) {
return Math.abs(v.x / v.vLength() - v2.x / v2.vLength()) + Math.abs(v.y / v.vLength() - v2.y / v2.vLength());
};
v2.vLength = function () {
return Math.sqrt(this.x * this.x + this.y * this.y);
};
v2.perpendicular = function () {
return new Vector(-this.y, this.x);
};
v2.scale = function (val) {
this.x *= val;
this.y *= val;
};
v2.rotate = function (degrees) {
degrees *= 0.0174532925199433;
var v3 = Math.sin(degrees);
var v2 = Math.cos(degrees);
var v5 = this.x * v2 - this.y * v3;
var v4 = this.x * v3 + this.y * v2;
this.x = v5;
this.y = v4;
};
v2.rotateNew = function (degrees) {
degrees *= 0.0174532925199433;
var v3 = Math.sin(degrees);
var v2 = Math.cos(degrees);
var v5 = this.x * v2 - this.y * v3;
var v4 = this.x * v3 + this.y * v2;
return new Vector(v5, v4);
};
v2.reflect = function (normal) {
var v2 = new Vector(normal.x, normal.y);
v2.norm();
v2.scale(2 * Vector.dot(this, v2));
return Vector.subtract(this, v2);
};
v2.display = function (point, scale, tgt) {
tgt.lineStyle(3, 16777215, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + this.x * scale, point.y + this.y * scale);
var v5 = new Vector(-this.x, -this.y);
v5.norm();
v5.scale(0.5);
v5.rotate(-45);
tgt.lineTo(point.x + this.x * scale + v5.x * scale, point.y + this.y * scale + v5.y * scale);
tgt.moveTo(point.x + this.x * scale, point.y + this.y * scale);
v5.rotate(90);
tgt.lineTo(point.x + this.x * scale + v5.x * scale, point.y + this.y * scale + v5.y * scale);
tgt.lineStyle(2, 0, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + this.x * scale, point.y + this.y * scale);
var v6 = new Vector(-this.x, -this.y);
v6.norm();
v6.scale(0.5);
v6.rotate(-45);
tgt.lineTo(point.x + this.x * scale + v6.x * scale, point.y + this.y * scale + v6.y * scale);
tgt.moveTo(point.x + this.x * scale, point.y + this.y * scale);
v6.rotate(90);
tgt.lineTo(point.x + this.x * scale + v6.x * scale, point.y + this.y * scale + v6.y * scale);
};
ASSetPropFlags(_global.Vector.prototype, null, 1);
}
#endinitclip
}
movieClip 333 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIObject) {
var v1 = function () {
super();
this.constructObject();
};
mx.core.UIObject = v1;
var v2 = new MovieClip();
mx.core.UIObject.prototype = v2;
v2.__get__width = function () {
return this._width;
};
v2.__get__height = function () {
return this._height;
};
v2.__get__left = function () {
return this._x;
};
v2.__get__x = function () {
return this._x;
};
v2.__get__top = function () {
return this._y;
};
v2.__get__y = function () {
return this._y;
};
v2.__get__right = function () {
return this._parent.width - (this._x + this.__get__width());
};
v2.__get__bottom = function () {
return this._parent.height - (this._y + this.__get__height());
};
v2.getMinHeight = function (Void) {
return this._minHeight;
};
v2.setMinHeight = function (h) {
this._minHeight = h;
};
v2.__get__minHeight = function () {
return this.getMinHeight();
};
v2.__set__minHeight = function (h) {
this.setMinHeight(h);
return this.__get__minHeight();
};
v2.getMinWidth = function (Void) {
return this._minWidth;
};
v2.setMinWidth = function (w) {
this._minWidth = w;
};
v2.__get__minWidth = function () {
return this.getMinWidth();
};
v2.__set__minWidth = function (w) {
this.setMinWidth(w);
return this.__get__minWidth();
};
v2.setVisible = function (x, noEvent) {
if (x != this._visible) {
this._visible = x;
if (noEvent != true) {
this.dispatchEvent({'type': x ? 'reveal' : 'hide'});
}
}
};
v2.__get__visible = function () {
return this._visible;
};
v2.__set__visible = function (x) {
this.setVisible(x, false);
return this.__get__visible();
};
v2.__get__scaleX = function () {
return this._xscale;
};
v2.__set__scaleX = function (x) {
this._xscale = x;
return this.__get__scaleX();
};
v2.__get__scaleY = function () {
return this._yscale;
};
v2.__set__scaleY = function (y) {
this._yscale = y;
return this.__get__scaleY();
};
v2.doLater = function (obj, fn) {
if (this.methodTable == undefined) {
this.methodTable = new Array();
}
this.methodTable.push({'obj': obj, 'fn': fn});
this.onEnterFrame = this.doLaterDispatcher;
};
v2.doLaterDispatcher = function (Void) {
delete this.onEnterFrame;
if (this.invalidateFlag) {
this.redraw();
}
var v3 = this.methodTable;
this.methodTable = new Array();
if (v3.length > 0) {
var v2;
v2 = v3.shift();
while (v2 != undefined) {
v2.obj[v2.fn]();
}
}
};
v2.cancelAllDoLaters = function (Void) {
delete this.onEnterFrame;
this.methodTable = new Array();
};
v2.invalidate = function (Void) {
this.invalidateFlag = true;
this.onEnterFrame = this.doLaterDispatcher;
};
v2.invalidateStyle = function (Void) {
this.invalidate();
};
v2.redraw = function (bAlways) {
if (this.invalidateFlag || bAlways) {
this.invalidateFlag = false;
var v2;
for (v2 in this.tfList) {
this.tfList[v2].draw();
}
this.draw();
this.dispatchEvent({'type': 'draw'});
}
};
v2.draw = function (Void) {};
v2.move = function (x, y, noEvent) {
var v3 = this._x;
var v2 = this._y;
this._x = x;
this._y = y;
if (noEvent != true) {
this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2});
}
};
v2.setSize = function (w, h, noEvent) {
var v2 = this.__width;
var v3 = this.__height;
this.__width = w;
this.__height = h;
this.size();
if (noEvent != true) {
this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3});
}
};
v2.size = function (Void) {
this._width = this.__width;
this._height = this.__height;
};
v2.drawRect = function (x1, y1, x2, y2) {
this.moveTo(x1, y1);
this.lineTo(x2, y1);
this.lineTo(x2, y2);
this.lineTo(x1, y2);
this.lineTo(x1, y1);
};
v2.createLabel = function (name, depth, text) {
this.createTextField(name, depth, 0, 0, 0, 0);
var v2 = this[name];
v2._color = mx.core.UIObject.textColorList;
v2._visible = false;
v2.__text = text;
if (this.tfList == undefined) {
this.tfList = new Object();
}
this.tfList[name] = v2;
v2.invalidateStyle();
this.invalidate();
v2.styleName = this;
return v2;
};
v2.createObject = function (linkageName, id, depth, initobj) {
return this.attachMovie(linkageName, id, depth, initobj);
};
v2.createClassObject = function (className, id, depth, initobj) {
var v3 = className.symbolName == undefined;
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj);
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return v4;
};
v2.createEmptyObject = function (id, depth) {
return this.createClassObject(mx.core.UIObject, id, depth);
};
v2.destroyObject = function (id) {
var v2 = this[id];
if (v2.getDepth() < 0) {
var v4 = this.buildDepthTable();
var v5 = this.findNextAvailableDepth(0, v4, 'up');
var v3 = v5;
v2.swapDepths(v3);
}
v2.removeMovieClip();
delete this[id];
};
v2.getSkinIDName = function (tag) {
return this.idNames[tag];
};
v2.setSkin = function (tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj);
};
v2.createSkin = function (tag) {
var v2 = this.getSkinIDName(tag);
this.createEmptyObject(v2, tag);
return this[v2];
};
v2.createChildren = function (Void) {};
v2._createChildren = function (Void) {
this.createChildren();
this.childrenCreated = true;
};
v2.constructObject = function (Void) {
if (this._name == undefined) {
return undefined;
}
this.init();
this._createChildren();
this.createAccessibilityImplementation();
this._endInit();
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.initFromClipParameters = function (Void) {
var v4 = false;
var v2;
for (v2 in this.clipParameters) {
if (this.hasOwnProperty(v2)) {
v4 = true;
this['def_' + v2] = this[v2];
delete this[v2];
}
}
if (v4) {
for (v2 in this.clipParameters) {
var v3 = this['def_' + v2];
if (v3 != undefined) {
this[v2] = v3;
}
}
}
};
v2.init = function (Void) {
this.__width = this._width;
this.__height = this._height;
if (this.initProperties == undefined) {
this.initFromClipParameters();
} else {
this.initProperties();
}
if (_global.cascadingStyles == true) {
this.stylecache = new Object();
}
};
v2.getClassStyleDeclaration = function (Void) {
var v4 = this;
var v3 = this.className;
while (v3 != undefined) {
if (this.ignoreClassStyleDeclaration[v3] == undefined) {
if (_global.styles[v3] != undefined) {
return _global.styles[v3];
}
}
v4 = v4.__proto__;
v3 = v4.className;
}
};
v2.setColor = function (color) {};
v2.__getTextFormat = function (tf, bAll) {
var v8 = this.stylecache.tf;
if (v8 != undefined) {
var v3;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
tf[v3] = v8[v3];
}
}
}
return false;
}
var v6 = false;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
var v5 = this._tf[v3];
if (v5 != undefined) {
tf[v3] = v5;
} else {
if (v3 == 'font' && this.fontFamily != undefined) {
tf[v3] = this.fontFamily;
} else {
if (v3 == 'size' && this.fontSize != undefined) {
tf[v3] = this.fontSize;
} else {
if (v3 == 'color' && this.color != undefined) {
tf[v3] = this.color;
} else {
if (v3 == 'leftMargin' && this.marginLeft != undefined) {
tf[v3] = this.marginLeft;
} else {
if (v3 == 'rightMargin' && this.marginRight != undefined) {
tf[v3] = this.marginRight;
} else {
if (v3 == 'italic' && this.fontStyle != undefined) {
tf[v3] = this.fontStyle == v3;
} else {
if (v3 == 'bold' && this.fontWeight != undefined) {
tf[v3] = this.fontWeight == v3;
} else {
if (v3 == 'align' && this.textAlign != undefined) {
tf[v3] = this.textAlign;
} else {
if (v3 == 'indent' && this.textIndent != undefined) {
tf[v3] = this.textIndent;
} else {
if (v3 == 'underline' && this.textDecoration != undefined) {
tf[v3] = this.textDecoration == v3;
} else {
if (v3 == 'embedFonts' && this.embedFonts != undefined) {
tf[v3] = this.embedFonts;
} else {
v6 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v6) {
var v9 = this.styleName;
if (v9 != undefined) {
if (typeof v9 != 'string') {
v6 = v9.__getTextFormat(tf, true, this);
} else {
if (_global.styles[v9] != undefined) {
v6 = _global.styles[v9].__getTextFormat(tf, true, this);
}
}
}
}
if (v6) {
var v10 = this.getClassStyleDeclaration();
if (v10 != undefined) {
v6 = v10.__getTextFormat(tf, true, this);
}
}
if (v6) {
if (_global.cascadingStyles) {
if (this._parent != undefined) {
v6 = this._parent.__getTextFormat(tf, false);
}
}
}
if (v6) {
v6 = _global.style.__getTextFormat(tf, true, this);
}
return v6;
};
v2._getTextFormat = function (Void) {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2, true);
this.stylecache.tf = v2;
if (this.enabled == false) {
var v3 = this.getStyle('disabledColor');
v2.color = v3;
}
return v2;
};
v2.getStyleName = function (Void) {
var v2 = this.styleName;
if (v2 != undefined) {
if (typeof v2 != 'string') {
return v2.getStyleName();
} else {
return v2;
}
}
if (this._parent != undefined) {
return this._parent.getStyleName();
} else {
return undefined;
}
};
v2.getStyle = function (styleProp) {
var v3;
++_global.getStyleCounter;
if (this[styleProp] != undefined) {
return this[styleProp];
}
var v6 = this.styleName;
if (v6 != undefined) {
if (typeof v6 != 'string') {
v3 = v6.getStyle(styleProp);
} else {
var v7 = _global.styles[v6];
v3 = v7.getStyle(styleProp);
}
}
if (v3 != undefined) {
return v3;
}
v7 = this.getClassStyleDeclaration();
if (v7 != undefined) {
v3 = v7[styleProp];
}
if (v3 != undefined) {
return v3;
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) {
var v5 = this.stylecache;
if (v5 != undefined) {
if (v5[styleProp] != undefined) {
return v5[styleProp];
}
}
if (this._parent != undefined) {
v3 = this._parent.getStyle(styleProp);
} else {
v3 = _global.style[styleProp];
}
if (v5 != undefined) {
v5[styleProp] = v3;
}
return v3;
}
}
if (v3 == undefined) {
v3 = _global.style[styleProp];
}
return v3;
};
v1.mergeClipParameters = function (o, p) {
for (var v3 in p) {
o[v3] = p[v3];
}
return true;
};
v1.symbolName = 'UIObject';
v1.symbolOwner = mx.core.UIObject;
v1.version = '2.0.2.126';
v1.textColorList = {'color': 1, 'disabledColor': 1};
v2.invalidateFlag = false;
v2.lineWidth = 1;
v2.lineColor = 0;
v2.tabEnabled = false;
v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1};
v2.addProperty('bottom', v2.__get__bottom, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('left', v2.__get__left, function () {});
v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight);
v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth);
v2.addProperty('right', v2.__get__right, function () {});
v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX);
v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY);
v2.addProperty('top', v2.__get__top, function () {});
v2.addProperty('visible', v2.__get__visible, v2.__set__visible);
v2.addProperty('width', v2.__get__width, function () {});
v2.addProperty('x', v2.__get__x, function () {});
v2.addProperty('y', v2.__get__y, function () {});
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
}
#endinitclip
}
movieClip 334 __Packages.mx.core.UIComponent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIComponent) {
var v1 = function () {
super();
};
mx.core.UIComponent = v1;
var v2 = new mx.core.UIObject();
mx.core.UIComponent.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this.setEnabled(newValue);
this.invalidate();
delete this.stylecache.tf;
return newValue;
};
v2.setEnabled = function (enabled) {
this.invalidate();
};
v2.getFocus = function () {
var selFocus = Selection.getFocus();
return (selFocus === null) ? null : eval(selFocus);
};
v2.setFocus = function () {
Selection.setFocus(this);
};
v2.getFocusManager = function () {
var v2 = this;
while (v2 != undefined) {
if (v2.focusManager != undefined) {
return v2.focusManager;
}
v2 = v2._parent;
}
return undefined;
};
v2.onKillFocus = function (newFocus) {
this.removeEventListener('keyDown', this);
this.removeEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusOut'});
this.drawFocus(false);
};
v2.onSetFocus = function (oldFocus) {
this.addEventListener('keyDown', this);
this.addEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusIn'});
if ((this.getFocusManager()).bDrawFocus != false) {
this.drawFocus(true);
}
};
v2.findFocusInChildren = function (o) {
if (o.focusTextField != undefined) {
return o.focusTextField;
}
if (o.tabEnabled == true) {
return o;
}
return undefined;
};
v2.findFocusFromObject = function (o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return undefined;
}
if (o._parent.tabEnabled == true) {
o = o._parent;
return o;
}
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
return o;
}
o = this.findFocusFromObject(o._parent);
}
return o;
};
v2.pressFocus = function () {
var v3 = this.findFocusFromObject(this);
var v2 = this.getFocus();
if (v3 != v2) {
v2.drawFocus(false);
if ((this.getFocusManager()).bDrawFocus != false) {
v3.drawFocus(true);
}
}
};
v2.releaseFocus = function () {
var v2 = this.findFocusFromObject(this);
if (v2 != this.getFocus()) {
v2.setFocus();
}
};
v2.isParent = function (o) {
while (o != undefined) {
if (o == this) {
return true;
}
o = o._parent;
}
return false;
};
v2.size = function () {};
v2.init = function () {
super.init();
this._xscale = 100;
this._yscale = 100;
this._focusrect = _global.useFocusRect == false;
this.watch('enabled', this.enabledChanged);
if (this.enabled == false) {
this.setEnabled(false);
}
};
v2.dispatchValueChangedEvent = function (value) {
this.dispatchEvent({'type': 'valueChanged', 'value': value});
};
v1.symbolName = 'UIComponent';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.126';
v1.kStretch = 5000;
v2.focusEnabled = true;
v2.tabEnabled = true;
v2.origBorderStyles = {'themeColor': 16711680};
v2.clipParameters = {};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
}
#endinitclip
}
movieClip 335 __Packages.mx.controls.NumericStepper {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.NumericStepper) {
var v1 = function () {
super();
};
mx.controls.NumericStepper = v1;
var v2 = new mx.core.UIComponent();
mx.controls.NumericStepper.prototype = v2;
v2.init = function () {
super.init();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
this._visible = false;
this.tabEnabled = false;
this.tabChildren = true;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
if (this.initializing) {
this.__visible = x;
}
};
v2.layoutControl = function () {
this.nextButton_mc._x = this.__width - this.nextButton_mc.__width;
this.nextButton_mc._y = 0;
this.prevButton_mc._x = this.__width - this.prevButton_mc.__width;
this.prevButton_mc._y = this.__height - this.prevButton_mc.__height;
this.inputField.setSize(this.__width - this.nextButton_mc.__width, this.__height);
this.StepTrack_mc._width = Math.max(this.nextButton_mc.__width, this.prevButton_mc.__width);
this.StepTrack_mc._x = this.__width - this.StepTrack_mc._width;
this.StepTrack_mc._height = this.__height - (this.nextButton_mc._height + this.prevButton_mc._height);
this.StepTrack_mc._y = this.nextButton_mc.__height;
};
v2.createChildren = function () {
super.createChildren();
this.addAsset('nextButton_mc', this.skinIDUpArrow);
this.addAsset('prevButton_mc', this.skinIDDownArrow);
this.addAsset('inputField', this.skinIDInput);
this.focusTextField = this.inputField.label;
this.createObject('StepTrack', 'StepTrack_mc', 2);
this.size();
};
v2.draw = function () {
this.prevButton_mc.enabled = this.enabled;
this.nextButton_mc.enabled = this.enabled;
this.inputField.enabled = this.enabled;
this.size();
this.initializing = false;
this.__set__visible(this.__visible);
};
v2.size = function () {
var v2 = this.calcMinHeight();
var v3 = this.calcMinWidth();
if (this.__height < v2) {
this.setSize(this.__width, v2);
}
if (this.__width < v3) {
this.setSize(v3, this.__height);
}
this.layoutControl();
};
v2.calcMinHeight = function () {
return 22;
};
v2.calcMinWidth = function () {
return 40;
};
v2.addAsset = function (id, skinID) {
var v2 = new Object();
v2.styleName = this;
if (skinID == 10) {
v2.falseUpSkin = this.upArrowUp;
v2.falseOverSkin = this.upArrowOver;
v2.falseDownSkin = this.upArrowDown;
v2.falseDisabledSkin = this.upArrowDisabled;
this.createClassObject(mx.controls.SimpleButton, id, skinID, v2);
var v5 = this.nextButton_mc;
v5.tabEnabled = false;
v5.styleName = this;
v5._x = this.__width - v5.__width;
v5._y = 0;
v5.owner = this;
v5.autoRepeat = true;
v5.clickHandler = function () {
Selection.setSelection(0, 0);
};
v5.buttonDownHandler = function () {
this.owner.buttonPress(this);
};
} else {
if (skinID == 11) {
v2.falseUpSkin = this.downArrowUp;
v2.falseOverSkin = this.downArrowOver;
v2.falseDownSkin = this.downArrowDown;
v2.falseDisabledSkin = this.downArrowDisabled;
this.createClassObject(mx.controls.SimpleButton, id, skinID, v2);
var v3 = this.prevButton_mc;
v3.tabEnabled = false;
v3.styleName = this;
v3._x = this.__width - v3.__width;
v3._y = this.__height - v3.__height;
v3.owner = this;
v3.autoRepeat = true;
v3.clickHandler = function () {
Selection.setSelection(0, 0);
};
v3.buttonDownHandler = function () {
this.owner.buttonPress(this);
};
} else {
if (skinID == 9) {
this.createClassObject(mx.controls.TextInput, id, skinID);
var v4 = this.inputField;
v4.styleName = this;
v4.setSize(this.__width - this.nextButton_mc.__width, this.__height);
v4.restrict = '0-9\\-\\.\\,';
v4.maxChars = this.__maxChars;
v4.text = this.value;
v4.onSetFocus = function () {
this._parent.onSetFocus();
};
v4.onKillFocus = function () {
this._parent.onKillFocus();
};
v4.drawFocus = function (b) {
this._parent.drawFocus(b);
};
v4.onKeyDown = function () {
this._parent.onFieldKeyDown();
};
}
}
}
};
v2.setFocus = function () {
Selection.setFocus(this.inputField);
};
v2.onKillFocus = function () {
mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = true;
super.onKillFocus();
Key.removeListener(this.inputField);
if (Number(this.inputField.text) != this.__get__value()) {
var v3 = this.checkValidValue(Number(this.inputField.text));
this.inputField.text = v3;
this.__set__value(v3);
this.dispatchEvent({'type': 'change'});
}
};
v2.onSetFocus = function () {
super.onSetFocus();
Key.addListener(this.inputField);
mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = false;
};
v2.onFieldKeyDown = function () {
var v2 = this.__get__value();
switch (Key.getCode()) {
case 40:
var v3 = this.__get__value() - this.__get__stepSize();
this.__set__value(v3);
if (v2 != this.__get__value()) {
this.dispatchEvent({'type': 'change'});
}
break;
case 38:
var v3 = this.__get__stepSize() + this.__get__value();
this.__set__value(v3);
if (v2 != this.__get__value()) {
this.dispatchEvent({'type': 'change'});
}
break;
case 36:
this.inputField.text = this.minimum;
this.__set__value(this.minimum);
if (v2 != this.__get__value()) {
this.dispatchEvent({'type': 'change'});
}
break;
case 35:
this.inputField.text = this.maximum;
this.__set__value(this.maximum);
if (v2 != this.__get__value()) {
this.dispatchEvent({'type': 'change'});
}
break;
case 13:
this.__set__value(Number(this.inputField.text));
if (v2 == this.__get__value()) break;
this.dispatchEvent({'type': 'change'});
}
};
v2.__get__nextValue = function () {
if (this.checkRange(this.__get__value() + this.__get__stepSize())) {
this.__nextValue = this.__get__value() + this.__get__stepSize();
return this.__nextValue;
}
};
v2.__get__previousValue = function () {
if (this.checkRange(this.__value - this.__get__stepSize())) {
this.__previousValue = this.__get__value() - this.__get__stepSize();
return this.__previousValue;
}
};
v2.__set__maxChars = function (num) {
this.__maxChars = num;
this.inputField.maxChars = this.__maxChars;
return this.__get__maxChars();
};
v2.__get__maxChars = function () {
return this.__maxChars;
};
v2.__get__value = function () {
return this.__value;
};
v2.__set__value = function (v) {
var v2 = this.checkValidValue(v);
if (v2 == this.__value) {
return undefined;
}
this.__value = v2;
this.inputField.text = this.__value;
return this.__get__value();
};
v2.__get__minimum = function () {
return this.__minimum;
};
v2.__set__minimum = function (v) {
this.__minimum = v;
return this.__get__minimum();
};
v2.__get__maximum = function () {
return this.__maximum;
};
v2.__set__maximum = function (v) {
this.__maximum = v;
return this.__get__maximum();
};
v2.__get__stepSize = function () {
return this.__stepSize;
};
v2.__set__stepSize = function (v) {
this.__stepSize = v;
return this.__get__stepSize();
};
v2.onFocus = function () {};
v2.buttonPress = function (button) {
var v2 = this.__get__value();
if (button._name == 'nextButton_mc') {
this.value += this.stepSize;
} else {
this.value -= this.stepSize;
}
if (v2 != this.__get__value()) {
this.dispatchEvent({'type': 'change'});
Selection.setSelection(0, 0);
}
};
v2.checkRange = function (v) {
return v >= this.__get__minimum() and v <= this.__get__maximum();
};
v2.checkValidValue = function (val) {
var v7 = val / this.__get__stepSize();
var v9 = Math.floor(v7);
var v2 = this.__get__stepSize();
var v6 = this.__get__minimum();
var v5 = this.__get__maximum();
if (val > v6 and val < v5) {
if (v7 - v9 == 0) {
return val;
} else {
var v8 = Math.floor(val / v2);
var v4 = v8 * v2;
if (val - v4 >= v2 / 2 && v5 >= v4 + v2 && v6 <= v4 - v2 || val + v2 == v5 && v5 - v4 - v2 > 1.0e-014) {
v4 += v2;
}
return v4;
}
} else {
if (val >= v5) {
return v5;
} else {
return v6;
}
}
};
v2.onLabelChanged = function (o) {
var v2 = this.checkValidValue(Number(o.__get__text()));
o.__set__text(v2);
this.__set__value(v2);
};
v2.__get__tabIndex = function () {
return this.inputField.tabIndex;
};
v2.__set__tabIndex = function (w) {
this.inputField.tabIndex = w;
return this.__get__tabIndex();
};
v1.symbolName = 'NumericStepper';
v1.symbolOwner = mx.controls.NumericStepper;
v1.version = '2.0.2.126';
v2.className = 'NumericStepper';
v2.upArrowUp = 'StepUpArrowUp';
v2.upArrowDown = 'StepUpArrowDown';
v2.upArrowOver = 'StepUpArrowOver';
v2.upArrowDisabled = 'StepUpArrowDisabled';
v2.downArrowUp = 'StepDownArrowUp';
v2.downArrowDown = 'StepDownArrowDown';
v2.downArrowOver = 'StepDownArrowOver';
v2.downArrowDisabled = 'StepDownArrowDisabled';
v2.skinIDUpArrow = 10;
v2.skinIDDownArrow = 11;
v2.skinIDInput = 9;
v2.initializing = true;
v2.__visible = true;
v2.__minimum = 0;
v2.__maximum = 10;
v2.__stepSize = 1;
v2.__value = 0;
v2.__nextValue = 0;
v2.__previousValue = 0;
v2.clipParameters = {'minimum': 1, 'maximum': 1, 'stepSize': 1, 'value': 1, 'maxChars': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.NumericStepper.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars);
v2.addProperty('maximum', v2.__get__maximum, v2.__set__maximum);
v2.addProperty('minimum', v2.__get__minimum, v2.__set__minimum);
v2.addProperty('nextValue', v2.__get__nextValue, function () {});
v2.addProperty('previousValue', v2.__get__previousValue, function () {});
v2.addProperty('stepSize', v2.__get__stepSize, v2.__set__stepSize);
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.NumericStepper.prototype, null, 1);
}
#endinitclip
}
movieClip 385 __Packages.mx.skins.SkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.SkinElement) {
var v1 = function () {
super();
};
mx.skins.SkinElement = v1;
var v2 = new MovieClip();
mx.skins.SkinElement.prototype = v2;
v1.registerElement = function (name, className) {
Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className);
_global.skinRegistry[name] = true;
};
v2.__set__visible = function (visible) {
this._visible = visible;
};
v2.move = function (x, y) {
this._x = x;
this._y = y;
};
v2.setSize = function (w, h) {
this._width = w;
this._height = h;
};
ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 386 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSTextStyles) {
var v1 = function () {};
mx.styles.CSSTextStyles = v1;
var v2 = v1.prototype;
v1.addTextStyles = function (o, bColor) {
o.addProperty('textAlign', function () {
return this._tf.align;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty('fontWeight', function () {
return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == 'bold';
});
if (bColor) {
o.addProperty('color', function () {
return this._tf.color;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty('fontFamily', function () {
return this._tf.font;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty('textIndent', function () {
return this._tf.indent;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty('fontStyle', function () {
return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == 'italic';
});
o.addProperty('marginLeft', function () {
return this._tf.leftMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty('marginRight', function () {
return this._tf.rightMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty('fontSize', function () {
return this._tf.size;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty('textDecoration', function () {
return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == 'underline';
});
o.addProperty('embedFonts', function () {
return this._tf.embedFonts;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
};
ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1);
}
#endinitclip
}
movieClip 387 __Packages.mx.styles.StyleManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.StyleManager) {
var v1 = function () {};
mx.styles.StyleManager = v1;
var v2 = v1.prototype;
v1.registerInheritingStyle = function (styleName) {
mx.styles.StyleManager.inheritingStyles[styleName] = true;
};
v1.isInheritingStyle = function (styleName) {
return mx.styles.StyleManager.inheritingStyles[styleName] == true;
};
v1.registerColorStyle = function (styleName) {
mx.styles.StyleManager.colorStyles[styleName] = true;
};
v1.isColorStyle = function (styleName) {
return mx.styles.StyleManager.colorStyles[styleName] == true;
};
v1.registerColorName = function (colorName, colorValue) {
mx.styles.StyleManager.colorNames[colorName] = colorValue;
};
v1.isColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName] != undefined;
};
v1.getColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName];
};
v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true};
v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true};
v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344};
v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false};
v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true};
ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1);
}
#endinitclip
}
movieClip 388 __Packages.mx.styles.CSSStyleDeclaration {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSStyleDeclaration) {
var v1 = function () {};
mx.styles.CSSStyleDeclaration = v1;
var v2 = v1.prototype;
v2.__getTextFormat = function (tf, bAll) {
var v5 = false;
if (this._tf != undefined) {
var v2;
for (v2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) {
if (tf[v2] == undefined) {
var v3 = this._tf[v2];
if (v3 != undefined) {
tf[v2] = v3;
} else {
v5 = true;
}
}
}
}
return v5;
}
v5 = true;
return v5;
};
v2.getStyle = function (styleProp) {
var v2 = this[styleProp];
var v3 = mx.styles.StyleManager.getColorName(v2);
return (v3 == undefined) ? v2 : v3;
};
v1.classConstruct = function () {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return true;
};
v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1);
}
#endinitclip
}
movieClip 389 __Packages.mx.controls.SimpleButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.SimpleButton) {
var v1 = function () {
super();
};
mx.controls.SimpleButton = v1;
var v2 = new mx.core.UIComponent();
mx.controls.SimpleButton.prototype = v2;
v2.init = function (Void) {
super.init();
if (this.preset == undefined) {
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
}
this.useHandCursor = false;
};
v2.createChildren = function (Void) {
if (this.preset != undefined) {
var v2 = this[this.idNames[this.preset]];
this[this.refNames[this.preset]] = v2;
this.skinName = v2;
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
this.initializing = false;
} else {
if (this.__state == true) {
this.setStateVar(true);
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
}
}
};
v2.setIcon = function (tag, linkageName) {
return this.setSkin(tag + 8, linkageName);
};
v2.changeIcon = function (tag, linkageName) {
this.linkLength = linkageName.length;
var v2 = this.stateNames[tag] + 'Icon';
this[v2] = linkageName;
this[this.idNames[tag + 8]] = v2;
this.setStateVar(this.getState());
};
v2.changeSkin = function (tag, linkageName) {
var v2 = this.stateNames[tag] + 'Skin';
this[v2] = linkageName;
this[this.idNames[tag]] = v2;
this.setStateVar(this.getState());
};
v2.viewIcon = function (varName) {
var v4 = varName + 'Icon';
var v3 = this[v4];
if (typeof v3 == 'string') {
var v5 = v3;
if (this.__emphasized) {
if (this[v3 + 'Emphasized'].length > 0) {
v3 += 'Emphasized';
}
}
if (this[v3].length == 0) {
return undefined;
}
v3 = this.setIcon(this.tagMap[v5], this[v3]);
if (v3 == undefined && _global.isLivePreview) {
v3 = this.setIcon(0, 'ButtonIcon');
}
this[v4] = v3;
}
this.iconName._visible = false;
this.iconName = v3;
this.iconName._visible = true;
};
v2.removeIcons = function () {
var v3 = 0;
while (v3 < 2) {
var v2 = 8;
while (v2 < 16) {
this.destroyObject(this.idNames[v2]);
this[this.stateNames[v2 - 8] + 'Icon'] = '';
++v2;
}
++v3;
}
this.refresh();
};
v2.setSkin = function (tag, linkageName, initobj) {
if (initobj == undefined) {
var v3 = super.setSkin(tag, linkageName, {'styleName': this});
this.calcSize(tag, v3);
return v3;
}
var v3 = super.setSkin(tag, linkageName, initobj);
this.calcSize(tag, v3);
return v3;
};
v2.calcSize = function (Void) {
this.__width = this._width;
this.__height = this._height;
};
v2.viewSkin = function (varName, initObj) {
var v3 = varName + 'Skin';
var v2 = this[v3];
if (typeof v2 == 'string') {
var v4 = v2;
if (this.__emphasized) {
if (this[v2 + 'Emphasized'].length > 0) {
v2 += 'Emphasized';
}
}
if (this[v2].length == 0) {
return undefined;
}
v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this});
this[v3] = v2;
}
this.skinName._visible = false;
this.skinName = v2;
this.skinName._visible = true;
};
v2.showEmphasized = function (e) {
if (e && !this.__emphatic) {
if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) {
this.__emphaticStyleName = this.styleName;
this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration;
}
this.__emphatic = true;
} else {
if (this.__emphatic) {
this.styleName = this.__emphaticStyleName;
}
this.__emphatic = false;
}
};
v2.refresh = function (Void) {
var v2 = this.getState();
if (this.enabled == false) {
this.viewIcon('disabled');
this.viewSkin('disabled');
} else {
this.viewSkin(this.phase);
this.viewIcon(this.phase);
}
this.setView(this.phase == 'down');
this.iconName.enabled = this.enabled;
};
v2.setView = function (offset) {
if (this.iconName == undefined) {
return undefined;
}
var v2 = offset ? this.btnOffset : 0;
this.iconName._x = (this.__width - this.iconName._width) / 2 + v2;
this.iconName._y = (this.__height - this.iconName._height) / 2 + v2;
};
v2.setStateVar = function (state) {
if (state) {
if (this.trueOverSkin.length == 0) {
this.rolloverSkin = this.tus;
} else {
this.rolloverSkin = this.trs;
}
if (this.trueOverIcon.length == 0) {
this.rolloverIcon = this.tui;
} else {
this.rolloverIcon = this.tri;
}
this.upSkin = this.tus;
this.downSkin = this.tds;
this.disabledSkin = this.dts;
this.upIcon = this.tui;
this.downIcon = this.tdi;
this.disabledIcon = this.dti;
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
} else {
this.rolloverSkin = this.frs;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
} else {
this.rolloverIcon = this.fri;
}
this.upSkin = this.fus;
this.downSkin = this.fds;
this.disabledSkin = this.dfs;
this.upIcon = this.fui;
this.downIcon = this.fdi;
this.disabledIcon = this.dfi;
}
this.__state = state;
};
v2.setState = function (state) {
if (state != this.__state) {
this.setStateVar(state);
this.invalidate();
}
};
v2.size = function (Void) {
this.refresh();
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.skinName.visible = true;
this.iconName.visible = true;
}
this.size();
};
v2.getState = function (Void) {
return this.__state;
};
v2.setToggle = function (val) {
this.__toggle = val;
if (this.__toggle == false) {
this.setState(false);
}
};
v2.getToggle = function (Void) {
return this.__toggle;
};
v2.__set__toggle = function (val) {
this.setToggle(val);
return this.__get__toggle();
};
v2.__get__toggle = function () {
return this.getToggle();
};
v2.__set__value = function (val) {
this.setSelected(val);
return this.__get__value();
};
v2.__get__value = function () {
return this.getSelected();
};
v2.__set__selected = function (val) {
this.setSelected(val);
return this.__get__selected();
};
v2.__get__selected = function () {
return this.getSelected();
};
v2.setSelected = function (val) {
if (this.__toggle) {
this.setState(val);
} else {
this.setState(this.initializing ? val : this.__state);
}
};
v2.getSelected = function () {
return this.__state;
};
v2.setEnabled = function (val) {
if (this.enabled != val) {
super.setEnabled(val);
this.invalidate();
}
};
v2.onPress = function (Void) {
this.pressFocus();
this.phase = 'down';
this.refresh();
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay'));
}
};
v2.onPressDelay = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
clearInterval(this.interval);
this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval'));
}
};
v2.onPressRepeat = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
updateAfterEvent();
};
v2.onRelease = function (Void) {
this.releaseFocus();
this.phase = 'rollover';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
if (this.getToggle()) {
this.setState(!this.getState());
} else {
this.refresh();
}
this.dispatchEvent({'type': 'click'});
};
v2.onDragOut = function (Void) {
this.phase = 'up';
this.refresh();
this.dispatchEvent({'type': 'buttonDragOut'});
};
v2.onDragOver = function (Void) {
if (this.phase != 'up') {
this.onPress();
return undefined;
} else {
this.phase = 'down';
this.refresh();
}
};
v2.onReleaseOutside = function (Void) {
this.releaseFocus();
this.phase = 'up';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
};
v2.onRollOver = function (Void) {
this.phase = 'rollover';
this.refresh();
};
v2.onRollOut = function (Void) {
this.phase = 'up';
this.refresh();
};
v2.getLabel = function (Void) {
return this.fui.text;
};
v2.setLabel = function (val) {
if (typeof this.fui == 'string') {
this.createLabel('fui', 8, val);
this.fui.styleName = this;
} else {
this.fui.text = val;
}
var v4 = this.fui._getTextFormat();
var v2 = v4.getTextExtent2(val);
this.fui._width = v2.width + 5;
this.fui._height = v2.height + 5;
this.iconName = this.fui;
this.setView(this.__state);
};
v2.__get__emphasized = function () {
return this.__emphasized;
};
v2.__set__emphasized = function (val) {
this.__emphasized = val;
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]] = this.stateNames[v2] + 'Skin';
if (typeof this[this.idNames[v2 + 8]] == 'movieclip') {
this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon';
}
++v2;
}
this.showEmphasized(this.__emphasized);
this.setStateVar(this.__state);
this.invalidateStyle();
return this.__get__emphasized();
};
v2.keyDown = function (e) {
if (e.code == 32) {
this.onPress();
}
};
v2.keyUp = function (e) {
if (e.code == 32) {
this.onRelease();
}
};
v2.onKillFocus = function (newFocus) {
super.onKillFocus();
if (this.phase != 'up') {
this.phase = 'up';
this.refresh();
}
};
v1.symbolName = 'SimpleButton';
v1.symbolOwner = mx.controls.SimpleButton;
v1.version = '2.0.2.126';
v2.className = 'SimpleButton';
v2.style3dInset = 4;
v2.btnOffset = 1;
v2.__toggle = false;
v2.__state = false;
v2.__emphasized = false;
v2.__emphatic = false;
v1.falseUp = 0;
v1.falseDown = 1;
v1.falseOver = 2;
v1.falseDisabled = 3;
v1.trueUp = 4;
v1.trueDown = 5;
v1.trueOver = 6;
v1.trueDisabled = 7;
v2.falseUpSkin = 'SimpleButtonUp';
v2.falseDownSkin = 'SimpleButtonIn';
v2.falseOverSkin = '';
v2.falseDisabledSkin = 'SimpleButtonUp';
v2.trueUpSkin = 'SimpleButtonIn';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = 'SimpleButtonIn';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.phase = 'up';
v2.fui = 'falseUpIcon';
v2.fus = 'falseUpSkin';
v2.fdi = 'falseDownIcon';
v2.fds = 'falseDownSkin';
v2.frs = 'falseOverSkin';
v2.fri = 'falseOverIcon';
v2.dfi = 'falseDisabledIcon';
v2.dfs = 'falseDisabledSkin';
v2.tui = 'trueUpIcon';
v2.tus = 'trueUpSkin';
v2.tdi = 'trueDownIcon';
v2.tds = 'trueDownSkin';
v2.trs = 'trueOverSkin';
v2.tri = 'trueOverIcon';
v2.dts = 'trueDisabledSkin';
v2.dti = 'trueDisabledIcon';
v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs;
v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri;
v2.upSkin = mx.controls.SimpleButton.prototype.fus;
v2.downSkin = mx.controls.SimpleButton.prototype.fds;
v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs;
v2.upIcon = mx.controls.SimpleButton.prototype.fui;
v2.downIcon = mx.controls.SimpleButton.prototype.fdi;
v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi;
v2.initializing = true;
v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti'];
v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled'];
v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin'];
v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7};
v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized);
v2.addProperty('selected', v2.__get__selected, v2.__set__selected);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1);
}
#endinitclip
}
movieClip 390 __Packages.mx.skins.Border {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.Border) {
var v1 = function () {
super();
};
mx.skins.Border = v1;
var v2 = new mx.core.UIObject();
mx.skins.Border.prototype = v2;
v2.init = function (Void) {
super.init();
};
v1.symbolName = 'Border';
v1.symbolOwner = mx.skins.Border;
v2.className = 'Border';
v2.tagBorder = 0;
v2.idNames = new Array('border_mc');
ASSetPropFlags(mx.skins.Border.prototype, null, 1);
}
#endinitclip
}
movieClip 391 __Packages.mx.skins.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.RectBorder) {
var v1 = function () {
super();
};
mx.skins.RectBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.RectBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.draw = function (Void) {
this.size();
};
v2.getBorderMetrics = function (Void) {
var v2 = this.offset;
if (this.__borderMetrics == undefined) {
this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2};
return this.__borderMetrics;
}
this.__borderMetrics.left = v2;
this.__borderMetrics.top = v2;
this.__borderMetrics.right = v2;
this.__borderMetrics.bottom = v2;
return this.__borderMetrics;
};
v2.__get__borderMetrics = function () {
return this.getBorderMetrics();
};
v2.drawBorder = function (Void) {};
v2.size = function (Void) {
this.drawBorder();
};
v2.setColor = function (Void) {
this.drawBorder();
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.RectBorder;
v1.version = '2.0.2.126';
v2.className = 'RectBorder';
v2.borderStyleName = 'borderStyle';
v2.borderColorName = 'borderColor';
v2.shadowColorName = 'shadowColor';
v2.highlightColorName = 'highlightColor';
v2.buttonColorName = 'buttonColor';
v2.backgroundColorName = 'backgroundColor';
v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 392 __Packages.mx.controls.TextInput {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.TextInput) {
var v1 = function () {
super();
};
mx.controls.TextInput = v1;
var v2 = new mx.core.UIComponent();
mx.controls.TextInput.prototype = v2;
v2.addEventListener = function (event, handler) {
if (event == 'enter') {
this.addEnterEvents();
}
super.addEventListener(event, handler);
};
v2.enterOnKeyDown = function () {
if (Key.getAscii() == 13) {
this.owner.dispatchEvent({'type': 'enter'});
}
};
v2.addEnterEvents = function () {
if (this.enterListener == undefined) {
this.enterListener = new Object();
this.enterListener.owner = this;
this.enterListener.onKeyDown = this.enterOnKeyDown;
}
};
v2.init = function (Void) {
super.init();
this.label.styleName = this;
this.tabChildren = true;
this.tabEnabled = false;
this.focusTextField = this.label;
this._color = mx.core.UIObject.textColorList;
this.label.onSetFocus = function () {
this._parent.onSetFocus();
};
this.label.onKillFocus = function (n) {
this._parent.onKillFocus(n);
};
this.label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
this.label.onChanged = this.onLabelChanged;
};
v2.setFocus = function () {
Selection.setFocus(this.label);
};
v2.onLabelChanged = function (Void) {
this._parent.dispatchEvent({'type': 'change'});
this._parent.dispatchValueChangedEvent(this.__get__text());
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.border_mc == undefined) {
this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 0, {'styleName': this});
}
this.border_mc.swapDepths(this.label);
this.label.autoSize = 'none';
};
v2.__get__html = function () {
return this.getHtml();
};
v2.__set__html = function (value) {
this.setHtml(value);
return this.__get__html();
};
v2.getHtml = function () {
return this.label.html;
};
v2.setHtml = function (value) {
if (value != this.label.html) {
this.label.html = value;
}
};
v2.__get__text = function () {
return this.getText();
};
v2.__set__text = function (t) {
this.setText(t);
return this.__get__text();
};
v2.getText = function () {
if (this.initializing) {
return this.initText;
}
if (this.label.html == true) {
return this.label.htmlText;
}
return this.label.text;
};
v2.setText = function (t) {
if (this.initializing) {
this.initText = t;
} else {
var v2 = this.label;
if (v2.html == true) {
v2.htmlText = t;
} else {
v2.text = t;
}
}
this.dispatchValueChangedEvent(t);
};
v2.size = function (Void) {
this.border_mc.setSize(this.__get__width(), this.__get__height());
var v2 = this.border_mc.__get__borderMetrics();
var v6 = v2.left + v2.right;
var v3 = v2.top + v2.bottom;
var v5 = v2.left;
var v4 = v2.top;
this.tfx = v5;
this.tfy = v4;
this.tfw = this.__get__width() - v6;
this.tfh = this.__get__height() - v3;
this.label.move(this.tfx, this.tfy);
this.label.setSize(this.tfw, this.tfh + 1);
};
v2.setEnabled = function (enable) {
this.label.type = (this.__editable == true || enable == false) ? 'input' : 'dynamic';
this.label.selectable = enable;
var v2 = this.getStyle(enable ? 'color' : 'disabledColor');
if (v2 == undefined) {
v2 = enable ? 0 : 8947848;
}
this.setColor(v2);
};
v2.setColor = function (col) {
this.label.textColor = col;
};
v2.onKillFocus = function (newFocus) {
if (this.enterListener != undefined) {
Key.removeListener(this.enterListener);
}
if (this.bind != undefined) {
this.updateModel(this.__get__text());
}
super.onKillFocus(newFocus);
};
v2.onSetFocus = function (oldFocus) {
var f = Selection.getFocus();
var o = eval(f);
if (o != this.label) {
Selection.setFocus(this.label);
return undefined;
}
if (this.enterListener != undefined) {
Key.addListener(this.enterListener);
}
super.onSetFocus(oldFocus);
};
v2.draw = function (Void) {
var v2 = this.label;
var v4 = this.getText();
if (this.initializing) {
this.initializing = false;
delete this.initText;
}
var v3 = this._getTextFormat();
v2.embedFonts = v3.embedFonts == true;
if (v3 != undefined) {
v2.setTextFormat(v3);
v2.setNewTextFormat(v3);
}
v2.multiline = false;
v2.wordWrap = false;
if (v2.html == true) {
v2.setTextFormat(v3);
v2.htmlText = v4;
} else {
v2.text = v4;
}
v2.type = (this.__editable == true || this.enabled == false) ? 'input' : 'dynamic';
this.size();
};
v2.setEditable = function (s) {
this.__editable = s;
this.label.type = s ? 'input' : 'dynamic';
};
v2.__get__maxChars = function () {
return this.label.maxChars;
};
v2.__set__maxChars = function (w) {
this.label.maxChars = w;
return this.__get__maxChars();
};
v2.__get__length = function () {
return this.label.length;
};
v2.__get__restrict = function () {
return this.label.restrict;
};
v2.__set__restrict = function (w) {
this.label.restrict = (w == '') ? null : w;
return this.__get__restrict();
};
v2.__get__hPosition = function () {
return this.label.hscroll;
};
v2.__set__hPosition = function (w) {
this.label.hscroll = w;
return this.__get__hPosition();
};
v2.__get__maxHPosition = function () {
return this.label.maxhscroll;
};
v2.__get__editable = function () {
return this.__editable;
};
v2.__set__editable = function (w) {
this.setEditable(w);
return this.__get__editable();
};
v2.__get__password = function () {
return this.label.password;
};
v2.__set__password = function (w) {
this.label.password = w;
return this.__get__password();
};
v2.__get__tabIndex = function () {
return this.label.tabIndex;
};
v2.__set__tabIndex = function (w) {
this.label.tabIndex = w;
return this.__get__tabIndex();
};
v2.__set___accProps = function (val) {
this.label._accProps = val;
return this.__get___accProps();
};
v2.__get___accProps = function () {
return this.label._accProps;
};
v1.symbolName = 'TextInput';
v1.symbolOwner = mx.controls.TextInput;
v1.version = '2.0.2.126';
v2.className = 'TextInput';
v2.initializing = true;
v2.clipParameters = {'text': 1, 'editable': 1, 'password': 1, 'maxChars': 1, 'restrict': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2._maxWidth = mx.core.UIComponent.kStretch;
v2.__editable = true;
v2.initText = '';
v2.addProperty('_accProps', v2.__get___accProps, v2.__set___accProps);
v2.addProperty('editable', v2.__get__editable, v2.__set__editable);
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('html', v2.__get__html, v2.__set__html);
v2.addProperty('length', v2.__get__length, function () {});
v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, function () {});
v2.addProperty('password', v2.__get__password, v2.__set__password);
v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict);
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
v2.addProperty('text', v2.__get__text, v2.__set__text);
ASSetPropFlags(mx.controls.TextInput.prototype, null, 1);
}
#endinitclip
}
movieClip 394 __Packages.mx.managers.SystemManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.SystemManager) {
var v1 = function () {};
mx.managers.SystemManager = v1;
var v2 = v1.prototype;
v1.init = function (Void) {
if (mx.managers.SystemManager._initialized == false) {
mx.managers.SystemManager._initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener;
mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener;
mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener;
mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener;
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.removeFocusManager = function (f) {};
v1.onMouseDown = function (Void) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager._onMouseDown();
};
v1.onResize = function (Void) {
var v7 = Stage.width;
var v6 = Stage.height;
var v9 = _global.origWidth;
var v8 = _global.origHeight;
var v3 = Stage.align;
var v5 = (v9 - v7) / 2;
var v4 = (v8 - v6) / 2;
if (v3 == 'T') {
v4 = 0;
} else {
if (v3 == 'B') {
v4 = v8 - v6;
} else {
if (v3 == 'L') {
v5 = 0;
} else {
if (v3 == 'R') {
v5 = v9 - v7;
} else {
if (v3 == 'LT') {
v4 = 0;
v5 = 0;
} else {
if (v3 == 'TR') {
v4 = 0;
v5 = v9 - v7;
} else {
if (v3 == 'LB') {
v4 = v8 - v6;
v5 = 0;
} else {
if (v3 == 'RB') {
v4 = v8 - v6;
v5 = v9 - v7;
}
}
}
}
}
}
}
}
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.__screen = new Object();
}
mx.managers.SystemManager.__screen.x = v5;
mx.managers.SystemManager.__screen.y = v4;
mx.managers.SystemManager.__screen.width = v7;
mx.managers.SystemManager.__screen.height = v6;
_root.focusManager.relocate();
mx.managers.SystemManager.dispatchEvent({'type': 'resize'});
};
v1.__get__screen = function () {
mx.managers.SystemManager.init();
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.onResize();
}
return mx.managers.SystemManager.__screen;
};
v1._initialized = false;
v1.idleFrames = 0;
v1.isMouseDown = false;
v1.forms = new Array();
v1.addProperty('screen', v1.__get__screen, function () {});
ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1);
}
#endinitclip
}
movieClip 395 __Packages.mx.events.UIEventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.UIEventDispatcher) {
var v1 = function () {
super();
};
mx.events.UIEventDispatcher = v1;
var v2 = new mx.events.EventDispatcher();
mx.events.UIEventDispatcher.prototype = v2;
v1.addKeyEvents = function (obj) {
if (obj.keyHandler == undefined) {
obj.keyHandler = new Object();
var v1 = obj.keyHandler;
v1.owner = obj;
v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
};
v1.removeKeyEvents = function (obj) {
Key.removeListener(obj.keyHandler);
};
v1.addLoadEvents = function (obj) {
if (obj.onLoad == undefined) {
obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, 'onLoad');
}
}
};
v1.removeLoadEvents = function (obj) {
delete obj.onLoad;
delete obj.onUnload;
};
v1.initialize = function (obj) {
if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) {
mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(mx.events.EventDispatcher, eventObj);
this.dispatchQueue(this, eventObj);
};
v2.onKeyDown = function (Void) {
this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onKeyUp = function (Void) {
this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onLoad = function (Void) {
if (this.__sentLoadEvent != true) {
this.dispatchEvent({'type': 'load'});
}
this.__sentLoadEvent = true;
};
v2.onUnload = function (Void) {
this.dispatchEvent({'type': 'unload'});
};
v2.__addEventListener = function (event, handler) {
this.__origAddEventListener(event, handler);
var v3 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v3) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v2 = v3[v5][0];
mx.events.UIEventDispatcher[v2](this);
}
}
};
v2.removeEventListener = function (event, handler) {
var v6 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v6], event, handler);
if (this[v6].length == 0) {
var v2 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v2) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v3 = v2[v5][1];
mx.events.UIEventDispatcher[v2[v5][1]](this);
}
}
}
};
v1.keyEvents = {'keyDown': 1, 'keyUp': 1};
v1.loadEvents = {'load': 1, 'unload': 1};
v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']};
v1._fEventDispatcher = undefined;
ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 396 __Packages.mx.skins.ColoredSkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.ColoredSkinElement) {
var v1 = function () {};
mx.skins.ColoredSkinElement = v1;
var v2 = v1.prototype;
v2.setColor = function (c) {
if (c != undefined) {
var v2 = new Color(this);
v2.setRGB(c);
}
};
v2.draw = function (Void) {
this.setColor(this.getStyle(this._color));
this.onEnterFrame = undefined;
};
v2.invalidateStyle = function (Void) {
this.onEnterFrame = this.draw;
};
v1.setColorStyle = function (p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mx.skins.ColoredSkinElement.mixins.setColor;
p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle;
p.draw = mx.skins.ColoredSkinElement.mixins.draw;
p.setColor(p.getStyle(colorStyle));
};
v1.mixins = new mx.skins.ColoredSkinElement();
ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 397 __Packages.mx.core.ext.UIObjectExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIObjectExtensions) {
var v1 = function () {};
mx.core.ext.UIObjectExtensions = v1;
var v2 = v1.prototype;
v1.addGeometry = function (tf, ui) {
tf.addProperty('width', ui.__get__width, null);
tf.addProperty('height', ui.__get__height, null);
tf.addProperty('left', ui.__get__left, null);
tf.addProperty('x', ui.__get__x, null);
tf.addProperty('top', ui.__get__top, null);
tf.addProperty('y', ui.__get__y, null);
tf.addProperty('right', ui.__get__right, null);
tf.addProperty('bottom', ui.__get__bottom, null);
tf.addProperty('visible', ui.__get__visible, ui.__set__visible);
};
v1.Extensions = function () {
if (mx.core.ext.UIObjectExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIObjectExtensions.bExtended = true;
var v6 = mx.core.UIObject.prototype;
var v9 = mx.skins.SkinElement.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v9, v6);
mx.events.UIEventDispatcher.initialize(v6);
var v13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(v6);
var v5 = MovieClip.prototype;
v5.getTopLevel = v6.getTopLevel;
v5.createLabel = v6.createLabel;
v5.createObject = v6.createObject;
v5.createClassObject = v6.createClassObject;
v5.createEmptyObject = v6.createEmptyObject;
v5.destroyObject = v6.destroyObject;
_global.ASSetPropFlags(v5, 'getTopLevel', 1);
_global.ASSetPropFlags(v5, 'createLabel', 1);
_global.ASSetPropFlags(v5, 'createObject', 1);
_global.ASSetPropFlags(v5, 'createClassObject', 1);
_global.ASSetPropFlags(v5, 'createEmptyObject', 1);
_global.ASSetPropFlags(v5, 'destroyObject', 1);
v5.__getTextFormat = v6.__getTextFormat;
v5._getTextFormat = v6._getTextFormat;
v5.getStyleName = v6.getStyleName;
v5.getStyle = v6.getStyle;
_global.ASSetPropFlags(v5, '__getTextFormat', 1);
_global.ASSetPropFlags(v5, '_getTextFormat', 1);
_global.ASSetPropFlags(v5, 'getStyleName', 1);
_global.ASSetPropFlags(v5, 'getStyle', 1);
var v7 = TextField.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v7, v6);
v7.addProperty('enabled', function () {
return this.__enabled;
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
v7.move = v9.move;
v7.setSize = v9.setSize;
v7.invalidateStyle = function () {
this.invalidateFlag = true;
};
v7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var v2 = this._getTextFormat();
this.setTextFormat(v2);
this.setNewTextFormat(v2);
this.embedFonts = v2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == '') {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
v7.setColor = function (color) {
this.textColor = color;
};
v7.getStyle = v5.getStyle;
v7.__getTextFormat = v6.__getTextFormat;
v7.setValue = function (v) {
this.text = v;
};
v7.getValue = function () {
return this.text;
};
v7.addProperty('value', function () {
return this.getValue();
}, function (v) {
this.setValue(v);
});
v7._getTextFormat = function () {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2);
this.stylecache.tf = v2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var v4 = this.getTextFormat();
this.enabledColor = v4.color;
}
var v3 = this.getStyle('disabledColor');
v2.color = v3;
return v2;
}
if (this.enabledColor != undefined) {
if (v2.color == undefined) {
v2.color = this.enabledColor;
}
}
return v2;
};
v7.getPreferredWidth = function () {
this.draw();
return this.textWidth + 4;
};
v7.getPreferredHeight = function () {
this.draw();
return this.textHeight + 4;
};
TextFormat.prototype.getTextExtent2 = function (s) {
var v3 = _root._getTextExtent;
if (v3 == undefined) {
_root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100);
v3 = _root._getTextExtent;
v3._visible = false;
}
_root._getTextExtent.text = s;
var v4 = this.align;
this.align = 'left';
_root._getTextExtent.setTextFormat(this);
this.align = v4;
return {'width': v3.textWidth, 'height': v3.textHeight};
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var v4 = _root;
while (v4._parent != undefined) {
v4 = v4._parent;
}
v4.addProperty('width', function () {
return Stage.width;
}, null);
v4.addProperty('height', function () {
return Stage.height;
}, null);
_global.ASSetPropFlags(v4, 'width', 1);
_global.ASSetPropFlags(v4, 'height', 1);
return true;
};
v1.bExtended = false;
v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions();
v1.UIObjectDependency = mx.core.UIObject;
v1.SkinElementDependency = mx.skins.SkinElement;
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher;
ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 398 __Packages.mx.skins.halo.Defaults {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.Defaults) {
var v1 = function () {};
mx.skins.halo.Defaults = v1;
var v2 = v1.prototype;
v1.setThemeDefaults = function () {
var v2 = _global.style;
v2.themeColor = 8453965;
v2.disabledColor = 8684164;
v2.modalTransparency = 0;
v2.filled = true;
v2.stroked = true;
v2.strokeWidth = 1;
v2.strokeColor = 0;
v2.fillColor = 16777215;
v2.repeatInterval = 35;
v2.repeatDelay = 500;
v2.fontFamily = '_sans';
v2.fontSize = 12;
v2.selectionColor = 13500353;
v2.rollOverColor = 14942166;
v2.useRollOver = true;
v2.backgroundDisabledColor = 14540253;
v2.selectionDisabledColor = 14540253;
v2.selectionDuration = 200;
v2.openDuration = 250;
v2.borderStyle = 'inset';
v2.color = 734012;
v2.textSelectedColor = 24371;
v2.textRollOverColor = 2831164;
v2.textDisabledColor = 16777215;
v2.vGridLines = true;
v2.hGridLines = false;
v2.vGridLineColor = 6710886;
v2.hGridLineColor = 6710886;
v2.headerColor = 15395562;
v2.indentation = 17;
v2.folderOpenIcon = 'TreeFolderOpen';
v2.folderClosedIcon = 'TreeFolderClosed';
v2.defaultLeafIcon = 'TreeNodeIcon';
v2.disclosureOpenIcon = 'TreeDisclosureOpen';
v2.disclosureClosedIcon = 'TreeDisclosureClosed';
v2.popupDuration = 150;
v2.todayColor = 6710886;
_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ScrollSelectList;
v2.backgroundColor = 16777215;
v2.borderColor = 13290186;
v2.borderStyle = 'inset';
_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ComboBox;
v2.borderStyle = 'inset';
_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.NumericStepper;
v2.textAlign = 'center';
_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.RectBorder;
v2.borderColor = 14015965;
v2.buttonColor = 7305079;
v2.shadowColor = 15658734;
v2.highlightColor = 12897484;
v2.shadowCapColor = 14015965;
v2.borderCapColor = 9542041;
var v4 = new Object();
v4.borderColor = 16711680;
v4.buttonColor = 16711680;
v4.shadowColor = 16711680;
v4.highlightColor = 16711680;
v4.shadowCapColor = 16711680;
v4.borderCapColor = 16711680;
mx.core.UIComponent.prototype.origBorderStyles = v4;
var v3;
_global.styles.TextInput = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TextInput;
v3.backgroundColor = 16777215;
v3.borderStyle = 'inset';
_global.styles.TextArea = _global.styles.TextInput;
_global.styles.Window = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Window;
v3.borderStyle = 'default';
_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.windowStyles;
v3.fontWeight = 'bold';
_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.dataGridStyles;
v3.fontWeight = 'bold';
_global.styles.Alert = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Alert;
v3.borderStyle = 'alert';
_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ScrollView;
v3.borderStyle = 'inset';
_global.styles.View = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.View;
v3.borderStyle = 'none';
_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ProgressBar;
v3.color = 11187123;
v3.fontWeight = 'bold';
_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.AccordionHeader;
v3.fontWeight = 'bold';
v3.fontSize = '11';
_global.styles.Accordion = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Accordion;
v3.borderStyle = 'solid';
v3.backgroundColor = 16777215;
v3.borderColor = 9081738;
v3.headerHeight = 22;
v3.marginBottom = -1;
v3.marginTop = -1;
v3.marginRight = -1;
v3.marginLeft = -1;
v3.verticalGap = -1;
_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.DateChooser;
v3.borderColor = 9542041;
v3.headerColor = 16777215;
_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.CalendarLayout;
v3.fontSize = 10;
v3.textAlign = 'right';
v3.color = 2831164;
_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.WeekDayStyle;
v3.fontWeight = 'bold';
v3.fontSize = 11;
v3.textAlign = 'center';
v3.color = 2831164;
_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TodayStyle;
v3.color = 16777215;
_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.HeaderDateText;
v3.fontSize = 12;
v3.fontWeight = 'bold';
v3.textAlign = 'center';
};
v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof r == 'object') {
var v18 = r.br;
var v16 = r.bl;
var v15 = r.tl;
var v10 = r.tr;
} else {
var v10 = r;
var v15 = v10;
var v16 = v15;
var v18 = v16;
}
if (typeof c == 'object') {
if (typeof alpha != 'object') {
var v9 = [alpha, alpha];
} else {
var v9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var v14 = h * 0.7;
if (typeof rot != 'object') {
var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433};
} else {
var v11 = rot;
}
if (gradient == 'radial') {
this.beginGradientFill('radial', c, v9, ratios, v11);
} else {
this.beginGradientFill('linear', c, v9, ratios, v11);
}
} else {
if (c != undefined) {
this.beginFill(c, alpha);
}
}
r = v18;
var v13 = r - r * Math.SQRT1_2;
var v12 = r - r * 0.414213562373095;
this.moveTo(x + w, y + h - r);
this.lineTo(x + w, y + h - r);
this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13);
this.curveTo(x + w - v12, y + h, x + w - r, y + h);
r = v16;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + r, y + h);
this.curveTo(x + v12, y + h, x + v13, y + h - v13);
this.curveTo(x, y + h - v12, x, y + h - r);
r = v15;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x, y + r);
this.curveTo(x, y + v12, x + v13, y + v13);
this.curveTo(x + v12, y, x + r, y);
r = v10;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + w - r, y);
this.curveTo(x + w - v12, y, x + w - v13, y + v13);
this.curveTo(x + w, y + v12, x + w, y + r);
this.lineTo(x + w, y + h - r);
if (c != undefined) {
this.endFill();
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
mx.skins.halo.Defaults.setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.Defaults.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v1.UIObjectDependency = mx.core.UIObject;
ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1);
}
#endinitclip
}
movieClip 399 __Packages.mx.managers.DepthManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.DepthManager) {
var v1 = function () {
MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = this.createChildAtDepth;
MovieClip.prototype.setDepthTo = this.setDepthTo;
MovieClip.prototype.setDepthAbove = this.setDepthAbove;
MovieClip.prototype.setDepthBelow = this.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = this.shuffleDepths;
MovieClip.prototype.getDepthByFlag = this.getDepthByFlag;
MovieClip.prototype.buildDepthTable = this.buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1);
};
mx.managers.DepthManager = v1;
var v2 = v1.prototype;
v1.sortFunction = function (a, b) {
if (a.getDepth() > b.getDepth()) {
return 1;
}
return -1;
};
v1.test = function (depth) {
if (depth == mx.managers.DepthManager.reservedDepth) {
return false;
} else {
return true;
}
};
v1.createClassObjectAtDepth = function (className, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v2.createClassChildAtDepth = function (className, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.createChildAtDepth = function (linkageName, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.setDepthTo = function (depthFlag) {
var v2 = this._parent.buildDepthTable();
var v3 = this._parent.getDepthByFlag(depthFlag, v2);
if (v2[v3] != undefined) {
this.shuffleDepths(this, v3, v2, undefined);
} else {
this.swapDepths(v3);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
this._topmost = true;
} else {
delete this._topmost;
}
};
v2.setDepthAbove = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v2 = targetInstance.getDepth() + 1;
var v3 = this._parent.buildDepthTable();
if (v3[v2] != undefined && this.getDepth() < v2) {
v2 -= 1;
}
if (v2 > mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
if (v2 == mx.managers.DepthManager.highestDepth) {
this._parent.shuffleDepths(this, v2, v3, 'down');
} else {
if (v3[v2] != undefined) {
this._parent.shuffleDepths(this, v2, v3, undefined);
} else {
this.swapDepths(v2);
}
}
};
v2.setDepthBelow = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v6 = targetInstance.getDepth() - 1;
var v3 = this._parent.buildDepthTable();
if (v3[v6] != undefined && this.getDepth() > v6) {
v6 += 1;
}
var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v5;
for (v5 in v3) {
var v2 = v3[v5];
if (v2._parent != undefined) {
v4 = Math.min(v4, v2.getDepth());
}
}
if (v6 < v4) {
v6 = v4;
}
if (v6 == v4) {
this._parent.shuffleDepths(this, v6, v3, 'up');
} else {
if (v3[v6] != undefined) {
this._parent.shuffleDepths(this, v6, v3, undefined);
} else {
this.swapDepths(v6);
}
}
};
v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) {
var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
if (targetDepth < v5) {
targetDepth = v5;
}
if (depthTable[targetDepth] == undefined) {
return targetDepth;
}
var v2 = targetDepth;
var v1 = targetDepth;
if (direction == 'down') {
while (depthTable[v1] != undefined) {
--v1;
}
return v1;
}
while (depthTable[v2] != undefined) {
++v2;
}
return v2;
};
v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) {
var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v8 = v9;
var v5;
for (v5 in depthTable) {
var v7 = depthTable[v5];
if (v7._parent != undefined) {
v9 = Math.min(v9, v7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = 'up';
} else {
direction = 'down';
}
}
var v1 = new Array();
for (v5 in depthTable) {
v7 = depthTable[v5];
if (v7._parent != undefined) {
v1.push(v7);
}
}
v1.sort(mx.managers.DepthManager.sortFunction);
if (direction == 'up') {
var v3;
var v11;
while (v1.length > 0) {
v3 = v1.pop();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
v11 = subject.getDepth();
v3 = v1.pop();
var v4 = v3.getDepth();
if (v11 > v4 + 1) {
if (v4 >= 0) {
subject.swapDepths(v4 + 1);
} else {
if (v11 > v8 && v4 < v8) {
subject.swapDepths(v8);
}
}
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
} else {
if (direction == 'down') {
var v3;
while (v1.length > 0) {
v3 = v1.shift();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
var v11 = v3.getDepth();
v3 = v1.shift();
var v4 = v3.getDepth();
if (v11 < v4 - 1 && v4 > 0) {
subject.swapDepths(v4 - 1);
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
}
}
};
v2.getDepthByFlag = function (depthFlag, depthTable) {
var v2 = 0;
if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) {
var v5 = 0;
var v7 = false;
var v8;
for (v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
if (!v9._topmost) {
v2 = Math.max(v2, v9.getDepth());
} else {
if (!v7) {
v5 = v9.getDepth();
v7 = true;
} else {
v5 = Math.min(v5, v9.getDepth());
}
}
}
}
}
v2 += 20;
if (v7) {
if (v2 >= v5) {
v2 = v5 - 1;
}
}
} else {
if (depthFlag == mx.managers.DepthManager.kBottom) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.min(v2, v9.getDepth());
}
}
}
v2 -= 20;
} else {
if (depthFlag == mx.managers.DepthManager.kTopmost) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.max(v2, v9.getDepth());
}
}
}
v2 += 100;
}
}
}
if (v2 >= mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
for (v9 in depthTable) {
var v4 = depthTable[v9];
if (v4._parent != undefined) {
v6 = Math.min(v6, v4.getDepth());
}
}
if (v2 <= v6) {
v2 = v6;
}
return v2;
};
v2.buildDepthTable = function (Void) {
var v5 = new Array();
var v4;
for (v4 in this) {
var v2 = this[v4];
var v3 = typeof v2;
if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) {
if (v2._parent == this) {
v5[v2.getDepth()] = v2;
}
}
}
return v5;
};
v1.reservedDepth = 1048575;
v1.highestDepth = 1048574;
v1.lowestDepth = -16383;
v1.numberOfAuthortimeLayers = 383;
v1.kCursor = 101;
v1.kTooltip = 102;
v1.kTop = 201;
v1.kBottom = 202;
v1.kTopmost = 203;
v1.kNotopmost = 204;
v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth);
v1.__depthManager = new mx.managers.DepthManager();
ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1);
}
#endinitclip
}
movieClip 400 __Packages.mx.managers.FocusManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.FocusManager) {
var v1 = function () {
super();
};
mx.managers.FocusManager = v1;
var v2 = new mx.core.UIComponent();
mx.managers.FocusManager.prototype = v2;
v2.__get__defaultPushButton = function () {
return this.__defaultPushButton;
};
v2.__set__defaultPushButton = function (x) {
if (x != this.__defaultPushButton) {
this.__defaultPushButton.__set__emphasized(false);
this.__defaultPushButton = x;
this.defPushButton = x;
x.__set__emphasized(true);
}
return this.__get__defaultPushButton();
};
v2.getMaxTabIndex = function (o) {
var v3 = 0;
var v6;
for (v6 in o) {
var v2 = o[v6];
if (v2._parent == o) {
if (v2.tabIndex != undefined) {
if (v2.tabIndex > v3) {
v3 = v2.tabIndex;
}
}
if (v2.tabChildren == true) {
var v4 = this.getMaxTabIndex(v2);
if (v4 > v3) {
v3 = v4;
}
}
}
}
return v3;
};
v2.getNextTabIndex = function (Void) {
return this.getMaxTabIndex(this.form) + 1;
};
v2.__get__nextTabIndex = function () {
return this.getNextTabIndex();
};
v2.relocate = function (Void) {
var v2 = mx.managers.SystemManager.__get__screen();
this.move(v2.x - 1, v2.y - 1);
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
this._height = 1;
this._width = 1;
this._y = -1;
this._x = -1;
this._alpha = 0;
this._parent.focusManager = this;
this._parent.tabChildren = true;
this._parent.tabEnabled = false;
this.form = this._parent;
this._parent.addEventListener('hide', this);
this._parent.addEventListener('reveal', this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(this.form);
this.tabCapture.tabIndex = 0;
this.watch('enabled', this.enabledChanged);
Selection.addListener(this);
this.lastMouse = new Object();
_global.ASSetPropFlags(this._parent, 'focusManager', 1);
_global.ASSetPropFlags(this._parent, 'tabChildren', 1);
_global.ASSetPropFlags(this._parent, 'tabEnabled', 1);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this._visible = newValue;
return newValue;
};
v2.activate = function (Void) {
Key.addListener(this);
this._visible = true;
this.activated = this._visible;
if (this.lastFocus != undefined) {
this.bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
this.doLater(this, 'restoreFocus');
}
}
};
v2.deactivate = function (Void) {
Key.removeListener(this);
this._visible = false;
this.activated = this._visible;
var v2 = this.getSelectionFocus();
var v3 = this.getActualFocus(v2);
if (this.isOurFocus(v3)) {
this.lastSelFocus = v2;
this.lastFocus = v3;
}
this.cancelAllDoLaters();
};
v2.isOurFocus = function (o) {
if (o.focusManager == this) {
return true;
}
while (o != undefined) {
if (o.focusManager != undefined) {
return false;
}
if (o._parent == this._parent) {
return true;
}
o = o._parent;
}
return false;
};
v2.onSetFocus = function (o, n) {
if (n == null) {
if (this.activated) {
this.bNeedFocus = true;
}
} else {
var v2 = this.getFocus();
if (this.isOurFocus(v2)) {
this.bNeedFocus = false;
this.lastFocus = v2;
this.lastSelFocus = n;
}
}
};
v2.restoreFocus = function (Void) {
var v2 = this.lastSelFocus.hscroll;
if (v2 != undefined) {
var v5 = this.lastSelFocus.scroll;
var v4 = this.lastSelFocus.background;
}
this.lastFocus.setFocus();
var v3 = Selection;
Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex);
if (v2 != undefined) {
this.lastSelFocus.scroll = v5;
this.lastSelFocus.hscroll = v2;
this.lastSelFocus.background = v4;
}
};
v2.onUnload = function (Void) {
mx.managers.SystemManager.removeFocusManager(this.form);
};
v2.setFocus = function (o) {
if (o == null) {
Selection.setFocus(null);
} else {
if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
};
v2.getActualFocus = function (o) {
var v1 = o._parent;
while (v1 != undefined) {
if (v1.focusTextField != undefined) {
while (v1.focusTextField != undefined) {
o = v1;
v1 = v1._parent;
if (v1 == undefined) {
return undefined;
}
if (v1.focusTextField == undefined) {
return o;
}
}
}
if (v1.tabEnabled != true) {
return o;
}
o = v1;
v1 = o._parent;
}
return undefined;
};
v2.getSelectionFocus = function () {
var m = Selection.getFocus();
var o = eval(m);
return o;
};
v2.getFocus = function (Void) {
var v2 = this.getSelectionFocus();
return this.getActualFocus(v2);
};
v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) {
var v5 = true;
var v11;
for (v11 in p) {
var v2 = p[v11];
if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (v2 != this._lastTarget) {
if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) {
continue;
}
if (v2 instanceof TextField && v2.selectable == false) {
continue;
}
if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) {
if (firstChild) {
this._firstNode = v2;
firstChild = false;
}
}
if (this._nextIsNext == true) {
if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) {
this._nextNode = v2;
}
}
if (v2.groupName == undefined || groupName != v2.groupName) {
if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) {
} else {
this._lastx = v2;
}
}
} else {
this._prevNode = this._lastx;
this._needPrev = false;
this._nextIsNext = true;
}
if (v2.tabIndex != undefined) {
if (v2.tabIndex == index) {
if (this._foundList[v2._name] == undefined) {
if (this._needPrev) {
this._prevObj = v2;
this._needPrev = false;
}
this._nextObj = v2;
}
}
if (dir && v2.tabIndex > index) {
if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) {
this._nextObj = v2;
}
} else {
if (!dir && v2.tabIndex < index) {
if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) {
this._prevObj = v2;
}
}
}
if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) {
this._firstObj = v2;
}
if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) {
this._lastObj = v2;
}
}
if (v2.tabChildren) {
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
v5 = false;
} else {
if (v2._parent == p && v2.tabChildren == true && v2._visible != false) {
if (v2 == this._lastTarget) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (this._prevNode == undefined) {
var v3 = this._lastx;
var v7 = false;
while (v3 != undefined) {
if (v3 == v2) {
v7 = true;
break;
}
v3 = v3._parent;
}
if (v7 == false) {
this._prevNode = this._lastx;
}
}
this._needPrev = false;
if (this._nextNode == undefined) {
this._nextIsNext = true;
}
} else {
if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
}
v5 = false;
}
}
}
this._lastNode = this._lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != this._parent) {
if (this._prevNode == undefined && dir) {
this._needPrev = true;
} else {
if (this._nextNode == undefined && !dir) {
this._nextIsNext = false;
}
}
this._lastTarget = this._lastTarget._parent;
this.getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
};
v2.getTabCandidate = function (o, index, groupName, dir, firstChild) {
var v2;
var v3 = true;
if (o == this._parent) {
v2 = o;
v3 = false;
} else {
v2 = o._parent;
if (v2 == undefined) {
v2 = o;
v3 = false;
}
}
this.walkTree(v2, index, groupName, dir, v3, firstChild);
};
v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) {
this.walkTree(o, index, groupName, dir, false, firstChild);
};
v2.getFocusManagerFromObject = function (o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return o.focusManager;
}
o = o._parent;
}
return undefined;
};
v2.tabHandler = function (Void) {
this.bDrawFocus = true;
var v5 = this.getSelectionFocus();
var v4 = this.getActualFocus(v5);
if (v4 != v5) {
v5 = v4;
}
if (this.getFocusManagerFromObject(v5) != this) {
v5 == undefined;
}
if (v5 == undefined) {
v5 = this.form;
} else {
if (v5.tabIndex != undefined) {
if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v5.tabIndex;
}
this._foundList[v5._name] = v5;
}
}
var v3 = Key.isDown(16) != true;
this._searchKey = getTimer();
this._needPrev = true;
this._nextIsNext = false;
this._lastx = undefined;
this._firstNode = undefined;
this._lastNode = undefined;
this._nextNode = undefined;
this._prevNode = undefined;
this._firstObj = undefined;
this._lastObj = undefined;
this._nextObj = undefined;
this._prevObj = undefined;
this._lastTarget = v5;
var v6 = v5;
this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true);
var v2;
if (v3) {
if (this._nextObj != undefined) {
v2 = this._nextObj;
} else {
v2 = this._firstObj;
}
} else {
if (this._prevObj != undefined) {
v2 = this._prevObj;
} else {
v2 = this._lastObj;
}
}
if (v2.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
this._foundList[v2._name] = v2;
} else {
if (this._foundList == undefined) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
}
this._foundList[v2._name] = v2;
}
if (v2 == undefined) {
if (v3 == false) {
if (this._nextNode != undefined) {
v2 = this._nextNode;
} else {
v2 = this._firstNode;
}
} else {
if (this._prevNode == undefined || v5 == this.form) {
v2 = this._lastNode;
} else {
v2 = this._prevNode;
}
}
}
if (v2 == undefined) {
return undefined;
}
this.lastTabFocus = v2;
this.setFocus(v2);
if (v2.emphasized != undefined) {
if (this.defPushButton != undefined) {
v5 = this.defPushButton;
this.defPushButton = v2;
v5.emphasized = false;
v2.emphasized = true;
}
} else {
if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) {
v5 = this.defPushButton;
this.defPushButton = this.__defaultPushButton;
v5.emphasized = false;
this.__defaultPushButton.__set__emphasized(true);
}
}
};
v2.onKeyDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
if (this.defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (this.__get__defaultPushButton() != undefined) {
this.doLater(this, 'sendDefaultPushButtonEvent');
}
}
}
};
v2.sendDefaultPushButtonEvent = function (Void) {
this.defPushButton.dispatchEvent({'type': 'click'});
};
v2.getMousedComponentFromChildren = function (x, y, o) {
for (var v7 in o) {
var v2 = o[v7];
if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) {
v2._searchKey = this._searchKey;
if (v2.hitTest(x, y, true)) {
if (v2.onPress != undefined || v2.onRelease != undefined) {
return v2;
}
var v3 = this.getMousedComponentFromChildren(x, y, v2);
if (v3 != undefined) {
return v3;
}
return v2;
}
}
}
return undefined;
};
v2.mouseActivate = function (Void) {
if (!this.bNeedFocus) {
return undefined;
}
this._searchKey = getTimer();
var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form);
if (v2 instanceof mx.core.UIComponent) {
return undefined;
}
v2 = this.findFocusFromObject(v2);
if (v2 == this.lastFocus) {
return undefined;
}
if (v2 == undefined) {
this.doLater(this, 'restoreFocus');
return undefined;
}
var v3 = v2.hscroll;
if (v3 != undefined) {
var v6 = v2.scroll;
var v5 = v2.background;
}
this.setFocus(v2);
var v4 = Selection;
Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex);
if (v3 != undefined) {
v2.scroll = v6;
v2.hscroll = v3;
v2.background = v5;
}
};
v2._onMouseDown = function (Void) {
this.bDrawFocus = false;
if (this.lastFocus != undefined) {
this.lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var v3 = Selection;
v3.lastBeginIndex = Selection.getBeginIndex();
v3.lastEndIndex = Selection.getEndIndex();
this.lastMouse.x = _root._xmouse;
this.lastMouse.y = _root._ymouse;
_root.localToGlobal(this.lastMouse);
};
v2.onMouseUp = function (Void) {
if (this._visible) {
this.doLater(this, 'mouseActivate');
}
};
v2.handleEvent = function (e) {
if (e.type == 'reveal') {
mx.managers.SystemManager.activate(this.form);
} else {
mx.managers.SystemManager.deactivate(this.form);
}
};
v1.enableFocusManagement = function () {
if (!mx.managers.FocusManager.initialized) {
mx.managers.FocusManager.initialized = true;
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
}
};
v1.symbolName = 'FocusManager';
v1.symbolOwner = mx.managers.FocusManager;
v1.version = '2.0.2.126';
v2.className = 'FocusManager';
v2.bNeedFocus = false;
v2.bDrawFocus = false;
v2.defaultPushButtonEnabled = true;
v2.activated = true;
v1.initialized = false;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton);
v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {});
ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1);
}
#endinitclip
}
movieClip 401 __Packages.mx.skins.halo.FocusRect {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.FocusRect) {
var v1 = function () {
super();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
mx.skins.halo.FocusRect = v1;
var v2 = new mx.skins.SkinElement();
mx.skins.halo.FocusRect.prototype = v2;
v2.draw = function (o) {
o.adjustFocusRect();
};
v2.setSize = function (w, h, r, a, rectCol) {
this._yscale = 100;
this._xscale = 100;
this.clear();
if (typeof r == 'object') {
r.br = r.br > 2 ? r.br - 2 : 0;
r.bl = r.bl > 2 ? r.bl - 2 : 0;
r.tr = r.tr > 2 ? r.tr - 2 : 0;
r.tl = r.tl > 2 ? r.tl - 2 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
r.br = r.br > 1 ? r.br + 1 : 0;
r.bl = r.bl > 1 ? r.bl + 1 : 0;
r.tr = r.tr > 1 ? r.tr + 1 : 0;
r.tl = r.tl > 1 ? r.tl + 1 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = r.br > 1 ? r.br - 1 : 0;
r.bl = r.bl > 1 ? r.bl - 1 : 0;
r.tr = r.tr > 1 ? r.tr - 1 : 0;
r.tl = r.tl > 1 ? r.tl - 1 : 0;
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
} else {
var v5;
if (r != 0) {
v5 = r - 2;
} else {
v5 = 0;
}
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
this.beginFill(rectCol, a * 0.3);
if (r != 0) {
v5 = r - 2;
r -= 1;
} else {
v5 = 0;
r = 0;
}
this.drawRoundRect(1, 1, w - 2, h - 2, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
}
};
v2.handleEvent = function (e) {
if (e.type == 'unload') {
this._visible = true;
} else {
if (e.type == 'resize') {
e.target.adjustFocusRect();
} else {
if (e.type == 'move') {
e.target.adjustFocusRect();
}
}
}
};
v1.classConstruct = function () {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var v2 = this._parent.focus_mc;
if (!focused) {
v2._visible = false;
this.removeEventListener('unload', v2);
this.removeEventListener('move', v2);
this.removeEventListener('resize', v2);
} else {
if (v2 == undefined) {
v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop);
v2.tabEnabled = false;
this._parent.focus_mc = v2;
} else {
v2._visible = true;
}
v2.draw(this);
if (v2.getDepth() < this.getDepth()) {
v2.setDepthAbove(this);
}
this.addEventListener('unload', v2);
this.addEventListener('move', v2);
this.addEventListener('resize', v2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var v2 = this.getStyle('themeColor');
if (v2 == undefined) {
v2 = 8453965;
}
var v3 = this._parent.focus_mc;
v3.setSize(this.width + 4, this.height + 4, 0, 100, v2);
v3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.FocusRect.classConstruct();
v1.DefaultsDependency = mx.skins.halo.Defaults;
v1.UIComponentDependency = mx.core.UIComponent;
ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1);
}
#endinitclip
}
movieClip 402 __Packages.mx.managers.OverlappedWindows {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.OverlappedWindows) {
var v1 = function () {};
mx.managers.OverlappedWindows = v1;
var v2 = v1.prototype;
v1.checkIdle = function (Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({'type': 'idle'});
} else {
++mx.managers.SystemManager.idleFrames;
}
};
v1.__addEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
};
v1.__removeEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
};
v1.onMouseDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var v5 = _root;
var v3;
var v8 = _root._xmouse;
var v7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var v6 = mx.managers.SystemManager.forms.length;
var v4;
v4 = 0;
while (v4 < v6) {
var v2 = mx.managers.SystemManager.forms[v4];
if (v2._visible) {
if (v2.hitTest(v8, v7)) {
if (v3 == undefined) {
v3 = v2.getDepth();
v5 = v2;
} else {
if (v3 < v2.getDepth()) {
v3 = v2.getDepth();
v5 = v2;
}
}
}
}
++v4;
}
if (v5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(v5);
}
}
}
var v9 = mx.managers.SystemManager.form;
v9.focusManager._onMouseDown();
};
v1.onMouseMove = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
};
v1.onMouseUp = function (Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
};
v1.activate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.deactivate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) {
var v5 = mx.managers.SystemManager.form;
v5.focusManager.deactivate();
var v3 = mx.managers.SystemManager.forms.length;
var v1;
var v2;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
v1 += 1;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
++v1;
}
mx.managers.SystemManager.form = v2;
break;
} else {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
}
++v1;
}
v5 = mx.managers.SystemManager.form;
v5.focusManager.activate();
}
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
};
v1.removeFocusManager = function (f) {
var v3 = mx.managers.SystemManager.forms.length;
var v1;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(v1, 1);
return undefined;
}
++v1;
}
};
v1.enableOverlappedWindows = function () {
if (!mx.managers.OverlappedWindows.initialized) {
mx.managers.OverlappedWindows.initialized = true;
mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle;
mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener;
mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener;
mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown;
mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove;
mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp;
mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate;
mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate;
mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager;
mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager;
}
};
v1.initialized = false;
v1.SystemManagerDependency = mx.managers.SystemManager;
ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1);
}
#endinitclip
}
movieClip 403 __Packages.mx.styles.CSSSetStyle {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSSetStyle) {
var v1 = function () {};
mx.styles.CSSSetStyle = v1;
var v2 = v1.prototype;
v2._setStyle = function (styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == 'color') {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return undefined;
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v7 = mx.styles.StyleManager.colorNames.haloBlue;
var v6 = mx.styles.StyleManager.colorNames.haloGreen;
var v8 = mx.styles.StyleManager.colorNames.haloOrange;
var v4 = {};
v4[v7] = 12188666;
v4[v6] = 13500353;
v4[v8] = 16766319;
var v5 = {};
v5[v7] = 13958653;
v5[v6] = 14942166;
v5[v8] = 16772787;
var v9 = v4[newValue];
var v10 = v5[newValue];
if (v9 == undefined) {
v9 = newValue;
}
if (v10 == undefined) {
v10 = newValue;
}
this.setStyle('selectionColor', v9);
this.setStyle('rollOverColor', v10);
}
_level0.changeColorStyleInChildren(this.styleName, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
_level0.notifyStyleChangeInChildren(this.styleName, styleProp, newValue);
}
};
v2.changeTextStyleInChildren = function (styleProp) {
var v4 = getTimer();
var v5;
for (v5 in this) {
var v2 = this[v5];
if (v2._parent == this) {
if (v2.searchKey != v4) {
if (v2.stylecache != undefined) {
delete v2.stylecache.tf;
delete v2.stylecache[styleProp];
}
v2.invalidateStyle(styleProp);
v2.changeTextStyleInChildren(styleProp);
v2.searchKey = v4;
}
}
}
};
v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) {
var v6 = getTimer();
var v7;
for (v7 in this) {
var v2 = this[v7];
if (v2._parent == this) {
if (v2.searchKey != v6) {
if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') {
if (v2.stylecache != undefined) {
delete v2.stylecache[colorStyle];
}
if (typeof v2._color == 'string') {
if (v2._color == colorStyle) {
var v4 = v2.getStyle(colorStyle);
if (colorStyle == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = v4;
}
}
v2.setColor(v4);
}
} else {
if (v2._color[colorStyle] != undefined) {
if (typeof v2 != 'movieclip') {
v2._parent.invalidateStyle();
} else {
v2.invalidateStyle(colorStyle);
}
}
}
}
v2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
v2.searchKey = v6;
}
}
}
};
v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) {
var v5 = getTimer();
var v6;
for (v6 in this) {
var v2 = this[v6];
if (v2._parent == this) {
if (v2.searchKey != v5) {
if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) {
if (v2.stylecache != undefined) {
delete v2.stylecache[styleProp];
delete v2.stylecache.tf;
}
delete v2.enabledColor;
v2.invalidateStyle(styleProp);
}
v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
v2.searchKey = v5;
}
}
}
};
v2.setStyle = function (styleProp, newValue) {
if (this.stylecache != undefined) {
delete this.stylecache[styleProp];
delete this.stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v10 = mx.styles.StyleManager.colorNames.haloBlue;
var v9 = mx.styles.StyleManager.colorNames.haloGreen;
var v11 = mx.styles.StyleManager.colorNames.haloOrange;
var v6 = {};
v6[v10] = 12188666;
v6[v9] = 13500353;
v6[v11] = 16766319;
var v7 = {};
v7[v10] = 13958653;
v7[v9] = 14942166;
v7[v11] = 16772787;
var v12 = v6[newValue];
var v13 = v7[newValue];
if (v12 == undefined) {
v12 = newValue;
}
if (v13 == undefined) {
v13 = newValue;
}
this.setStyle('selectionColor', v12);
this.setStyle('rollOverColor', v13);
}
if (typeof this._color == 'string') {
if (this._color == styleProp) {
if (styleProp == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = newValue;
}
}
this.setColor(newValue);
}
} else {
if (this._color[styleProp] != undefined) {
this.invalidateStyle(styleProp);
}
}
this.changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
this.invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') {
var v8;
var v5 = newValue;
if (styleProp == 'styleName') {
v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5;
v5 = v8.themeColor;
if (v5 != undefined) {
v8.selectionColor = v5;
v8.rollOverColor = v8.selectionColor;
}
}
this.notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
};
v1.enableRunTimeCSS = function () {};
v1.classConstruct = function () {
var v2 = MovieClip.prototype;
var v3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle;
v2.changeTextStyleInChildren = v3.changeTextStyleInChildren;
v2.changeColorStyleInChildren = v3.changeColorStyleInChildren;
v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren;
v2.setStyle = v3.setStyle;
_global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1);
_global.ASSetPropFlags(v2, 'setStyle', 1);
var v4 = TextField.prototype;
v4.setStyle = v2.setStyle;
v4.changeTextStyleInChildren = v3.changeTextStyleInChildren;
return true;
};
v1.classConstructed = mx.styles.CSSSetStyle.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1);
}
#endinitclip
}
movieClip 404 __Packages.mx.core.ext.UIComponentExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIComponentExtensions) {
var v1 = function () {};
mx.core.ext.UIComponentExtensions = v1;
var v2 = v1.prototype;
v1.Extensions = function () {
if (mx.core.ext.UIComponentExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIComponentExtensions.bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if ((this.getFocusManager()).bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
};
v1.bExtended = false;
v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions();
v1.UIComponentDependency = mx.core.UIComponent;
v1.FocusManagerDependency = mx.managers.FocusManager;
v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows;
ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 405 __Packages.mx.skins.halo.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.RectBorder) {
var v1 = function () {
super();
};
mx.skins.halo.RectBorder = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.RectBorder.prototype = v2;
v2.init = function (Void) {
this.borderWidths.default = 3;
super.init();
};
v2.getBorderMetrics = function (Void) {
if (this.offset == undefined) {
var v3 = this.getStyle(this.borderStyleName);
this.offset = this.borderWidths[v3];
}
if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') {
this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3};
return this.__borderMetrics;
}
return super.getBorderMetrics();
};
v2.drawBorder = function (Void) {
var v6 = _global.styles[this.className];
if (v6 == undefined) {
v6 = _global.styles.RectBorder;
}
var v5 = this.getStyle(this.borderStyleName);
var v7 = this.getStyle(this.borderColorName);
if (v7 == undefined) {
v7 = v6[this.borderColorName];
}
var v8 = this.getStyle(this.backgroundColorName);
if (v8 == undefined) {
v8 = v6[this.backgroundColorName];
}
var v16 = this.getStyle('backgroundImage');
if (v5 != 'none') {
var v14 = this.getStyle(this.shadowColorName);
if (v14 == undefined) {
v14 = v6[this.shadowColorName];
}
var v13 = this.getStyle(this.highlightColorName);
if (v13 == undefined) {
v13 = v6[this.highlightColorName];
}
var v12 = this.getStyle(this.buttonColorName);
if (v12 == undefined) {
v12 = v6[this.buttonColorName];
}
var v11 = this.getStyle(this.borderCapColorName);
if (v11 == undefined) {
v11 = v6[this.borderCapColorName];
}
var v10 = this.getStyle(this.shadowCapColorName);
if (v10 == undefined) {
v10 = v6[this.shadowCapColorName];
}
}
this.offset = this.borderWidths[v5];
var v9 = this.offset;
var v3 = this.__get__width();
var v4 = this.__get__height();
this.clear();
this._color = undefined;
if (v5 == 'none') {
} else {
if (v5 == 'inset') {
this._color = this.colorList;
this.draw3dBorder(v11, v12, v7, v13, v14, v10);
} else {
if (v5 == 'outset') {
this._color = this.colorList;
this.draw3dBorder(v11, v7, v12, v14, v13, v10);
} else {
if (v5 == 'alert') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50);
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100);
} else {
if (v5 == 'default') {
this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial');
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100);
} else {
if (v5 == 'dropDown') {
this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear');
this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100);
} else {
if (v5 == 'menuBorder') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10);
this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear');
this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50);
this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100);
} else {
if (v5 == 'comboNonEdit') {
} else {
this.beginFill(v7);
this.drawRect(0, 0, v3, v4);
this.drawRect(1, 1, v3 - 1, v4 - 1);
this.endFill();
this._color = this.borderColorName;
}
}
}
}
}
}
}
}
if (v8 != undefined) {
this.beginFill(v8);
this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9);
this.endFill();
}
};
v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) {
var v3 = this.__get__width();
var v2 = this.__get__height();
this.beginFill(c1);
this.drawRect(0, 0, v3, v2);
this.drawRect(1, 0, v3 - 1, v2);
this.endFill();
this.beginFill(c2);
this.drawRect(1, 0, v3 - 1, 1);
this.endFill();
this.beginFill(c3);
this.drawRect(1, v2 - 1, v3 - 1, v2);
this.endFill();
this.beginFill(c4);
this.drawRect(1, 1, v3 - 1, 2);
this.endFill();
this.beginFill(c5);
this.drawRect(1, v2 - 2, v3 - 1, v2 - 1);
this.endFill();
this.beginFill(c6);
this.drawRect(1, 2, v3 - 1, v2 - 2);
this.drawRect(2, 2, v3 - 2, v2 - 2);
this.endFill();
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return true;
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.halo.RectBorder;
v1.version = '2.0.2.126';
v2.borderCapColorName = 'borderCapColor';
v2.shadowCapColorName = 'shadowCapColor';
v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0};
v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2};
v1.classConstructed = mx.skins.halo.RectBorder.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1);
}
#endinitclip
}
frame 3 {
stop();
chooser = 1;
}
movieClip 460 {
}
movieClip 463 {
}
movieClip 464 {
}
movieClip 467 {
}
movieClip 470 {
}
movieClip 471 {
}
movieClip 475 {
}
movieClip 477 {
}
movieClip 479 {
}
movieClip 483 {
}
movieClip 484 {
}
movieClip 486 {
}
movieClip 488 {
}
movieClip 489 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 490 {
}
movieClip 491 {
}
movieClip 494 {
}
movieClip 495 {
}
movieClip 496 {
}
movieClip 499 {
}
movieClip 500 game1 {
frame 1 {
_root.rules = 'To the exit!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance mx71_ball of movieClip 496 {
onClipEvent (load) {
xvel = 0;
yvel = 0;
hit = false;
startx = 21.2;
starty = 18.8;
done = false;
fakehit = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
yvel += 0.5;
_x = _x + xvel;
_y = _y + yvel;
if (Key.isDown(37)) {
xvel -= 1;
}
if (Key.isDown(39)) {
xvel += 1;
}
if (Key.isDown(38)) {
yvel -= 1;
}
if (Key.isDown(40)) {
yvel += 1;
}
for (i in this.mx71_perim) {
p = {'x': mx71_perim[i]._x, 'y': mx71_perim[i]._y};
mx71_perim.localToGlobal(p);
if (_root.g.mx71_ground.mx71_touchgr1.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr1.mx71_exit.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground.mx71_touchgr2.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr2.mx71_exit2.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground.mx71_touchgr3.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr3.mx71_exit3.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground.mx71_touchgr4.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr4.mx71_exit4.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground.mx71_touchgr5.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr5.mx71_exit5.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground.mx71_touchgr6.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx71_ground.mx71_touchgr6.mx71_exit6.hitTest(p.x, p.y, true)) {
done = true;
}
if (_root.g.mx71_ground._currentframe == 3) {
yvel -= 0.05;
}
if (_root.g.mx71_ground._currentframe == 4) {
startx = 10;
starty = 329;
}
if (_root.g.mx71_ground.mx71_fakewall.hitTest(p.x, p.y, true)) {
fakehit = true;
}
if (done == true) {
_root.gameOutcome(true);
this._x = startx;
this._y = starty;
xvel = 0;
yvel = 0;
hit = false;
done = false;
}
if (hit == true) {
_root.gameOutcome(false);
this._x = startx;
this._y = starty;
xvel = 0;
yvel = 0;
hit = false;
}
if (fakehit == true) {
this._x = startx;
this._y = starty;
xvel = 0;
yvel = 0;
fakehit = false;
}
updateAfterEvent();
}
}
}
}
}
movieClip 503 {
}
movieClip 505 {
}
movieClip 506 {
frame 35 {
stop();
}
}
movieClip 508 {
}
movieClip 509 {
}
movieClip 510 {
}
movieClip 511 {
}
movieClip 512 {
}
movieClip 514 {
}
movieClip 517 {
}
movieClip 518 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 525 {
instance mx73_wheel1 of movieClip 521 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._rotation = _rotation + 12.5;
if (_root.mx73_wallmove.mx73_walls.hitTest(p.x, p.y, true)) {
this._rotation = 0;
}
}
}
}
instance mx73_wheel2 of movieClip 523 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._rotation = _rotation + 12.5;
if (_root.mx73_wallmove.mx73_walls.hitTest(p.x, p.y, true)) {
this._rotation = 0;
}
}
}
}
}
movieClip 526 {
frame 70 {
gotoAndPlay(2);
}
}
movieClip 528 {
}
movieClip 530 {
}
movieClip 532 {
}
movieClip 535 {
}
movieClip 536 game2 {
frame 1 {
_root.rules = 'Land safely!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance mx73_ammobox of movieClip 519 {
onClipEvent (load) {
mxvel = 0;
myvel = 0;
mhit = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
myvel += 0.026;
_x = _x + mxvel;
_y = _y + myvel;
if (Key.isDown(37)) {
mxvel -= 1;
}
if (Key.isDown(39)) {
mxvel += 1;
}
if (Key.isDown(40)) {
_root.g.mx73_ammobox.mx73_parachute.gotoAndPlay(2);
myvel += 1;
}
for (i in this.mx73_perim) {
p = {'x': mx73_perim[i]._x, 'y': mx73_perim[i]._y};
mx73_perim.localToGlobal(p);
if (_root.g.mx73_wallmove.mx73_walls.hitTest(p.x, p.y, true)) {
mhit = true;
_root.g.mx73_wallmove.stop();
_root.g.mx73_wallmove.mx73_wall.mx73_wheel1._rotation = 0;
_root.g.mx73_wallmove.mx73_wall.mx73_wheel2._rotation = 0;
}
if (_root.g.mx73_bwalls.hitTest(p.x, p.y, true)) {
mbhit = true;
}
if (mhit == true) {
_root.gameOutcome(true);
mxvel = 0;
myvel = 0;
mhit = false;
}
if (mbhit == true) {
mxvel = 0;
myvel = 0;
_root.gameOutcome(false);
mbhit = false;
}
for (i2 in this.mx73_perim2) {
p2 = {'x': mx73_perim2[i2]._x, 'y': mx73_perim2[i2]._y};
mx73_perim2.localToGlobal(p2);
if (_root.g.mx73_swall1.hitTest(p2.x, p2.y, true)) {
this._x = _x + 1;
mxvel = 0;
}
}
for (i3 in this.mx73_perim3) {
p3 = {'x': mx73_perim3[i3]._x, 'y': mx73_perim3[i3]._y};
mx73_perim3.localToGlobal(p3);
if (_root.g.mx73_swall2.hitTest(p3.x, p3.y, true)) {
this._x = _x - 1;
mxvel = 0;
}
}
updateAfterEvent();
}
}
}
}
}
movieClip 539 {
}
movieClip 542 {
}
movieClip 544 {
}
movieClip 546 {
}
movieClip 547 {
}
movieClip 549 {
}
movieClip 550 game3 {
frame 1 {
_root.rules = 'Hit the Targets!';
_root.beatClock = true;
}
instance of movieClip 542 {
onClipEvent (load) {
gravity = 0;
xmov = 0;
rotmov = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (rotmov >= 0) {
rotmov -= 0.5;
}
if (rotmov <= 0) {
rotmov += 0.5;
}
++gravity;
if (xmov >= 0) {
xmov -= 0.5;
}
if (xmov <= 0) {
xmov += 0.5;
}
this._y += gravity;
this._x += xmov;
this._rotation += rotmov;
if (Key.isDown(38)) {
gravity -= 2;
}
if (Key.isDown(37)) {
xmov -= 1.5;
rotmov -= 2;
}
if (Key.isDown(39)) {
xmov += 1.5;
rotmov += 2;
}
if (hitTest(_parent.wall) or hitTest(_parent.walla) or hitTest(_parent.wallb) or hitTest(_parent.wallc)) {
this._x = 145.1;
this._y = 91;
gravity = 0;
rotmov = 0;
xmov = 0;
}
if (hitTest(_parent.targa)) {
loadMovie('', '_parent.targa');
++count;
}
if (hitTest(_parent.targb)) {
loadMovie('', '_parent.targb');
++count;
}
if (hitTest(_parent.targc)) {
loadMovie('', '_parent.targc');
++count;
}
if (count == 3) {
_root.gameOutcome(true);
}
}
}
}
instance targa of movieClip 549 {
onClipEvent (load) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.wall) or hitTest(_parent.walla) or hitTest(_parent.wallb) or hitTest(_parent.wallc)) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
}
}
instance targb of movieClip 549 {
onClipEvent (load) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.wall) or hitTest(_parent.walla) or hitTest(_parent.wallb) or hitTest(_parent.wallc)) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
}
}
instance targc of movieClip 549 {
onClipEvent (load) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.wall) or hitTest(_parent.walla) or hitTest(_parent.wallb) or hitTest(_parent.wallc)) {
this._x = Math.random() * Stage.width;
this._y = Math.random() * Stage.height;
}
}
}
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 560 {
}
movieClip 562 {
}
movieClip 564 {
}
movieClip 566 {
}
movieClip 568 {
}
movieClip 569 {
instance of movieClip 566 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.ball)) {
_root.gameOutcome(true);
_parent.ball._x = 2000;
_parent.ball._y = 2000;
}
}
}
}
movieClip 571 {
}
movieClip 574 {
}
movieClip 577 {
}
movieClip 578 game4 {
frame 1 {
Button.prototype.tabEnabled = false;
_root.rules = 'Aim For Water';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 556 {
onClipEvent (load) {
this._x = 130;
}
}
instance pointer of movieClip 558 {
onClipEvent (load) {
this._x = 230;
decrease = true;
scan = true;
}
onClipEvent (enterFrame) {
if (scan == true) {
if (decrease == true) {
this._x -= 10;
} else {
if (decrease == false) {
this._x += 10;
}
}
if (this._x == 30) {
decrease = false;
} else {
if (this._x == 230) {
decrease = true;
}
}
}
if (Key.isDown(32)) {
scan = false;
}
power = (this._x - 30) / 10;
}
}
instance ball of movieClip 560 {
onClipEvent (load) {
launched = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
launched = true;
}
}
if (launched == false) {
this._rotation = _parent.canon._rotation;
this._x = _parent.canon._x;
this._y = _parent.canon._y;
vx = _parent.pointer.power * Math.cos(0.0174532925199433 * _rotation);
vy = _parent.pointer.power * Math.sin(0.0174532925199433 * _rotation);
} else {
if (launched == true) {
if (this.hitTest(_parent.canon)) {
this._x += vx;
this._y += vy;
} else {
this._x += vx;
this._y += vy;
vy += 1;
}
}
}
if (_x > Stage.width || _x < 0 || _y < 0 || _y > Stage.height) {
launched = false;
_parent.pointer.scan = true;
}
if (this.hitTest(_parent.ground)) {
launched = false;
_parent.pointer.scan = true;
}
}
}
instance canon of movieClip 562 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_rotation = _rotation - 5;
} else {
if (Key.isDown(40)) {
_rotation = _rotation + 5;
}
}
}
}
}
instance ground of movieClip 564 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.gotoAndStop(2);
_parent.pointer.scan = true;
}
}
}
instance of movieClip 569 {
onClipEvent (load) {
this._x = random(116) + 300;
}
}
}
movieClip 581 {
}
movieClip 584 {
}
movieClip 585 {
}
movieClip 586 {
}
button 588 {
on (rollOver) {
gotoAndPlay('good1');
}
}
button 589 {
on (rollOver, release) {
gotoAndPlay('lose1');
}
}
movieClip 592 {
}
button 594 {
on (rollOver) {
gotoAndPlay('cheat1');
}
}
button 599 {
on (rollOver) {
gotoAndPlay('good2');
}
}
button 600 {
on (rollOver, release) {
gotoAndPlay('lose2');
}
}
button 601 {
on (rollOver) {
gotoAndPlay('cheat2');
}
}
button 608 {
on (rollOver) {
gotoAndPlay('good3');
}
}
button 609 {
on (rollOver, release) {
gotoAndPlay('lose3');
}
}
button 610 {
on (rollOver) {
gotoAndPlay('cheat3');
}
}
button 614 {
on (rollOver) {
gotoAndPlay('win');
}
}
button 615 {
on (rollOver) {
gotoAndPlay('cheat4');
}
}
movieClip 640 {
}
movieClip 643 {
}
movieClip 644 {
frame 1 {
stop();
}
frame 11 {
stop();
}
frame 21 {
stop();
}
frame 31 {
stop();
}
frame 32 {
_root.gameOutcome(true);
}
frame 44 {
stop();
}
frame 45 {
_root.gameOutcome(false);
}
frame 54 {
stop();
}
frame 55 {
_root.gameOutcome(false);
}
frame 68 {
stop();
}
frame 69 {
_root.gameOutcome(false);
}
frame 80 {
stop();
}
frame 81 {
_root.gameOutcome(false);
}
frame 94 {
stop();
}
frame 95 {
_root.gameOutcome(false);
}
frame 108 {
stop();
}
frame 109 {
_root.gameOutcome(false);
}
frame 122 {
stop();
}
frame 123 {
_root.gameOutcome(false);
}
frame 136 {
stop();
}
}
movieClip 647 {
}
movieClip 648 game5 {
frame 1 {
_root.rules = 'Hop those Rocks!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 653 {
}
movieClip 654 {
}
movieClip 675 {
}
movieClip 690 {
frame 1 {
stop();
activekey = up;
}
frame 13 {
stop();
right = true;
up = false;
}
frame 25 {
stop();
left = true;
right = false;
}
frame 38 {
stop();
down = true;
left = false;
}
frame 39 {
up = true;
down = true;
left = true;
right = true;
}
frame 57 {
_root.gameOutcome(true);
}
frame 75 {
stop();
}
frame 76 {
prevFrame();
}
frame 77 {
_root.gameOutcome(false);
up = true;
down = true;
left = true;
right = true;
}
frame 88 {
stop();
}
frame 89 {
prevFrame();
}
}
movieClip 693 {
}
movieClip 694 game6 {
frame 1 {
_root.rules = 'It\'s Morphin\' Time!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 690 {
onClipEvent (load) {
up = true;
right = false;
left = false;
down = false;
keyAct = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38) && keyAct == false) {
keyAct = true;
if (up == false) {
gotoAndPlay('lose');
}
if (up == true) {
play();
}
}
if (Key.isDown(39) && keyAct == false) {
keyAct = true;
if (right == false) {
gotoAndPlay('lose');
}
if (right == true) {
play();
}
}
if (Key.isDown(37) && keyAct == false) {
keyAct = true;
if (left == false) {
gotoAndPlay('lose');
}
if (left == true) {
play();
}
}
if (Key.isDown(40) && keyAct == false) {
keyAct = true;
if (down == false) {
gotoAndPlay('lose');
}
if (down == true) {
play();
}
}
if (!Key.isDown(38) && !Key.isDown(40) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(32)) {
keyAct = false;
}
}
}
}
}
movieClip 697 {
}
movieClip 699 {
}
movieClip 701 {
}
movieClip 704 {
}
movieClip 705 game7 {
frame 1 {
_root.rules = 'Keep the ball up!';
_root.beatClock = false;
}
instance of movieClip 697 {
onClipEvent (enterFrame) {
if (_parent.ball._y + _parent.ball.staticHeight / 2 < 0) {
aTarget = 100;
_x = _parent.ball._x;
} else {
aTarget = 0;
}
_alpha = _alpha - (_alpha - aTarget) / 5;
}
}
instance of movieClip 699 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
xTarget = rand(0, 550);
yTarget = rand(0, 400);
rTarget = rand(0, 180);
speed = rand(10, 50);
timer = rand(1, 3) * 32;
}
reset();
}
onClipEvent (enterFrame) {
_x = _x - (_x - xTarget) / speed;
_y = _y - (_y - yTarget) / speed;
_rotation = _rotation - (_rotation - rTarget) / speed;
--timer;
if (timer <= 0) {
reset();
}
}
}
instance of movieClip 699 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
xTarget = rand(0, 550);
yTarget = rand(0, 400);
rTarget = rand(0, 180);
speed = rand(10, 50);
timer = rand(1, 3) * 32;
}
reset();
}
onClipEvent (enterFrame) {
_x = _x - (_x - xTarget) / speed;
_y = _y - (_y - yTarget) / speed;
_rotation = _rotation - (_rotation - rTarget) / speed;
--timer;
if (timer <= 0) {
reset();
}
}
}
instance ball of movieClip 701 {
onClipEvent (load) {
gravity = 2;
drag = 0.98;
bounce = 0.8;
xSpeed = 0;
ySpeed = 0;
staticWidth = _width;
staticHeight = _height;
dragTimer = 0;
_x = Math.random() * (550 - _width / 2 - _width / 2) + _width / 2;
}
onClipEvent (press) {
if (_root.cstatus == 1 && dragTimer <= 0) {
dragging = true;
startDrag(this, false);
}
}
onClipEvent (release, releaseOutside) {
dragging = false;
dragTimer = 0;
stopDrag();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dragging) {
if (_x + staticWidth / 2 > 550) {
_x = 550 - staticWidth / 2;
xSpeed = -xSpeed * bounce;
}
if (_x - staticWidth / 2 < 0) {
_x = +(staticWidth / 2);
xSpeed = -xSpeed * bounce;
}
if (_y + staticHeight / 2 > 400) {
_y = 400 - staticHeight / 2;
ySpeed = -ySpeed * bounce;
_root.gameOutcome(false);
}
_x = _x + xSpeed;
_y = _y + ySpeed;
xSpeed *= drag;
ySpeed = ySpeed * drag + gravity;
_rotation = _rotation + xSpeed;
} else {
xSpeed = _x - oldX;
ySpeed = _y - oldY;
oldX = _x;
oldY = _y;
++dragTimer;
if (dragTimer >= 16) {
dragging = false;
stopDrag();
}
}
}
}
}
}
movieClip 708 {
}
movieClip 711 {
}
movieClip 712 game8 {
frame 1 {
_root.rules = 'Pop the Balloons';
_root.beatClock = true;
}
frame 1 {
Nug1_bc = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (this.Nug1_bc >= 4) {
trace('win');
_root.gameOutcome(true);
}
}
};
}
instance Nug1_baloon of movieClip 332 Nug1_baloon {
onClipEvent (load) {
this._x = random(550);
this._y = Math.random() + 400;
nug1_speed = Math.random() * 10 + 5;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= nug1_speed;
}
}
onClipEvent (press) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance Nug1_baloon of movieClip 332 Nug1_baloon {
onClipEvent (load) {
this._x = random(550);
this._y = Math.random() + 400;
nug1_speed = Math.random() * 10 + 5;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= nug1_speed;
}
}
onClipEvent (press) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance Nug1_baloon of movieClip 332 Nug1_baloon {
onClipEvent (load) {
this._x = random(550);
this._y = Math.random() + 400;
nug1_speed = Math.random() * 10 + 5;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= nug1_speed;
}
}
onClipEvent (press) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance Nug1_baloon of movieClip 332 Nug1_baloon {
onClipEvent (load) {
this._x = random(550);
this._y = Math.random() + 400;
nug1_speed = Math.random() * 10 + 5;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= nug1_speed;
}
}
onClipEvent (press) {
if (_root.cstatus == 1) {
this.play();
}
}
}
}
movieClip 715 {
}
movieClip 717 {
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
instance of movieClip 715 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
}
movieClip 721 {
}
movieClip 722 {
frame 16 {
gotoAndStop(16);
}
}
movieClip 723 {
frame 70 {
gotoAndPlay(1);
}
frame 71 {
_root.g.rob1_background.attachMovie('wohoo', 'wohoo1', 0);
}
}
movieClip 731 {
}
movieClip 734 {
}
movieClip 735 game9 {
frame 1 {
_root.rules = 'Get Smashed';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.g.character.hitTest(_root.g.smasher)) {
_root.gameOutcome(true);
_root.g.character.gotoAndStop('smashed');
}
};
}
instance character of movieClip 723 {
onClipEvent (load) {
xvar = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += xvar;
xvar -= 0.3;
}
if (Key.isDown(37)) {
xvar -= 0.5;
}
if (Key.isDown(39)) {
xvar += 0.5;
}
}
}
}
movieClip 743 {
}
movieClip 745 {
}
movieClip 748 {
}
movieClip 749 game10 {
frame 1 {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
colour = rand(1, 5);
correctBlock = rand(1, 100);
switch (colour) {
case 1:
_root.rules = 'Find Red!';
break;
case 2:
_root.rules = 'Find Blue!';
break;
case 3:
_root.rules = 'Find Green!';
break;
case 4:
_root.rules = 'Find Orange!';
break;
case 5:
_root.rules = 'Find Pink!';
break;
case 6:
_root.rules = 'Find Yellow!';
}
_root.beatClock = true;
i = 2;
while (i <= 100) {
duplicateMovieClip(b1, 'b' + i, this.getNextHighestDepth());
if (i < 11) {
this['b' + i]._x = (i - 1) * 55;
this['b' + i]._y = 0;
} else {
if (i < 21) {
this['b' + i]._x = (i - 1 - 10) * 55;
this['b' + i]._y = 40;
} else {
if (i < 31) {
this['b' + i]._x = (i - 1 - 20) * 55;
this['b' + i]._y = 80;
} else {
if (i < 41) {
this['b' + i]._x = (i - 1 - 30) * 55;
this['b' + i]._y = 120;
} else {
if (i < 51) {
this['b' + i]._x = (i - 1 - 40) * 55;
this['b' + i]._y = 160;
} else {
if (i < 61) {
this['b' + i]._x = (i - 1 - 50) * 55;
this['b' + i]._y = 200;
} else {
if (i < 71) {
this['b' + i]._x = (i - 1 - 60) * 55;
this['b' + i]._y = 240;
} else {
if (i < 81) {
this['b' + i]._x = (i - 1 - 70) * 55;
this['b' + i]._y = 280;
} else {
if (i < 91) {
this['b' + i]._x = (i - 1 - 80) * 55;
this['b' + i]._y = 320;
} else {
if (i < 101) {
this['b' + i]._x = (i - 1 - 90) * 55;
this['b' + i]._y = 360;
}
}
}
}
}
}
}
}
}
}
++i;
}
i = 1;
while (i <= 100) {
this['b' + i].gotoAndStop(rand(1, 6));
while (this['b' + i]._currentframe == colour) {
this['b' + i].gotoAndStop(rand(1, 6));
}
++i;
}
this['b' + correctBlock].gotoAndStop(colour);
mouse.swapDepths(this.getNextHighestDepth());
onEnterFrame = function () {
if (_root.cstatus == 1) {
mouse._x = _root._xmouse;
mouse._y = _root._ymouse;
}
};
onMouseDown = function () {
if (_root.cstatus == 1) {
if (this['b' + correctBlock].hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
};
}
instance b1 of movieClip 743 {
onClipEvent (rollOver) {
}
}
}
movieClip 752 {
}
movieClip 754 {
}
movieClip 756 {
frame 1 {
stop();
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
if (_parent._parent.Char.hit.hitTest(this)) {
_parent._parent.Char.dead = true;
_parent._parent.Char.gotoAndStop('death');
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
if (_parent._parent.Char.hit.hitTest(this)) {
_parent._parent.Char.dead = true;
_parent._parent.Char.gotoAndStop('death');
}
}
}
instance of movieClip 754 {
onClipEvent (enterFrame) {
if (_parent._parent.Char.hit.hitTest(this)) {
_parent._parent.Char.dead = true;
_parent._parent.Char.gotoAndStop('death');
}
}
}
}
button 760 {
on (press) {
if (_root.g.gameready == true) {
if (Char.rdy == true) {
Char.rdy = false;
Char.jumping = true;
}
}
}
}
button 761 {
on (press) {
if (_root.g.gameready == true) {
if (Char.rdy == true) {
Char.rdy = false;
Char.ducking = true;
}
}
}
}
movieClip 765 {
frame 1 {
stop();
}
}
movieClip 771 {
}
movieClip 773 {
}
movieClip 775 {
}
movieClip 776 {
frame 14 {
gotoAndPlay(1);
}
}
movieClip 777 {
frame 11 {
_root.gameOutcome(false);
}
frame 12 {
stop();
}
}
movieClip 778 {
frame 1 {
stop();
rdy = true;
}
}
movieClip 782 {
}
movieClip 783 game11 {
frame 1 {
_root.rules = 'Dont hit the objects!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
gameready = true;
}
};
}
instance bg of movieClip 756 {
onClipEvent (enterFrame) {
if (_root.g.gameready == true) {
_x = _x - 7;
}
}
}
instance Char of movieClip 778 {
onClipEvent (load) {
jumping = false;
jump = 30;
duck = false;
timer = 0;
_y = 330;
dead = false;
num = random(2) + 1;
}
onClipEvent (enterFrame) {
if (_root.g.gameready == true) {
_parent.bg.gotoAndStop(num);
if (dead == false) {
if (duck == false) {
if (jump > 20) {
gotoAndStop('static');
}
}
jump += 1;
if (jumping == true) {
jumping = false;
gotoAndStop('jump');
jump = -20;
}
if (jump <= 20) {
_y = _y + jump;
} else {
_y = 330;
}
if (ducking == true) {
ducking = false;
duck = true;
gotoAndStop('duck');
}
if (duck == true) {
timer += 1;
}
if (timer == 30) {
duck = false;
timer = 0;
gotoAndStop('static');
}
}
}
}
}
instance of movieClip 782 {
onClipEvent (enterFrame) {
if (_root.g.gameready == true) {
_x = _x + 1;
}
}
}
}
movieClip 786 {
}
movieClip 790 {
}
movieClip 792 {
}
movieClip 793 {
}
movieClip 796 {
frame 1 {
_visible = false;
}
}
movieClip 797 {
}
movieClip 801 {
}
movieClip 806 {
}
movieClip 808 {
instance spray of movieClip 806 {
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = _alpha - (_alpha - aTarget) / 3;
}
}
}
movieClip 811 {
}
movieClip 814 {
}
movieClip 815 game12 {
frame 1 {
_root.rules = 'Kill 4 flies!';
_root.beatClock = true;
kills = 0;
onEnterFrame = function () {
if (kills >= 4) {
_root.gameOutcome(true);
}
};
}
instance of movieClip 793 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
gotoAndStop(rand(1, 3));
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance of movieClip 797 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-180, 180);
speed = rand(5, 6) * _root.speed;
timer = Math.random() * 32;
}
_rotation = rand(-180, 180);
_x = rand(0, 550);
_y = rand(0, 400);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!dead) {
_rotation = _rotation - (_rotation - rTarget) / 10;
_x = _x + Math.cos(_rotation * Math.PI / 180) * speed;
_y = _y + Math.sin(_rotation * Math.PI / 180) * speed;
} else {
_y = _y + 30;
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
--timer;
if (timer <= 0) {
reset();
}
if (hit.hitTest(_parent.spraycan.hit) && Key.isDown(32)) {
if (!dead) {
++_parent.kills;
}
dead = true;
}
if (hit.hitTest(_parent.spraycan)) {
rTarget = -180;
}
}
}
}
instance spraycan of movieClip 808 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-20, 40);
timer = 16;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_rotation = _rotation - (_rotation - rTarget) / 10;
--timer;
if (timer <= 0) {
reset();
}
if (Key.isDown(32)) {
spray.aTarget = 100;
} else {
spray.aTarget = 0;
}
if (Key.isDown(37)) {
_x = _x - 15 * _root.speed;
} else {
if (Key.isDown(39)) {
_x = _x + 15 * _root.speed;
}
}
if (Key.isDown(38)) {
_y = _y - 15 * _root.speed;
} else {
if (Key.isDown(40)) {
_y = _y + 15 * _root.speed;
}
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 0) {
_y = 400 + _height / 2;
}
if (_y - _height / 2 > 400 && !dead) {
_y = -(_height / 2);
}
}
}
}
}
movieClip 824 {
frame 6 {
stop();
}
}
movieClip 826 {
frame 6 {
stop();
}
}
movieClip 834 {
frame 16 {
stop();
}
}
movieClip 835 {
frame 1 {
stop();
}
frame 9 {
stop();
_root.gameOutcome(true);
}
}
movieClip 838 {
}
movieClip 839 game13 {
frame 1 {
_root.rules = 'Free the Gargoyle!';
_root.beatClock = true;
}
instance of movieClip 835 {
onClipEvent (release) {
this.nextFrame();
}
onClipEvent (enterFrame) {
if (this._currentframe == 30) {
_root.gameOutcome(true);
}
}
}
}
movieClip 842 {
frame 1 {
stop();
}
}
movieClip 844 {
}
movieClip 853 {
}
movieClip 865 {
}
movieClip 866 {
frame 1 {
stop();
}
}
movieClip 868 {
}
movieClip 871 {
}
movieClip 872 game14 {
frame 1 {
_root.rules = 'Get the Jewel!';
_root.beatClock = true;
}
instance of movieClip 866 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this._x += 8;
gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
gotoAndStop(3);
}
if (_x > 524) {
_x = 524;
}
if (this.hitTest(_parent.diamond)) {
_y = 240;
trace('blah');
_root.gameOutcome(true);
}
}
}
onClipEvent (keyUp) {
gotoAndStop(1);
}
}
}
movieClip 874 {
}
movieClip 878 {
}
movieClip 879 {
}
movieClip 880 {
}
movieClip 881 {
instance of movieClip 878 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.bollywog) && _root.cstatus == 1) {
_root.gameOutcome(false);
}
}
}
}
movieClip 884 {
}
movieClip 886 {
}
movieClip 887 {
}
movieClip 889 {
}
movieClip 892 {
}
movieClip 893 game15 {
frame 1 {
_root.rules = 'Catch all!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance mx73_ground of movieClip 874 {
onClipEvent (load) {
this._visible = false;
}
}
instance mx72_ball0 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball1 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball1z of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball7 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball6 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball5 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball10 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball9 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball8 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball4 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball3 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_ball2 of movieClip 881 {
onClipEvent (load) {
yvel = 0;
hit = false;
this._x = gamma;
gamma = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
while (gamma > 80) {
gamma = Math.floor(Math.random() * 365);
}
if (hit != true) {
yvel += 0.2;
}
_y = _y + yvel;
for (i in this.mx72_perim) {
p = {'x': mx72_perim[i]._x, 'y': mx72_perim[i]._y};
mx72_perim.localToGlobal(p);
if (_root.g.mx72_catcher.hitTest(p.x, p.y, true)) {
hit = true;
}
if (_root.g.mx72_ground.hitTest(p.x, p.y, true)) {
rhit = true;
_root.gameOutcome(false);
}
if (hit == true) {
yvel = 0;
this._x = _root.g.mx72_catcher._x;
this._y = _root.g.mx72_catcher._y;
}
if (rhit == true) {
yvel = 0;
this._y = 361;
}
updateAfterEvent();
}
}
}
}
instance mx72_catcher of movieClip 887 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
}
}
}
movieClip 897 {
frame 1 {
stop();
}
}
movieClip 903 {
frame 19 {
stop();
}
}
movieClip 904 {
frame 13 {
gotoAndPlay(4);
}
}
movieClip 906 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
_root.gameOutcome(true);
}
}
movieClip 910 {
frame 1 {
stop();
}
frame 10 {
++_parent.Nug1_hc;
trace(_parent.Nug1_hc);
_parent.Nug1_katsup.nextFrame();
}
}
movieClip 913 {
}
movieClip 914 game16 {
frame 1 {
_root.rules = 'Knock the Catsup out';
_root.beatClock = true;
Nug1_hc = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Nug1_hc == 4) {
_root.gameOutcome(true);
trace('win');
}
}
};
}
instance Nug1_finger of movieClip 897 {
onClipEvent (load) {
keyAct = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1 && Key.isDown(32) && keyAct == false) {
keyAct = true;
this.play();
_parent.Nug1_hand.play();
}
if (!Key.isDown(32)) {
keyAct = false;
}
}
}
}
movieClip 917 {
}
movieClip 922 {
}
movieClip 924 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 927 {
}
movieClip 928 game17 {
frame 1 {
_root.rules = 'Push Play';
_root.beatClock = true;
}
instance Nug4_hand of movieClip 924 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x += 7;
}
if (Key.isDown(37)) {
this._x -= 7;
}
if (Key.isDown(38)) {
this._y -= 7;
}
if (Key.isDown(40)) {
this._y += 7;
}
if (Key.isDown(32)) {
nextFrame();
}
if (_root.cstatus == 1) {
if (this._currentframe == 2) {
if (this.Nug4_tip.hitTest(_parent.Nug4_playbtn)) {
trace('win');
_root.gameOutcome(true);
}
}
}
}
onClipEvent (keyUp) {
gotoAndStop(1);
}
}
}
movieClip 930 {
}
movieClip 933 {
}
movieClip 937 {
frame 1 {
stop();
}
frame 2 {
++_parent.Nug4_nc;
trace(_parent.Nug4_nc);
}
frame 3 {
stop();
}
}
movieClip 940 {
frame 1 {
stop();
}
frame 2 {
++_parent.Nug4_nc;
trace(_parent.Nug4_nc);
}
frame 3 {
stop();
}
}
movieClip 942 {
}
movieClip 945 {
}
movieClip 947 {
}
movieClip 949 {
}
movieClip 951 {
}
movieClip 953 {
}
movieClip 954 {
}
movieClip 955 {
frame 1 {
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
this.play();
}
if (!Key.isDown(32) and Key.isDown(37)) {
this._x -= 7;
}
if (!Key.isDown(32) and Key.isDown(39)) {
this._x += 7;
}
if (!Key.isDown(32) and Key.isDown(38)) {
this._y -= 7;
}
if (!Key.isDown(32) and Key.isDown(40)) {
this._y += 7;
}
};
}
instance of movieClip 954 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
++i;
if (i >= 7) {
i = 0;
}
if (this.hitTest(_parent._parent._parent['Nug1_nail' + i]['Nug1_ghost' + i])) {
trace('hit');
_parent._parent._parent['Nug1_nail' + i].play();
}
}
}
}
movieClip 956 {
instance of movieClip 955 {
onClipEvent (enterFrame) {
if (this._y >= 200) {
this._y = 200;
}
if (this._y <= -100) {
this._y = -100;
}
if (this._x <= -300) {
this._x = -300;
}
if (this._x >= 300) {
this._x = 300;
}
}
}
}
movieClip 959 {
}
movieClip 960 game18 {
frame 1 {
Nug4_nc = 0;
}
frame 1 {
_root.rules = 'Hammer down the nails';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Nug4_nc == 2) {
_root.gameOutcome(true);
trace('win');
}
}
};
}
}
movieClip 974 {
}
movieClip 992 {
frame 1 {
leftkey = true;
leftready = false;
}
frame 55 {
leftdecision = random(3);
if (leftdecision == 1) {
gotoAndPlay('oksign');
++_parent.num;
}
if (leftdecision == 0) {
gotoAndPlay('nosign');
}
if (leftdecision == 2) {
gotoAndPlay('warmup');
}
}
frame 56 {
leftready = true;
leftok = true;
oksigns += 1;
}
frame 64 {
stop();
}
frame 65 {
leftready = true;
leftok = false;
}
frame 73 {
stop();
}
frame 74 {
_parent.oksigns -= 1;
}
frame 75 {
leftkey = false;
--_parent.num;
}
frame 83 {
stop();
}
frame 84 {
_root.gameOutcome(false);
}
frame 85 {
leftkey = false;
}
frame 93 {
stop();
}
frame 94 {
_root.gameOutcome(false);
}
frame 95 {
leftkey = false;
}
frame 103 {
stop();
}
}
movieClip 1012 {
frame 1 {
rightkey = true;
rightready = false;
}
frame 55 {
rightdecision = random(2);
if (leftdecision == 1) {
gotoAndPlay('oksign');
++_parent.num;
}
if (leftdecision == 0) {
gotoAndPlay('nosign');
}
if (rightdecision == 2) {
gotoAndPlay('warmup');
}
}
frame 56 {
rightready = true;
rightok = true;
oksigns += 1;
}
frame 56 {
++_parent.num;
}
frame 64 {
stop();
}
frame 65 {
rightready = true;
rightok = false;
}
frame 73 {
stop();
}
frame 74 {
oksigns -= 1;
}
frame 75 {
leftkey = false;
--_parent.num;
}
frame 83 {
stop();
}
frame 84 {
_root.gameOutcome(false);
}
frame 85 {
leftkey = false;
}
frame 93 {
stop();
}
frame 94 {
_root.gameOutcome(false);
}
frame 95 {
leftkey = false;
}
frame 103 {
stop();
}
}
movieClip 1014 {
}
movieClip 1016 {
}
movieClip 1017 {
}
movieClip 1019 {
}
movieClip 1021 {
}
movieClip 1022 {
frame 1 {
stop();
}
frame 8 {
gotoAndPlay(1);
}
frame 16 {
stop();
}
}
movieClip 1025 {
}
movieClip 1026 game19 {
frame 1 {
var num = 0;
_root.rules = 'Be Patient';
leftDown = false;
upDown = false;
rightDown = false;
downDown = false;
spaceDown = false;
onEnterFrame = function () {
if (!Key.isDown(37)) {
leftDown = false;
}
if (!Key.isDown(39)) {
rightDown = false;
}
if (!Key.isDown(38)) {
upDown = false;
}
if (!Key.isDown(40)) {
downDown = false;
}
if (!Key.isDown(32)) {
spaceDown = false;
}
trace(num);
if (num <= 0) {
_root.beatClock = false;
trace('OKAY' + num);
}
if (num > 0) {
_root.beatClock = true;
trace('UP' + num);
}
};
}
instance of movieClip 992 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
_root.g.fighter.gotoAndPlay('leftpunch');
if (leftkey == true) {
if (leftready == false) {
gotoAndPlay('fallover');
}
if (leftready == true) {
if (leftok == true) {
gotoAndPlay('oksignhit');
}
if (leftok == false) {
gotoAndPlay('nosignhit');
}
}
}
}
}
}
}
instance of movieClip 1012 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
_root.g.fighter.gotoAndPlay('rightpunch');
if (rightkey == true) {
if (rightready == false) {
gotoAndPlay('fallover');
}
if (rightready == true) {
if (rightok == true) {
gotoAndPlay('oksignhit');
}
if (rightok == false) {
gotoAndPlay('nosignhit');
}
}
}
}
}
}
}
}
movieClip 1029 {
}
movieClip 1033 {
frame 1 {
stop();
}
}
// unknown tag 88 length 73
movieClip 1042 game20 {
frame 1 {
_root.rules = 'Pick Best Value';
_root.beatClock = true;
bad = true;
v1 = Math.floor(Math.random() * 100) / 100;
while (bad) {
v2 = Math.floor(Math.random() * 100) / 100;
if (v2 != v1) {
bad = false;
}
}
bad = true;
while (bad) {
v3 = Math.floor(Math.random() * 100) / 100;
if (v3 != v1 && v3 != v2) {
bad = false;
}
}
if (v1 < v2 && v1 < v3) {
right = 1;
}
if (v2 < v1 && v2 < v3) {
right = 2;
}
if (v3 < v2 && v3 < v1) {
right = 3;
}
p1 = '$ ' + v1;
p2 = '$ ' + v2 * 10;
p3 = '$ ' + v3 * 100;
which = 1;
pressing = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
if (which > 1) {
if (!pressing) {
pressing = true;
--which;
this.select._x -= 175;
}
}
}
if (Key.isDown(39)) {
if (which < 3) {
if (!pressing) {
pressing = true;
++which;
this.select._x += 175;
}
}
}
if (!Key.isDown(39) && !Key.isDown(37)) {
pressing = false;
}
if (Key.isDown(32)) {
if (which == right) {
select.gotoAndStop(2);
_root.gameOutcome(true);
} else {
select.gotoAndStop(3);
_root.gameOutcome(false);
}
}
}
};
}
}
movieClip 1046 {
}
movieClip 1048 {
}
movieClip 1051 {
}
movieClip 1062 {
frame 1 {
stop();
onEnterFrame = function () {
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
play();
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
gotoAndPlay(23);
}
};
}
frame 22 {
gotoAndStop(1);
}
}
movieClip 1067 {
}
movieClip 1069 {
}
movieClip 1071 {
}
movieClip 1072 {
frame 128 {
_root.gameOutcome(true);
}
}
movieClip 1073 game21 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
play();
onEnterFrame = function () {};
}
};
_root.rules = 'Avoid!';
_root.beatClock = false;
}
frame 2 {
stop();
leftDown = false;
upDown = false;
rightDown = false;
downDown = false;
spaceDown = false;
onEnterFrame = function () {
if (!Key.isDown(37)) {
leftDown = false;
}
if (!Key.isDown(39)) {
rightDown = false;
}
if (!Key.isDown(38)) {
upDown = false;
}
if (!Key.isDown(40)) {
downDown = false;
}
if (!Key.isDown(32)) {
spaceDown = false;
}
};
}
instance of movieClip 1062 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.hitTest(_root.g.allrocks.rock2)) {
_x = _x - (15 + _root.speed * 5);
}
if (this.hitTest(_root.g.boulder)) {
_root.gameOutcome(false);
}
if (this.hitTest(_root.g.allrocks.rock1)) {
_x = _x - (15 + _root.speed * 5);
}
}
}
}
}
movieClip 1079 {
}
movieClip 1082 {
}
movieClip 1085 {
}
movieClip 1087 {
}
movieClip 1088 {
}
movieClip 1099 {
}
movieClip 1103 {
}
movieClip 1110 {
}
movieClip 1125 {
}
movieClip 1126 {
frame 1 {
stop();
}
frame 2 {
onEnterFrame = function () {
if (_root.cstatus == 1) {
play();
} else {
stop();
}
};
}
frame 28 {
_root.gameOutcome(false);
}
frame 45 {
stop();
}
}
movieClip 1127 game26 {
frame 1 {
_root.rules = 'DON\'T TOUCH';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37) || Key.isDown(39) || Key.isDown(40) || Key.isDown(38) || Key.isDown(32)) {
stuff.play();
}
}
};
}
}
movieClip 1134 {
frame 1 {
stop();
}
}
movieClip 1135 {
}
movieClip 1168 {
frame 26 {
gotoAndPlay(1);
}
frame 35 {
stop();
}
}
movieClip 1171 {
}
movieClip 1172 game31 {
frame 1 {
_root.rules = 'Keep Him Bouncing!';
_root.beatClock = false;
grav = 15;
bounce = 0;
living = true;
spasm = 0;
Mouse.hide();
onEnterFrame = function () {
if (_root.cstatus == 1) {
spring.spring.startDrag(true, 0, 0, 550, 0);
dude.onEnterFrame = function () {
if (living) {
this._y += grav;
this._x += spasm;
this._y -= bounce;
if (this._x >= 550 or this._x < 0) {
spasm *= -1;
}
if (bounce <= 0) {
bounce = bounce;
} else {
bounce -= 5;
}
bounce;
if (this.hitTest(spring)) {
bounce += Math.random() * 40;
spasm += Math.random() * 10 - 5;
spring.spring.play();
}
if (this._y >= 300) {
living = false;
this.gotoAndPlay(30);
_root.gameOutcome(false);
}
}
};
}
};
}
}
movieClip 1178 {
frame 1 {
stop();
}
}
movieClip 1179 {
frame 1 {
stop();
}
}
// unknown tag 88 length 68
movieClip 1186 {
}
movieClip 1187 game32 {
frame 1 {
_root.rules = 'Count the Stars';
_root.beatClock = true;
starNum = 10;
q = random(starNum) + 1;
i = random(3);
stars = 0;
while (stars < q) {
attachMovie('Din4_star', 'star' + stars, this.getNextHighestDepth());
star = this['star' + stars];
star._x = Math.random() * 500 + 25;
star._y = Math.random() * 200 + 30;
star._rotation = Math.random() * 360;
star._yscale = Math.random() * 50 + 50;
star._xscale = star._yscale;
++stars;
}
if (i == 0) {
tex1 = q;
tex2 = random(10) + 1;
while (tex2 == q) {
tex2 = random(10) + 1;
}
tex3 = random(10) + 1;
while (tex3 == q or tex3 == tex2) {
tex3 = random(10) + 1;
}
}
if (i == 1) {
tex2 = q;
tex1 = random(10) + 1;
while (tex1 == q) {
tex1 = random(10) + 1;
}
tex3 = random(10) + 1;
while (tex3 == q or tex3 == tex1) {
tex3 = random(10) + 1;
}
}
if (i == 2) {
tex3 = q;
tex1 = random(10) + 1;
while (tex1 == q) {
tex1 = random(10) + 1;
}
tex2 = random(10) + 1;
while (tex2 == q or tex2 == tex1) {
tex2 = random(10) + 1;
}
}
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
box.prevFrame();
}
if (Key.isDown(39)) {
box.nextFrame();
}
if (Key.isDown(32)) {
if (box._currentframe > 0 and box._currentframe < 4) {
if (i == 0) {
box.box.gotoAndStop(3);
_root.gameOutcome(true);
} else {
box.box.gotoAndStop(2);
_root.gameOutcome(false);
}
}
if (box._currentframe > 3 and box._currentframe < 7) {
if (i == 1) {
box.box.gotoAndStop(3);
_root.gameOutcome(true);
} else {
box.box.gotoAndStop(2);
_root.gameOutcome(false);
}
}
if (box._currentframe == 7) {
if (i == 2) {
box.box.gotoAndStop(3);
_root.gameOutcome(true);
} else {
box.box.gotoAndStop(2);
_root.gameOutcome(false);
}
}
}
}
};
}
}
movieClip 1190 {
}
movieClip 1193 {
}
movieClip 1194 {
}
movieClip 1202 {
frame 4 {
gotoAndPlay(1);
}
frame 67 {
stop();
}
}
movieClip 1205 {
}
movieClip 1206 game33 {
frame 1 {
function addBomb() {
if (_root.cstatus == 1) {
++q;
explosives.attachMovie('Din_BOOM', 'boom' + q, q);
boom = explosives['boom' + q];
boom.gotoAndStop(random(3) + 1);
boom._x = Math.random() * 30 - 15;
boom.captureX = boom._x;
boom.onEnterFrame = function () {
this.ease += 0.5;
this._x += this.captureX / aspect;
this._yscale = 100 + this._y / 3;
this._xscale = this._yscale;
this._y += ease;
if (this.hitTest(car)) {
car.gotoAndPlay(8);
this.removeMovieClip();
clearInterval(makeBOOM);
_root.gameOutcome(false);
}
};
}
}
_root.rules = 'Don\'t A Splode!!';
_root.beatClock = false;
carSpeed = 15;
ease = 10;
q = 0;
aspect = 2.5;
started = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
started = true;
if (Key.isDown(37) and car._x > 95) {
car._x -= carSpeed;
}
if (Key.isDown(39) and car._x < 480) {
car._x += carSpeed;
}
}
};
makeBOOM = setInterval(addBomb, 2000);
}
}
movieClip 1208 {
}
movieClip 1211 {
}
movieClip 1215 {
frame 50 {
_parent.doIt = false;
}
frame 53 {
if (_parent.edn) {
stop();
}
}
frame 69 {
_parent.doIt = true;
}
}
movieClip 1223 {
frame 8 {
gotoAndPlay(1);
}
}
movieClip 1226 {
}
movieClip 1227 game34 {
frame 1 {
_root.rules = 'Stay Alive!!';
_root.beatClock = false;
movement = 10;
doIt = true;
edn = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
shrimp._x > 0 ? '' : shrimp._x;
shrimp._x < 550 ? '' : shrimp._x;
if (shrimp.hitTest(fork)) {
edn = true;
shrimp.gotoAndStop(12);
_root.gameOutcome(false);
}
if (doIt) {
Math.abs(fork._x - shrimp._x) > 5 ? fork._x;
}
}
};
}
}
movieClip 1230 {
}
movieClip 1234 {
}
movieClip 1235 {
}
movieClip 1246 {
frame 1 {
stop();
}
frame 11 {
this.removeMovieClip();
}
}
movieClip 1249 {
}
movieClip 1252 {
}
movieClip 1253 game35 {
frame 1 {
_root.rules = 'Eat 4 muffins!';
_root.beatClock = true;
muffinsEaten = 0;
onEnterFrame = function () {
if (muffinsEaten >= 4) {
_root.gameOutcome(true);
}
};
timer = 0;
}
instance of movieClip 1235 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
if (_root.cstatus == 1) {
rTarget = rand(-180, -110);
timer = 16;
++i;
_parent.muffin1.duplicateMovieClip('muffin' + i, _parent.getNextHighestDepth());
_parent['muffin' + i]._x = top._x + _x + Math.cos(top._rotation * Math.PI / 180) * 135;
_parent['muffin' + i]._y = top._y + _y + Math.sin(top._rotation * Math.PI / 180) * 135;
_parent['muffin' + i]._rotation = top._rotation;
speed = rand(5, 10);
_parent['muffin' + i].xSpeed = Math.cos(top._rotation * Math.PI / 180) * speed;
_parent['muffin' + i].ySpeed = Math.sin(top._rotation * Math.PI / 180) * speed;
_parent['muffin' + i].onEnterFrame = function () {
if (_root.cstatus == 1) {
this._x += this.xSpeed;
this._y += this.ySpeed;
if (this._x < -30 || this._y < -30 || this._x > 580 || this._y > 430) {
this.removeMovieClip();
}
}
};
}
}
i = 1;
top._rotation = rand(-175, -120);
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!timer) {
reset();
}
top._rotation -= (top._rotation - rTarget) / 10;
--timer;
if (timer <= 0) {
reset();
}
}
}
}
instance muffin1 of movieClip 1246 {
onClipEvent (press) {
play();
++_parent.muffinsEaten;
}
}
}
movieClip 1257 {
}
button 1262 {
on (release) {
gotoAndStop('lose');
}
}
button 1266 {
on (release) {
gotoAndStop('lose');
}
}
button 1270 {
on (release) {
gotoAndStop('win');
}
}
movieClip 1275 {
}
movieClip 1279 {
}
movieClip 1281 {
frame 1 {
gotoAndStop(random(4));
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
_root.gameOutcome(true);
}
frame 5 {
stop();
_root.gameOutcome(false);
}
}
movieClip 1284 {
}
movieClip 1285 game36 {
frame 1 {
_root.rules = 'Be a Dumbass';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 1287 {
}
movieClip 1289 {
}
movieClip 1291 {
}
movieClip 1293 {
}
movieClip 1295 {
}
movieClip 1297 {
}
movieClip 1299 {
}
movieClip 1301 {
}
movieClip 1303 {
}
movieClip 1305 {
}
movieClip 1307 {
}
movieClip 1309 {
}
movieClip 1311 {
}
movieClip 1313 {
}
movieClip 1315 {
}
movieClip 1316 {
frame 1 {
stop();
}
frame 21 {
stop();
}
}
movieClip 1321 {
frame 1 {
stop();
}
}
movieClip 1323 {
}
movieClip 1324 game37 {
frame 1 {
_root.blu1_crosshair.swapDepths(1000);
}
frame 1 {
_root.rules = 'Shoot 6 cows!';
var cowshit = 0;
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (cowshit >= 6) {
_root.gameOutcome(true);
}
}
Mouse.hide();
blu1_crosshair._x = _root._xmouse;
blu1_crosshair._y = _root._ymouse;
};
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance of movieClip 1316 {
onClipEvent (release) {
if (_root.cstatus == 1) {
play();
++_root.g.cowshit;
}
}
}
instance shotgun_mc of movieClip 1321 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
}
instance blu1_crosshair of movieClip 1323 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
_root.shotgun_mc.play();
}
}
}
movieClip 1329 {
}
movieClip 1336 {
}
movieClip 1337 {
}
movieClip 1338 {
}
movieClip 1341 {
}
movieClip 1343 {
}
movieClip 1345 {
}
movieClip 1347 {
}
movieClip 1348 {
frame 15 {
stop();
}
}
movieClip 1349 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1352 {
}
movieClip 1354 {
}
movieClip 1356 {
}
movieClip 1357 {
frame 15 {
stop();
}
}
movieClip 1358 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1361 {
}
movieClip 1363 {
}
movieClip 1365 {
}
movieClip 1366 {
frame 15 {
stop();
}
}
movieClip 1367 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1370 {
}
movieClip 1372 {
}
movieClip 1373 {
frame 15 {
stop();
}
}
movieClip 1374 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1375 {
instance of movieClip 1349 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.head1.head2.teeth)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1358 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.head1.head2.teeth)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1367 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.head1.head2.teeth)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 1374 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.head1.head2.teeth)) {
this.gotoAndStop(2);
if (_root.cstatus == 1) {
_root.gameOutcome(true);
}
}
}
}
}
movieClip 1378 {
}
movieClip 1379 game38 {
frame 1 {
_root.rules = 'Eat the cloud!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance head1 of movieClip 1338 {
}
instance of movieClip 1375 {
onClipEvent (load) {
speed = 7;
stop();
}
onClipEvent (enterFrame) {
_x = _x + Key.isDown(39) * speed;
_x = _x - Key.isDown(37) * speed;
_y = _y + Key.isDown(40) * speed;
_y = _y - Key.isDown(38) * speed;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.head1.head2.teeth)) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1382 {
}
movieClip 1385 {
}
movieClip 1386 {
frame 1 {
stop();
}
frame 9 {
stop();
}
frame 22 {
gotoAndStop(1);
}
}
movieClip 1389 {
}
movieClip 1391 {
}
movieClip 1392 {
frame 1 {
stop();
}
frame 9 {
stop();
_parent.done = true;
++_parent.step;
_parent.arrow.gotoAndStop('up');
trace(_parent.done);
trace(_parent.step);
}
frame 10 {
_parent.eclair1.gotoAndPlay('up');
}
frame 17 {
stop();
_parent.done = true;
++_parent.step;
_parent.arrow.gotoAndStop('right');
trace(_parent.done);
trace(_parent.step);
}
frame 18 {
_parent.eclair1.gotoAndPlay('right');
}
frame 30 {
stop();
_parent.done = true;
++_parent.step;
_parent.arrow.gotoAndStop('left');
trace(_parent.done);
trace(_parent.step);
}
frame 39 {
_parent.done = true;
++_parent.step;
trace(_parent.done);
trace(_parent.step);
}
}
movieClip 1394 {
}
movieClip 1404 {
}
movieClip 1405 {
frame 1 {
stop();
}
}
movieClip 1408 {
}
movieClip 1410 game39 {
frame 1 {
stop();
_root.rules = 'Eat!';
_root.beatClock = true;
step = 1;
done = true;
onEnterFrame = function () {
if (Key.isDown(40) && done == true) {
if (step == 1 || step == 5) {
arm.gotoAndPlay('down');
done = false;
trace(done);
}
}
if (Key.isDown(38) && done == true) {
if (step == 2 || step == 6) {
arm.gotoAndPlay('up');
done = false;
trace(done);
}
}
if (Key.isDown(39) && done == true) {
if (step == 3 || step == 7) {
arm.gotoAndPlay('right');
done = false;
trace(done);
}
}
if (Key.isDown(37) && done == true) {
if (step == 4) {
arm.gotoAndPlay('left');
done = false;
trace(done);
_root.gameOutcome(true);
}
}
if (step == 4) {
eclair2._visible = false;
}
if (step == 8) {
eclair1._visible = false;
_root.gameOutcome(true);
trace('win');
_root.nextFrame();
}
};
}
}
movieClip 1413 {
}
movieClip 1416 {
}
movieClip 1422 {
frame 1 {
stop();
}
frame 1 {
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
_root.gameOutcome(true);
}
}
movieClip 1425 {
}
movieClip 1426 {
frame 1 {
stop();
}
instance blade of movieClip 1425 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.potato.hit)) {
_root.potato.play();
}
}
}
}
movieClip 1429 {
}
movieClip 1430 game40 {
frame 1 {
_root.rules = 'Peel up and down!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (peeler.blade.hitTest(potato.hit)) {
potato.nextFrame();
}
}
};
}
instance peeler of movieClip 1426 {
onClipEvent (load) {
Mouse.hide();
startDrag(this, true);
}
}
}
movieClip 1435 {
}
movieClip 1436 {
frame 1 {
stop();
}
}
movieClip 1438 {
}
// unknown tag 88 length 68
movieClip 1443 {
}
movieClip 1444 game41 {
frame 1 {
_root.rules = 'Feed Blobo';
_root.beatClock = true;
curvex = 245;
curvey = 250;
xTarget = curvex;
yTarget = curvey;
xSpeed = 0;
ySpeed = 0;
Speed = 10;
idisp = 0;
Stop = 1.2;
colorarr = new Array(10027008, 16750848, 16776960, 65280, 255, 7568383, 12401085);
color2 = colorarr[random(6)];
onEnterFrame = function () {
createEmptyMovieClip('line1', 10);
with (line1) {
lineStyle(25, color2, 100);
moveTo(-10, 242);
beginFill(color2, 75);
curveTo(curvex, curvey, 560, 242);
lineStyle(5, 26112, 100);
lineTo(560, 400);
lineTo(-10, 400);
lineTo(-10, 242);
}
if (_root.cstatus == 1) {
if (line1.hitTest(ball)) {
xSpeed += ball.xspeed;
ySpeed += ball.yspeed;
}
curvey += ySpeed;
xSpeed += (xTarget - curvex) / Speed;
ySpeed += (yTarget - curvey) / Speed;
xSpeed /= Stop;
ySpeed /= Stop;
if (ball.yspeed < 0) {
curvex = ball._x;
}
}
if (i < 0) {
i = 0;
idisp = 0;
_root.gameOutcome(true);
}
idisp = i + 1;
};
i = 0;
while (i < 5) {
duplicateMovieClip('coin', 'coin' + i, getNextHighestDepth());
++i;
}
transrans.swapDepths(getNextHighestDepth());
}
instance ball of movieClip 1436 {
onClipEvent (load) {
r = _width / 2;
xspeed = 0;
yspeed = 0;
gravity = 1;
array = new Array(360);
facing = _xscale;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (yspeed >= 20) {
yspeed = 20;
}
if (yspeed <= -20) {
yspeed = -20;
}
i = 0;
while (i < 360) {
x = _x + r * Math.cos((i / 180) * Math.PI);
y = _y - r * Math.sin((i / 180) * Math.PI);
if (!_parent.line1.hitTest(x, y, true)) {
array[i] = 0;
} else {
array[i] = 1;
}
0;
i += 5;
}
strt = 0;
end = 0;
i = 0;
while (i < 360) {
if (!(!last and array[i])) {
} else {
strt = i;
}
0;
if (!(last and !array[i])) {
} else {
end = i;
}
0;
last = array[i];
i += 5;
}
if (strt <= end) {
angle = (strt + end) / 2;
} else {
angle = (strt + end) / 2 + 180;
}
angle;
yspeed += gravity;
speed = Math.sqrt(xspeed * xspeed + yspeed * yspeed);
if (strt != end) {
xspeed = -speed * Math.sin(((angle + 90) / 180) * Math.PI) + 1;
yspeed = -speed * Math.cos(((angle + 90) / 180) * Math.PI);
}
_y = _y + yspeed;
_x = _x + xspeed;
if (this._x <= 0) {
xspeed = 5;
} else {
if (this._x >= 550) {
xspeed = -5;
}
}
if (Key.isDown(37)) {
--xspeed;
_xscale = -facing;
}
if (Key.isDown(39)) {
++xspeed;
_xscale = facing;
}
_rotation = _rotation + xspeed;
}
}
}
instance coin of movieClip 1438 {
onClipEvent (load) {
this._x = random(Stage.width);
this._y = random(Stage.height / 2) + 30;
_rotation = random(360);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.hitTest(this._parent.ball)) {
_parent.i -= 1;
_x = -100;
_y = -100;
removeMovieClip(this);
}
}
}
}
}
movieClip 1446 {
}
movieClip 1449 {
}
movieClip 1451 {
}
movieClip 1452 {
instance of movieClip 1449 {
onClipEvent (enterFrame) {
this._rotation += 10;
}
}
}
movieClip 1453 {
instance of movieClip 1449 {
onClipEvent (enterFrame) {
this._rotation += 10;
}
}
}
movieClip 1456 {
}
movieClip 1457 game42 {
frame 1 {
_root.rules = 'To teh Portal!';
_root.beatClock = true;
oldx = 10;
xnumber = 10;
oldy = 200;
ynumber = 200;
startx = xnumber;
starty = ynumber;
angle = _rotation;
dir = 1;
i = 1;
size = 2;
color2 = 16777215;
spd = 8;
onEnterFrame = function () {
if (_root.cstatus == 1) {
(new Color(ball)).setRGB(color2);
if (xnumber > Stage.width) {
xnumber = Stage.width;
_root.gameOutcome(false);
}
if (xnumber < 0) {
xnumber = 0;
_root.gameOutcome(false);
}
if (ynumber < 0) {
ynumber = 0;
_root.gameOutcome(false);
}
if (ynumber > Stage.height) {
ynumber = Stage.height;
_root.gameOutcome(false);
}
++timer;
if (dir == 1) {
ball._x = xnumber + spd;
ball._y = ynumber;
} else {
if (dir == 2) {
ball._x = xnumber - spd;
ball._y = ynumber;
} else {
if (dir == 3) {
ball._x = xnumber;
ball._y = ynumber - spd;
} else {
if (dir == 4) {
ball._x = xnumber;
ball._y = ynumber + spd;
}
}
}
}
if (Key.isDown(39)) {
dir = 1;
angle = 0;
angle = (angle / 180) * Math.PI;
} else {
if (Key.isDown(37)) {
dir = 2;
angle = 180;
angle = (angle / 180) * Math.PI;
} else {
if (Key.isDown(38)) {
dir = 3;
angle = 270;
angle = (angle / 180) * Math.PI;
} else {
if (Key.isDown(40)) {
dir = 4;
angle = 90;
angle = (angle / 180) * Math.PI;
}
}
}
}
oldx = xnumber;
oldy = ynumber;
by_x = spd * Math.cos(angle);
by_y = spd * Math.sin(angle);
xnumber += by_x;
ynumber += by_y;
with ('line' + i) {
lineStyle(size, color2);
moveTo(oldx, oldy);
lineTo(xnumber, ynumber);
}
}
};
createEmptyMovieClip('bg', this.getNextHighestDepth());
with ('bg') {
moveTo(0, 0);
beginFill(0, 100);
lineTo(550, 0);
lineTo(550, 400);
lineTo(0, 400);
lineTo(0, 0);
}
stars = 0;
while (stars < 500) {
this.createEmptyMovieClip('star' + stars, this.getNextHighestDepth());
with (_root.g['star' + stars]) {
lineStyle(2, 16777215, 100);
lineTo(0.2, 0);
_alpha = random(100) + 10;
_x = random(Stage.width);
_y = random(Stage.height);
_rotation = random(360);
_height = random(5) - 2;
_width = _height;
}
++stars;
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 12401085;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 7568383;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 255;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 65280;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 16776960;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 16750848;
}
}
}
instance of movieClip 1446 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball.hitter)) {
_parent.oldx = _parent.xnumber;
_parent.oldy = _parent.ynumber;
_parent.color2 = 10027008;
}
}
}
instance portal of movieClip 1453 {
onClipEvent (load) {
this._x = 500;
this._y = random(Stage.height);
colorarr = new Array(10027008, 16750848, 16776960, 65280, 255, 7568383, 12401085);
color2 = colorarr[random(6)];
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
(new Color(this)).setRGB(color2);
if (color2 == _parent.color2) {
if (this.hitter.hitTest(_parent.ball.hitter)) {
_root.gameOutcome(true);
_parent.Outcome = 'Win';
}
} else {
_parent.Outcome = 'Lose';
}
}
}
}
}
movieClip 1462 {
}
movieClip 1464 {
}
movieClip 1467 {
}
movieClip 1469 {
}
movieClip 1470 {
}
movieClip 1472 {
}
movieClip 1473 {
}
movieClip 1474 {
instance caveSpawn1 of movieClip 1472 {
onClipEvent (load) {
q = 1;
e = 1000;
}
onClipEvent (enterFrame) {
_root.g.game.attachMovie('rakosmanRock1', 'rock' + q, q);
rock = _root.g.game['rock' + q];
rock._x = _root.g.game.spawner.caveSpawn1._x + 275;
rock._y = _root.g.game.spawner.caveSpawn1._y + 500;
_root.g.game.attachMovie('rakosmanRock2', 'rock2' + e, e);
rock2 = _root.g.game['rock2' + e];
rock2._x = _root.g.game.spawner.caveSpawn2._x + 275;
rock2._y = _root.g.game.spawner.caveSpawn2._y + 500;
++q;
++e;
}
}
}
movieClip 1476 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance man of movieClip 1470 {
onClipEvent (enterFrame) {
this._y += 1;
if (Key.isDown(39)) {
this._x += 5 + _root.speed / 2;
} else {
if (Key.isDown(37)) {
this._x -= 5 + _root.speed / 2;
} else {
this._x += 0;
}
}
}
}
instance spawner of movieClip 1474 {
onClipEvent (load) {
mult = 20 + (_root.speed - 1) * 2;
}
onClipEvent (enterFrame) {
distance = this._parent._parent.game.spawner.caveSpawn2._x - this._parent._parent.game.spawner.caveSpawn1._x;
this.caveSpawn2._x += Math.round(Math.random() * mult - mult / 2);
this.caveSpawn1._x += Math.round(Math.random() * mult - mult / 2);
if (distance <= 120 + 5 * _root.speed) {
this.caveSpawn1._x -= mult / 2;
}
if (distance >= 200 + 5 * _root.speed) {
this.caveSpawn1._x += mult / 2;
}
if (this.caveSpawn1._x <= -275) {
this.caveSpawn1._x += mult / 2;
this.caveSpawn2._x += mult / 2;
}
if (this.caveSpawn2._x >= 275) {
this.caveSpawn1._x -= mult / 2;
this.caveSpawn2._x -= mult / 2;
}
}
}
}
movieClip 1479 {
}
movieClip 1480 game43 {
frame 1 {
_root.rules = 'Avoid The Walls';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
this.game.gotoAndStop(2);
}
};
}
}
movieClip 1485 {
}
movieClip 1486 {
instance cannonRef of movieClip 1485 {
onClipEvent (enterFrame) {
this._x = this._parent._parent.cannon._x - 200 + (250 - _parent._x);
if (this.hitTest(this._parent.hitter)) {
this._parent._parent.cannon.hit = true;
} else {
this._parent._parent.cannon.hit = false;
}
}
}
}
movieClip 1494 {
}
movieClip 1495 {
}
movieClip 1509 {
frame 1 {
hit = false;
}
frame 1 {
stop();
}
frame 18 {
if (hit == true) {
this._parent.mirror._visible = false;
}
}
frame 25 {
stop();
if (this.hit == true) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
}
movieClip 1510 {
}
movieClip 1511 {
instance mirror of movieClip 1486 {
onClipEvent (load) {
this._x = Math.random() * 350 + 130;
}
}
instance cannon of movieClip 1509 {
onClipEvent (load) {
firing = false;
this._x = Math.random() * 480;
}
onClipEvent (enterFrame) {
if (firing == false) {
if (Key.isDown(37)) {
this._x -= 10;
}
if (Key.isDown(39)) {
this._x += 10;
}
if (Key.isDown(32)) {
this.play();
firing = true;
}
}
}
}
instance of movieClip 1510 {
onClipEvent (enterFrame) {
if (this._parent.hit == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
}
movieClip 1514 {
}
movieClip 1515 game45 {
frame 1 {
_root.rules = 'Break The Mirror';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
this.game.gotoAndStop(2);
}
};
}
}
movieClip 1519 {
}
movieClip 1522 {
}
movieClip 1524 {
}
movieClip 1540 {
}
movieClip 1546 {
}
movieClip 1547 {
}
// unknown tag 88 length 73
movieClip 1551 {
}
movieClip 1553 {
}
movieClip 1555 {
}
button 1556 {
on (release) {
if (question == 1) {
if (que1 == 'The number above [O] and [P] on a keyboard:') {
if (this.a1 == 0) {
this.question = 2;
trace('right');
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que1 == '1 x 1 = ?:') {
if (this.a1 == 1) {
this.question = 2;
trace('right');
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que1 == 'jmtb0(?):') {
if (this.a1 == 2) {
this.question = 2;
trace('right');
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que1 == 'The number of FourSecondF(...) games:') {
if (this.a1 == 3) {
this.question = 2;
trace('right');
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que1 == 'The number of legs on a cat:') {
if (this.a1 == 4) {
this.question = 2;
trace('right');
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
}
if (question == 2) {
if (que2 == 'The number above [O] and [P] on a keyboard:') {
if (this.a1 == 0) {
trace('right');
this.question = 3;
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que2 == '1 x 1 = ?:') {
if (this.a1 == 1) {
trace('right');
this.question = 3;
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que2 == 'jmtb0(?):') {
if (this.a1 == 2) {
trace('right');
this.question = 3;
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que2 == 'The number of FourSecondF(...) games:') {
if (this.a1 == 3) {
trace('right');
this.question = 3;
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que2 == 'The number of legs on a cat:') {
if (this.a1 == 4) {
trace('right');
this.question = 3;
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
}
if (question == 3) {
if (que3 == 'The number above [O] and [P] on a keyboard:') {
if (this.a1 == 0) {
trace('right');
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que3 == '1 x 1 = ?:') {
if (this.a1 == 1) {
trace('right');
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que3 == 'jmtb0(?):') {
if (this.a1 == 2) {
trace('right');
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que3 == 'The number of FourSecondF(...) games:') {
if (this.a1 == 3) {
trace('right');
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
if (que3 == 'The number of legs on a cat:') {
if (this.a1 == 4) {
trace('right');
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
trace('wrong');
}
}
}
}
}
movieClip 1561 {
}
movieClip 1563 {
}
movieClip 1564 game46 {
frame 1 {
question = 1;
Qarray = ['The number above [O] and [P] on a keyboard:', '1 x 1 = ?:', 'jmtb0(?):', 'The number of FourSecondF(...) games:', 'The number of legs on a cat:'];
Aarray = [];
_root.rules = 'Answer Correctly';
_root.beatClock = true;
Array;
q = random(Qarray.length);
que1 = Qarray[q];
ans1 = q;
q1 = que1;
e = random(Qarray.length);
que2 = Qarray[e];
ans2 = e;
q2 = que2;
i = random(Qarray.length);
que3 = Qarray[i];
ans3 = i;
q3 = que3;
Aarray = Aarray.toString();
while (ans2 == ans1) {
o = random(Qarray.length);
que2 = Qarray[o];
ans2 = o;
q2 = que2;
}
while (ans3 == ans1 or ans3 == ans2) {
u = random(Qarray.length);
que3 = Qarray[u];
ans3 = u;
q3 = que3;
}
Aarray = [ans1, ans2, ans3];
rev1 = Math.round(Math.random());
rev2 = Math.round(Math.random());
if (rev1 == 1) {
Aarray.reverse();
}
num1 = Aarray.shift();
if (rev2 == 1) {
Aarray.reverse();
}
num2 = Aarray.shift();
num3 = Aarray.shift();
this.a1 = num1;
this.a2 = num2;
this.a3 = num3;
onEnterFrame = function () {
if (_root.cstatus == 1) {
this.box._visible = false;
}
if (question == 1) {
questions = que1;
} else {
if (question == 2) {
questions = que2;
} else {
if (question == 3) {
questions = que3;
}
}
}
};
}
instance of movieClip 1547 {
onClipEvent (load) {
num = Math.floor(Math.random() * 5) + 1;
if (num == 6) {
num = 5;
}
this.gotoAndStop(num);
}
}
instance of movieClip 1547 {
onClipEvent (load) {
num = Math.floor(Math.random() * 5) + 1;
if (num == 6) {
num = 5;
}
this.gotoAndStop(num);
}
}
instance of movieClip 1547 {
onClipEvent (load) {
num = Math.floor(Math.random() * 5) + 1;
if (num == 6) {
num = 5;
}
this.gotoAndStop(num);
}
}
instance of movieClip 1547 {
onClipEvent (load) {
num = Math.floor(Math.random() * 5) + 1;
if (num == 6) {
num = 5;
}
this.gotoAndStop(num);
}
}
instance of movieClip 1547 {
onClipEvent (load) {
num = Math.floor(Math.random() * 5) + 1;
if (num == 6) {
num = 5;
}
this.gotoAndStop(num);
}
}
instance arrow of movieClip 1561 {
onClipEvent (load) {
Mouse.hide();
startDrag(this, true);
}
}
}
movieClip 1567 {
}
movieClip 1570 {
}
movieClip 1572 {
}
movieClip 1576 {
}
movieClip 1577 game47 {
frame 1 {
_root.rules = 'Fill The Barrel!';
_root.beatClock = true;
var munkyz = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
mun1.onPress = function () {
this.pressed = true;
this.startDrag('');
};
mun1.onRelease = function () {
this.pressed = false;
this.stopDrag();
};
mun2.onPress = function () {
this.pressed = true;
this.startDrag('');
};
mun2.onRelease = function () {
this.pressed = false;
this.stopDrag();
};
mun3.onPress = function () {
this.pressed = true;
this.startDrag('');
};
mun3.onRelease = function () {
this.pressed = false;
this.stopDrag();
};
mun4.onPress = function () {
this.pressed = true;
this.startDrag('');
};
mun4.onRelease = function () {
this.pressed = false;
this.stopDrag();
};
mun5.onPress = function () {
this.pressed = true;
this.startDrag('');
};
mun5.onRelease = function () {
this.pressed = false;
this.stopDrag();
};
if (munkyz >= 2) {
_root.gameOutcome(true);
}
}
};
}
instance barrelBox of movieClip 1570 {
onClipEvent (load) {
this._visible = false;
}
}
instance mun1 of movieClip 1572 {
onClipEvent (load) {
pressed = false;
rot = Math.random() * 30 + 10;
speed = Math.random() * 5 + 5;
dest = Math.random() * 50 + 290;
going = true;
hitted = false;
}
onClipEvent (enterFrame) {
if (!pressed and this.hitTest(_parent.barrelBox) and hitted) {
++_parent.munkyz;
this._y = 1000;
this._x = 1000;
going = false;
}
if (going) {
if (this._y < dest and !pressed) {
this._rotation += rot;
this._y += speed;
++speed;
} else {
speed = 0;
hitted = true;
}
}
}
}
instance mun5 of movieClip 1572 {
onClipEvent (load) {
pressed = false;
rot = Math.random() * 30 + 10;
speed = Math.random() * 5 + 5;
dest = Math.random() * 50 + 290;
going = true;
hitted = false;
}
onClipEvent (enterFrame) {
if (!pressed and this.hitTest(_parent.barrelBox) and hitted) {
++_parent.munkyz;
this._y = 1000;
this._x = 1000;
going = false;
}
if (going) {
if (this._y < dest and !pressed) {
this._rotation += rot;
this._y += speed;
++speed;
} else {
speed = 0;
hitted = true;
}
}
}
}
}
movieClip 1584 {
}
movieClip 1585 {
instance man of movieClip 1584 {
onClipEvent (load) {
this.startDrag(true, 0, 0, 550, 0);
track1 = this._x;
track2 = this._x;
}
onClipEvent (enterFrame) {
track1 = this._x;
if (track1 - track2 < 0) {
this._xscale = -200;
} else {
this._xscale = 200;
}
-200;
track2 = this._x;
}
}
}
movieClip 1588 {
}
movieClip 1591 game48 {
frame 1 {
function DINOBJECTS() {
if (_root.cstatus == 1) {
started = true;
++q;
obj = attachMovie('Din2_Link', 'obj' + q, this.getNextHighestDepth());
obj.gotoAndStop(random(9) + 1);
obj._x = Math.random() * 550;
obj._y = -10;
obj.rot = Math.random() * 50;
obj.useHandCursor = false;
}
}
_root.rules = 'Don\'t Get Hit!';
_root.beatClock = false;
q = 0;
speed = 5;
win = true;
started = false;
stop();
onEnterFrame = function () {
if (_root.cstatus == 0 && started == true && win == true) {
clearInterval(qq);
gotoAndStop(3);
}
};
qq = setInterval(DINOBJECTS, 750);
}
frame 2 {
stop();
clearInterval(qq);
}
frame 3 {
clearInterval(qq);
}
}
movieClip 1594 {
}
movieClip 1599 {
}
movieClip 1601 {
frame 1 {
var scale = random(50) + 30;
var rotate = random(100) + 200;
eval(_target)._x = _parent.firex + random(10) - 6;
eval(_target)._yscale = scale;
}
}
movieClip 1602 {
frame 1 {
var i = 1;
var max = 5;
var firex = fire._x;
}
frame 10 {
if (i <= max) {
duplicateMovieClip('fire', 'fire' + i, i);
++i;
}
}
frame 19 {
if (i <= max) {
duplicateMovieClip('fire', 'fire' + i, i);
++i;
}
gotoAndPlay(2);
}
}
movieClip 1604 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
play();
} else {
stop();
}
};
}
frame 39 {
stop();
_root.gameOutcome(false);
}
}
movieClip 1606 {
}
movieClip 1608 {
}
movieClip 1611 {
}
movieClip 1613 {
}
movieClip 1617 {
}
movieClip 1618 game49 {
frame 1 {
stop();
}
frame 1 {
_root.rules = 'Stay Awake!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
face1.face2.gotoAndPlay(face1.face2._currentframe - 3);
}
}
};
}
}
movieClip 1621 {
}
movieClip 1623 {
}
button 1628 {
on (rollOut) {
_parent.gotoAndPlay('robothit');
play();
}
}
button 1641 {
on (rollOut) {
_parent.gotoAndPlay('robotdie');
play();
}
}
movieClip 1644 {
}
movieClip 1648 {
frame 1 {
stop();
}
frame 13 {
stop();
}
frame 25 {
stop();
}
frame 26 {
_root.gameOutcome(true);
}
frame 39 {
stop();
}
}
movieClip 1650 {
}
movieClip 1652 {
frame 20 {
gotoAndPlay(1);
}
frame 40 {
gotoAndPlay(1);
}
frame 70 {
stop();
}
}
movieClip 1653 {
}
movieClip 1656 {
}
movieClip 1657 game50 {
frame 1 {
_root.rules = 'Slash the Killer Robot';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 1660 {
}
movieClip 1661 {
}
movieClip 1662 {
frame 1 {
stop();
}
}
movieClip 1665 {
}
movieClip 1666 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance colzonepiemonkey of movieClip 1665 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.red)) {
_root.gameOutcome(true);
_root.ass1.nextFrame();
_root.ass2.nextFrame();
_root.ass3.nextFrame();
_root.ass4.nextFrame();
_root.ass5.nextFrame();
_root.ass6.nextFrame();
_root.ass7.nextFrame();
_root.ass8.nextFrame();
_root.ass9.nextFrame();
_root.ass10.nextFrame();
}
}
}
}
movieClip 1685 {
}
movieClip 1686 {
frame 1 {
stop();
}
}
movieClip 1692 {
}
movieClip 1696 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1698 {
frame 1 {
stop();
}
}
movieClip 1700 {
frame 1 {
stop();
}
}
movieClip 1701 game51 {
frame 1 {
stop();
_root.rules = 'Get The Cargo';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance ass9 of movieClip 1662 {
onClipEvent (enterFrame) {
if (_root.red._x > _x) {
_x = _x + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._x < _x) {
_x = _x - 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y > _y) {
_y = _y + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y < _y) {
_y = _y - 1;
}
if (this._y > 400) {
this._y = 400;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
}
}
instance ass1 of movieClip 1662 {
onClipEvent (enterFrame) {
if (_root.red._x > _x) {
_x = _x + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._x < _x) {
_x = _x - 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y > _y) {
_y = _y + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y < _y) {
_y = _y - 1;
}
if (this._y > 400) {
this._y = 400;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
}
}
instance ass10 of movieClip 1662 {
onClipEvent (enterFrame) {
if (_root.red._x > _x) {
_x = _x + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._x < _x) {
_x = _x - 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y > _y) {
_y = _y + 1;
}
}
onClipEvent (enterFrame) {
if (_root.red._y < _y) {
_y = _y - 1;
}
if (this._y > 400) {
this._y = 400;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
}
}
instance red of movieClip 1696 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_y = _y - speed;
_root.g.red.gotoAndPlay(1);
} else {
_root.g.roll.stop();
}
if (Key.isDown(40)) {
_y = _y + speed;
_root.g.red.gotoAndPlay(2);
} else {
_root.g.roll.stop();
}
if (Key.isDown(37)) {
_x = _x - speed;
_root.g.red.gotoAndPlay(3);
} else {
_root.g.red.stop();
}
if (Key.isDown(39)) {
_x = _x + speed;
_root.g.red.gotoAndPlay(4);
} else {
_root.g.red.stop();
}
if (this._y > 400) {
this._y = 400;
}
if (this._y < 0) {
this._y = 0;
}
if (this._x > 550) {
this._x = 550;
}
if (this._x < 0) {
this._x = 0;
}
if (this.hitTest(_root.g.reed)) {
_root.g.teleporter.nextFrame();
_root.g.reed.nextFrame();
_root.g.deesound.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass1)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass2)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass3)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass4)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass5)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass6)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass7)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass8)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass9)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
_root.g.expsound.play();
this.speed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.ass10)) {
_root.gameOutcome(false);
_root.g.ass1.nextFrame();
_root.g.ass2.nextFrame();
_root.g.ass3.nextFrame();
_root.g.ass4.nextFrame();
_root.g.ass5.nextFrame();
_root.g.ass6.nextFrame();
_root.g.ass7.nextFrame();
_root.g.ass8.nextFrame();
_root.g.ass9.nextFrame();
_root.g.ass10.nextFrame();
_root.g.expsound.play();
this.speed = 0;
}
}
}
}
movieClip 1707 {
}
movieClip 1708 {
frame 1 {
center._alpha = 0;
}
}
movieClip 1710 {
}
movieClip 1712 {
}
movieClip 1714 {
}
movieClip 1716 {
}
// unknown tag 88 length 105
movieClip 1719 {
}
movieClip 1722 {
}
movieClip 1725 {
}
movieClip 1726 game52 {
frame 1 {
origy = center._y;
_root.rules = 'Hit the Target!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
dist = origy - _ymouse;
if (!arow.shot) {
center._y = origy + dist;
}
bow._x = spot2._x;
bow._y = spot2._y;
createEmptyMovieClip('line', 1);
with (line) {
lineStyle(2, 16699794);
moveTo(spot1._x, spot1._y);
curveTo(thing._x, 225, thing._x, thing._y);
curveTo(thing._x, 175, spot2._x, spot2._y);
}
}
};
}
instance target of movieClip 1708 {
onClipEvent (load) {
this._y = random(Stage.height);
down = true;
up = false;
spd = 3;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._y < 50) {
this._y = 50;
up = false;
down = true;
}
if (this._y > 350) {
this._y = 350;
down = false;
up = true;
}
if (up) {
this._y -= spd;
_parent.center._y -= spd;
} else {
if (down) {
this._y += spd;
_parent.center._y += spd;
}
}
}
}
}
instance arow of movieClip 1714 {
onClipEvent (load) {
shot = false;
hit = true;
_parent.bullseye._visible = false;
stop();
}
onClipEvent (enterFrame) {
_parent.thing._visible = false;
_parent.place._visible = _parent.thing._visible;
_parent.center._visible = _parent.thing._visible;
if (_root.cstatus == 1) {
if (this.hitter.hitTest(_parent.target)) {
if (this.hitter.hitTest(_parent.target.center)) {
_parent.bullseye._visible = true;
}
_root.gameOutcome(true);
gotoAndStop('hit');
hit = true;
if (_parent.target.up) {
this._y -= _parent.target.spd;
} else {
if (_parent.target.down) {
this._y += _parent.target.spd;
}
}
} else {
hit = false;
}
if (!hit) {
if (this._x < -10) {
_root.gameOutcome(false);
}
spd = xspeed;
if (this._x > _parent.center._x) {
Xd = _parent.center._x - _x;
Yd = _parent.center._y - _y;
}
radAngle = Math.atan2(Yd, Xd);
if (!shot) {
this._x = _parent.thing._x;
this._y = _parent.thing._y;
} else {
if (_rotation > 180) {
_y = _y + spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
}
}
}
}
}
}
instance thing of movieClip 1707 {
onClipEvent (load) {
drag = false;
orginx = 0;
curvex = this._x;
xTarget = curvex;
xSpeed = 5;
Speed = 5;
Stop = 1.2;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (drag) {
if (curvex <= _parent.place._x) {
curvex = _parent.place._x;
} else {
if (curvex >= _parent.place._x + 100) {
curvex = _parent.place._x + 100;
} else {
curvex = _parent._xmouse;
}
}
} else {
curvex += xSpeed;
xSpeed += (xTarget - curvex) / Speed;
xSpeed /= Stop;
}
if (!_parent.arow.shot) {
with (_parent.arow) {
_rotation = int(radAngle * 360 / 6.283185307179586 + 90);
}
_parent.arow.xspeed = (this._x - _parent.place._x) / 3;
} else {
with (_parent.arow) {
if (!_parent.arow.hitTest(_parent.target)) {
_rotation -= 0.5;
}
}
}
this._x = curvex;
}
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
drag = true;
}
}
onClipEvent (mouseUp) {
if (_root.cstatus == 1) {
if (drag && curvex > _parent.place._x) {
_parent.arow.shot = true;
}
drag = false;
}
}
}
}
movieClip 1729 {
}
movieClip 1731 {
}
movieClip 1733 {
}
movieClip 1740 {
frame 20 {
gotoAndPlay(1);
}
frame 27 {
gotoAndPlay('toosoon');
}
frame 34 {
gotoAndPlay('toolate');
}
frame 41 {
stop();
_root.gameOutcome(true);
}
}
button 1743 {
on (rollOver) {
gotoAndPlay('ropecut');
}
}
movieClip 1745 {
}
movieClip 1747 {
}
movieClip 1749 {
}
movieClip 1751 {
}
movieClip 1752 {
frame 60 {
gotoAndPlay(1);
}
frame 77 {
this._parent.chkStuff();
}
frame 98 {
stop();
}
}
movieClip 1755 {
}
movieClip 1756 {
frame 1 {
function chkStuff() {
burglar.theend = true;
if (burglar.virtx >= leftlimit && burglar.virtx <= rightlimit) {
burglar.gotoAndPlay('justright');
}
if (burglar.virtx < leftlimit) {
burglar.gotoAndPlay('toosoon');
}
if (burglar.virtx > rightlimit) {
burglar.gotoAndPlay('toolate');
}
}
leftlimit = 190;
rightlimit = 360;
speed = 6;
burglar.onEnterFrame = function () {
this.offset = 35;
if (!this.theend) {
this._x += speed;
}
this.virtx = this._x + this.offset;
};
}
}
movieClip 1759 {
}
movieClip 1760 game53 {
frame 1 {
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
}
frame 1 {
_root.rules = 'Stop the burglar';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 1763 {
}
movieClip 1765 {
}
movieClip 1767 {
}
movieClip 1768 {
}
movieClip 1771 {
}
movieClip 1773 {
}
// unknown tag 88 length 64
movieClip 1778 {
}
movieClip 1780 {
}
movieClip 1786 {
}
movieClip 1790 {
}
movieClip 1791 {
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 1790 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
}
movieClip 1792 {
}
movieClip 1887 {
frame 43 {
gotoAndPlay(1);
}
frame 52 {
stop();
_root.gameOutcome(false);
}
}
movieClip 1889 {
}
movieClip 1892 {
}
movieClip 1893 game54 {
frame 1 {
_root.rules = 'Don\'t Get Hacked!';
_root.beatClock = false;
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1763 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 1771 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 14));
}
}
instance of movieClip 1771 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 14));
}
}
instance of movieClip 1771 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 14));
}
}
instance of movieClip 1771 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 14));
}
}
instance of movieClip 1773 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.g.kid.wheel.hitTest(this) && _root.g.kid._currentframe <= 43) {
_root.g.kid.gotoAndPlay(44);
_root.g.kid.runspeed = 4;
_root.g.blood._visible = true;
}
}
}
}
instance kid of movieClip 1887 {
onClipEvent (load) {
runspeed = 4;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe <= 43) {
runspeed += 1;
}
_x = _x + runspeed;
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 37 && this._currentframe <= 43) {
runspeed -= 8;
}
}
}
}
instance blood of movieClip 1791 {
onClipEvent (load) {
_visible = false;
}
}
instance of movieClip 1889 {
onClipEvent (enterFrame) {
if (_root.g.kid.wheel.hitTest(this)) {
_root.g.kid.runspeed = 7;
}
}
}
}
movieClip 1897 {
}
movieClip 1900 {
}
movieClip 1902 {
}
movieClip 1904 {
}
movieClip 1906 {
}
movieClip 1908 {
}
movieClip 1910 {
}
movieClip 1913 {
}
movieClip 1916 {
}
movieClip 1917 game55 {
frame 1 {
_root.rules = 'Saw the log!';
_root.beatClock = true;
}
instance of movieClip 1902 {
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
measure = 0;
cut = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (measure > -40 && measure < 45) {
if (Key.isDown(37)) {
xSpeed -= 0.5;
ySpeed += 0.5;
_y = _y + 0.4;
} else {
if (Key.isDown(39)) {
xSpeed += 0.5;
ySpeed -= 0.5;
_y = _y + 0.4;
}
}
_x = _x + xSpeed;
_y = _y + ySpeed;
measure += xSpeed;
if (xSpeed > 0) {
cut += xSpeed;
} else {
cut -= xSpeed;
}
} else {
_root.gameOutcome(false);
}
if (cut >= 120) {
_parent.log1.onEnterFrame = function () {
this._rotation -= 2.5;
this._y += 10;
};
_parent.log2.onEnterFrame = function () {
this._rotation += 2.5;
this._y += 10;
};
_root.gameOutcome(true);
}
}
}
}
}
movieClip 1925 {
}
movieClip 1927 {
}
movieClip 1928 {
}
movieClip 1929 {
}
movieClip 1930 {
}
movieClip 1932 {
}
movieClip 1933 {
frame 1 {
stop();
}
frame 2 {
_parent.arrow1 = 'up';
}
frame 3 {
_parent.arrow1 = 'down';
}
frame 4 {
_parent.arrow1 = 'left';
}
frame 5 {
_parent.arrow1 = 'right';
}
frame 6 {
_parent.arrow1 = 'spacebar';
}
}
movieClip 1934 {
frame 1 {
stop();
}
frame 2 {
_parent.arrow2 = 'up';
}
frame 3 {
_parent.arrow2 = 'down';
}
frame 4 {
_parent.arrow2 = 'left';
}
frame 5 {
_parent.arrow2 = 'right';
}
frame 6 {
_parent.arrow2 = 'spacebar';
}
}
movieClip 1935 {
frame 1 {
stop();
}
frame 2 {
_parent.arrow3 = 'up';
}
frame 3 {
_parent.arrow3 = 'down';
}
frame 4 {
_parent.arrow3 = 'left';
}
frame 5 {
_parent.arrow3 = 'right';
}
frame 6 {
_parent.arrow3 = 'spacebar';
}
}
movieClip 1936 {
frame 1 {
stop();
}
frame 2 {
_parent.arrow4 = 'up';
}
frame 3 {
_parent.arrow4 = 'down';
}
frame 4 {
_parent.arrow4 = 'left';
}
frame 5 {
_parent.arrow4 = 'right';
}
frame 6 {
_parent.arrow4 = 'spacebar';
}
}
movieClip 1937 {
frame 1 {
stop();
}
frame 2 {
_parent.arrow5 = 'up';
}
frame 3 {
_parent.arrow5 = 'down';
}
frame 4 {
_parent.arrow5 = 'left';
}
frame 5 {
_parent.arrow5 = 'right';
}
frame 6 {
_parent.arrow5 = 'spacebar';
}
}
movieClip 1939 {
}
movieClip 1940 {
frame 1 {
stop();
}
}
movieClip 1941 {
}
movieClip 1943 {
}
movieClip 1973 {
frame 48 {
stop();
}
}
movieClip 1975 {
}
movieClip 1976 {
frame 1 {
function func(m) {
m.gotoAndStop(random(5) + 2);
}
function script1() {
mx.transitions.TransitionManager.start(mcCombo1, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
mcCombo1._alpha = 100;
luk1_bellSound.start(0, 1);
}
function script2() {
mx.transitions.TransitionManager.start(mcCombo2, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
mcCombo2._alpha = 100;
luk1_bellSound.start(0, 1);
}
function script3() {
mx.transitions.TransitionManager.start(mcCombo3, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
mcCombo3._alpha = 100;
luk1_bellSound.start(0, 1);
}
function script4() {
mx.transitions.TransitionManager.start(mcCombo4, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
mcCombo4._alpha = 100;
luk1_bellSound.start(0, 1);
}
function script5() {
mx.transitions.TransitionManager.start(mcCombo5, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
mcCombo5._alpha = 100;
luk1_bellSound.start(0, 1);
}
function script6() {
nextFrame();
}
function mcQmark1_animate() {
mx.transitions.TransitionManager.start(mcQmark1, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
}
function mcQmark2_animate() {
mx.transitions.TransitionManager.start(mcQmark2, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
}
function mcQmark3_animate() {
mx.transitions.TransitionManager.start(mcQmark3, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
}
function mcQmark4_animate() {
mx.transitions.TransitionManager.start(mcQmark4, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
}
function mcQmark5_animate() {
mx.transitions.TransitionManager.start(mcQmark5, {'type': mx.transitions.Zoom, 'direction': 0, 'duration': 1, 'easing': mx.transitions.easing.Elastic.easeOut});
}
function luk1_lose() {
if (SequenceGeneratorOutcome == false) {
gotoAndStop(8);
}
}
stop();
SequenceGeneratorOutcome = false;
luk1_bellSound = new Sound();
luk1_bellSound.attachSound('luk1_sndBell');
luk1_loseSound = new Sound();
luk1_loseSound.attachSound('luk1_sndLose');
luk1_guessSound = new Sound();
luk1_guessSound.attachSound('luk1_sndGuess');
var b = new Array(mcCombo1, mcCombo2, mcCombo3, mcCombo4, mcCombo5);
var i = 0;
while (i < b.length) {
func(b[i]);
++i;
}
mcCombo1._alpha = 0;
mcCombo2._alpha = 0;
mcCombo3._alpha = 0;
mcCombo4._alpha = 0;
mcCombo5._alpha = 0;
setTimeout(script1, 0);
setTimeout(script2, 300);
setTimeout(script3, 600);
setTimeout(script4, 900);
setTimeout(script5, 1200);
setTimeout(script6, 2300);
setTimeout(luk1_lose, 4000);
}
frame 2 {
stop();
mcQmark1_animate();
mcQmark2_animate();
mcQmark3_animate();
mcQmark4_animate();
mcQmark5_animate();
}
instance of movieClip 1941 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
if (_root.g.combo.arrow1 == 'left') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
if (_root.g.combo.arrow1 == 'right') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
if (_root.g.combo.arrow1 == 'down') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
if (_root.g.combo.arrow1 == 'up') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
if (_root.g.combo.arrow1 == 'spacebar') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
}
}
}
frame 3 {
mcQmark1_animate();
luk1_guessSound.start(0, 1);
}
instance of movieClip 1941 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
if (_root.g.combo.arrow2 == 'left') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
if (_root.g.combo.arrow2 == 'right') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
if (_root.g.combo.arrow2 == 'down') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
if (_root.g.combo.arrow2 == 'up') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
if (_root.g.combo.arrow2 == 'spacebar') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
}
}
}
frame 4 {
mcQmark2_animate();
luk1_guessSound.start(0, 1);
}
instance of movieClip 1941 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
if (_root.g.combo.arrow3 == 'left') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
if (_root.g.combo.arrow3 == 'right') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
if (_root.g.combo.arrow3 == 'down') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
if (_root.g.combo.arrow3 == 'up') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
if (_root.g.combo.arrow3 == 'spacebar') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
}
}
}
frame 5 {
mcQmark3_animate();
luk1_guessSound.start(0, 1);
}
instance of movieClip 1941 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
if (_root.g.combo.arrow4 == 'left') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
if (_root.g.combo.arrow4 == 'right') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
if (_root.g.combo.arrow4 == 'down') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
if (_root.g.combo.arrow4 == 'up') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
if (_root.g.combo.arrow4 == 'spacebar') {
_root.g.combo.nextFrame();
} else {
_root.g.combo.gotoAndStop(8);
}
}
}
}
}
frame 6 {
mcQmark4_animate();
luk1_guessSound.start(0, 1);
}
instance of movieClip 1941 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37) && _root.g.leftDown == false) {
_root.g.leftDown = true;
if (_root.g.combo.arrow5 == 'left') {
_root.g.combo.gotoAndStop(7);
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(39) && _root.g.rightDown == false) {
_root.g.rightDown = true;
if (_root.g.combo.arrow5 == 'right') {
_root.g.combo.gotoAndStop(7);
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(40) && _root.g.downDown == false) {
_root.g.downDown = true;
if (_root.g.combo.arrow5 == 'down') {
_root.g.combo.gotoAndStop(7);
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(38) && _root.g.upDown == false) {
_root.g.upDown = true;
if (_root.g.combo.arrow5 == 'up') {
_root.g.combo.gotoAndStop(7);
} else {
_root.g.combo.gotoAndStop(8);
}
}
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
if (_root.g.combo.arrow5 == 'spacebar') {
_root.g.combo.gotoAndStop(7);
} else {
_root.g.combo.gotoAndStop(8);
}
}
}
}
}
frame 7 {
stop();
mcQmark5_animate();
luk1_guessSound.start(0, 1);
SequenceGeneratorOutcome = true;
_root.gameOutcome(true);
}
frame 8 {
stop();
luk1_loseSound.start(0, 1);
_root.gameOutcome(false);
}
}
movieClip 1979 {
}
movieClip 1980 game56 {
frame 1 {
_root.rules = 'Do the sequence!';
_root.beatClock = true;
}
frame 1 {
leftDown = false;
upDown = false;
rightDown = false;
downDown = false;
spaceDown = false;
onEnterFrame = function () {
if (!Key.isDown(37)) {
leftDown = false;
}
if (!Key.isDown(39)) {
rightDown = false;
}
if (!Key.isDown(38)) {
upDown = false;
}
if (!Key.isDown(40)) {
downDown = false;
}
if (!Key.isDown(32)) {
spaceDown = false;
}
};
}
}
movieClip 1988 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 1994 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1995 {
}
movieClip 1998 {
}
movieClip 1999 game57 {
frame 1 {
_root.rules = 'Snag the Fly';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.tongue._currentframe == 1) {
_root.g.tongue._rotation += 3;
}
if (Key.isDown(32)) {
_root.g.tongue.gotoAndPlay(2);
}
}
};
}
instance tongue of movieClip 1988 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.hitTest(_root.g.fly)) {
_root.g.fly.zefly.gotoAndPlay(2);
_root.gameOutcome(true);
}
}
}
}
}
movieClip 2005 {
frame 40 {
gotoAndPlay(1);
}
frame 41 {
stop();
}
frame 42 {
stop();
}
}
movieClip 2008 {
}
movieClip 2009 {
}
movieClip 2010 {
}
movieClip 2021 {
}
movieClip 2024 {
}
movieClip 2027 {
}
movieClip 2029 {
}
movieClip 2037 {
}
movieClip 2038 {
frame 1 {
stop();
}
}
movieClip 2051 {
}
movieClip 2054 {
}
movieClip 2055 game58 {
frame 1 {
_root.rules = 'Get to the exit!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.player.hitTest(_root.g.ground.spikes)) {
_root.gameOutcome(false);
_root.g.bg.gotoAndStop(41);
}
if (_root.g.player.hitTest(_root.g.exit)) {
_root.gameOutcome(true);
_root.g.bg.gotoAndStop(42);
_root.g.player.gotoAndStop(4);
}
}
};
}
instance player of movieClip 2038 {
onClipEvent (load) {
grav = 0;
speed = 9;
jumpHeight = 15;
scale = _xscale;
slowfall = 0.8;
gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++grav;
_y = _y + grav;
while (_root.g.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
if ((Key.isDown(38) || Key.isDown(32)) && _root.g.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.g.ground.hitTest(_x + _width / 2, _y - _height / 2, true) || _root.g.ground.hitTest(_x + _width / 2, _y - (_height / 6) * 4, true)) {
_x = _x - speed;
}
if (_root.g.ground.hitTest(_x - _width / 2, _y - _height / 2, true) || _root.g.ground.hitTest(_x - _width / 2, _y - (_height / 6) * 4, true)) {
_x = _x + speed;
}
if (_root.g.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
}
onClipEvent (keyUp) {
gotoAndStop(3);
}
}
}
movieClip 2066 {
}
movieClip 2069 {
}
movieClip 2078 {
}
movieClip 2085 {
}
movieClip 2095 {
frame 2 {
_root.gameOutcome(false);
}
frame 9 {
stop();
}
}
movieClip 2096 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2100 {
}
movieClip 2101 {
frame 128 {
stop();
}
}
movieClip 2104 {
}
movieClip 2105 game59 {
frame 1 {
_root.rules = 'Avoid the salt';
_root.beatClock = false;
}
instance Nug5_snail of movieClip 2096 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._parent.Nug5_shaker._currentframe == 120) {
if (this.hitTest(this._parent.Nug5_shaker.Nug_salt)) {
this.gotoAndPlay('dead');
trace('poop');
}
}
if (_currentframe == 1 or _currentframe == 2) {
if (Key.isDown(39)) {
gotoAndStop(2);
this._x += 7;
if (this._x > 525) {
this._x = 525;
}
this._xscale = -100;
} else {
if (Key.isDown(37)) {
if (_currentframe == 1 or _currentframe == 2) {
gotoAndStop(2);
this._x -= 7;
this._xscale = 100;
if (this._x < 25) {
this._x = 25;
}
}
} else {
if (!Key.isDown(39) and !Key.isDown(39)) {
gotoAndStop(1);
}
}
}
}
}
}
onClipEvent (keyUp) {
if (_currentframe == 1 or _currentframe == 2) {
gotoAndStop(1);
}
}
}
instance Nug5_shaker of movieClip 2101 {
onClipEvent (load) {
delay = 3;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.Nug5_snail._x > this._x) {
this._x += delay;
}
if (_parent.Nug5_snail._x < this._x) {
this._x -= delay;
}
}
}
}
}
movieClip 2109 {
}
movieClip 2111 {
}
movieClip 2113 {
}
movieClip 2114 {
}
movieClip 2115 {
}
movieClip 2117 {
}
movieClip 2119 {
frame 1 {
stop();
}
frame 20 {
gotoAndStop(1);
}
}
movieClip 2121 {
}
movieClip 2122 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2125 {
}
movieClip 2126 game60 {
frame 1 {
_root.rules = 'Don\'t Shoot The Emo!';
_root.beatClock = false;
stop();
spaceDown = false;
onEnterFrame = function () {
if (!Key.isDown(32)) {
spaceDown = false;
}
};
}
instance of movieClip 2119 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x = _x - 10;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._x = _x + 10;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
play();
if (this._x > 200.7 && this._x < 349.6) {
_parent.white.play();
_root.gameOutcome(false);
}
}
}
}
}
}
movieClip 2129 {
}
movieClip 2134 {
}
movieClip 2136 {
}
movieClip 2137 {
}
movieClip 2142 {
frame 45 {
stop();
}
}
movieClip 2145 {
}
movieClip 2146 {
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
instance of movieClip 2145 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 20));
}
}
}
movieClip 2149 {
}
movieClip 2150 {
frame 1 {
stop();
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 2149 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
}
movieClip 2153 {
}
movieClip 2154 {
}
movieClip 2157 {
}
movieClip 2158 game61 {
frame 1 {
_root.beatclock = true;
_root.rules = 'To End Of The Track!';
}
instance of movieClip 2129 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 2129 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 2129 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 2129 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 32));
}
}
instance of movieClip 2134 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 17));
}
}
instance of movieClip 2134 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 17));
}
}
instance of movieClip 2137 {
onClipEvent (load) {
this._x = Math.random() * 550;
this._y = Math.random() * 100;
}
}
instance of movieClip 2142 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 25));
}
}
instance of movieClip 2142 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 25));
}
}
instance of movieClip 2142 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 25));
}
}
instance of movieClip 2137 {
onClipEvent (load) {
this._x = Math.random() * 550;
this._y = Math.random() * 100;
}
}
instance of movieClip 2137 {
onClipEvent (load) {
this._x = Math.random() * 550;
this._y = Math.random() * 100;
}
}
instance of movieClip 2137 {
onClipEvent (load) {
this._x = Math.random() * 550;
this._y = Math.random() * 100;
}
}
instance mover of movieClip 2150 {
onClipEvent (load) {
movingspeed = 7;
position = 2;
top = false;
bottom = false;
moveable = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (moveable == true) {
_x = _x + movingspeed;
}
if (position == 1) {
top = true;
} else {
top = false;
}
if (position == 3) {
bottom = true;
} else {
bottom = false;
}
if (movingspeed >= 12) {
movingspeed = 12;
}
if (movingspeed <= 4) {
movingspeed = 4;
}
}
}
onClipEvent (keyDown) {
if (_root.cstatus == 1) {
if (Key.getCode() == 38 && top == false && moveable == true) {
_y = _y - 50;
position -= 1;
}
if (Key.getCode() == 40 && bottom == false && moveable == true) {
_y = _y + 50;
position += 1;
}
}
}
}
instance of movieClip 2153 {
onClipEvent (load) {
_x = Math.ceil(Math.random() * 550) + 190;
eatspeed = 6;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.g.mover.hitTest(this)) {
_root.g.mover.gotoAndStop(2);
_root.g.mover.moveable = false;
_root.gameOutcome(false);
}
if (_root.g.mover.moveable == false) {
eatspeed = 0;
}
_x = _x - eatspeed;
}
}
}
instance of movieClip 2153 {
onClipEvent (load) {
_x = Math.ceil(Math.random() * 550) + 190;
eatspeed = 6;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.g.mover.hitTest(this)) {
_root.g.mover.gotoAndStop(2);
_root.g.mover.moveable = false;
_root.gameOutcome(false);
}
if (_root.g.mover.moveable == false) {
eatspeed = 0;
}
_x = _x - eatspeed;
}
}
}
instance of movieClip 2153 {
onClipEvent (load) {
_x = Math.ceil(Math.random() * 550) + 190;
eatspeed = 6;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.g.mover.hitTest(this)) {
_root.g.mover.gotoAndStop(2);
_root.g.mover.moveable = false;
_root.gameOutcome(false);
}
if (_root.g.mover.moveable == false) {
eatspeed = 0;
}
_x = _x - eatspeed;
}
}
}
instance of movieClip 2154 {
onClipEvent (enterFrame) {
if (_root.g.mover.hitTest(this)) {
_root.g.mover.moveable = false;
_root.gameOutcome(true);
}
}
}
}
movieClip 2161 {
}
movieClip 2185 {
}
movieClip 2191 {
frame 1 {
stop();
this._parent.slider.wait = false;
}
}
movieClip 2241 {
frame 1 {
stop();
}
frame 2 {
this._parent.space._visible = false;
if (this._parent.slider.swing == 1) {
gotoAndPlay('one');
}
}
frame 5 {
if (this._parent.slider.swing == 2) {
gotoAndPlay('one');
}
}
frame 9 {
if (this._parent.slider.swing == 3) {
gotoAndPlay('two');
}
}
frame 13 {
if (this._parent.slider.swing == 4) {
gotoAndPlay('three');
}
}
frame 20 {
this._parent.ball.hit = true;
}
frame 27 {
stop();
bison = false;
}
frame 28 {
this.gotoAndStop(27);
}
}
movieClip 2243 {
}
movieClip 2250 {
frame 1 {
stop();
}
frame 2 {
if (this._parent.slider.power == 1) {
gotoAndPlay('one');
}
}
frame 6 {
if (this._parent.slider.power == 2) {
gotoAndPlay('two');
}
}
frame 11 {
if (this._parent.slider.power == 3) {
gotoAndPlay('three');
}
}
frame 16 {
if (this._parent.slider.power == 4) {
gotoAndPlay('four');
}
}
frame 20 {
if (this._parent.slider.power == 5) {
gotoAndPlay('five');
}
}
frame 50 {
stop();
buffolo = false;
_root.gameOutcome(false);
}
frame 120 {
stop();
buffolo = false;
_root.gameOutcome(false);
}
frame 210 {
stop();
buffolo = false;
_root.gameOutcome(false);
}
frame 254 {
stop();
buffolo = false;
_root.gameOutcome(true);
}
frame 311 {
stop();
buffolo = false;
_root.gameOutcome(false);
}
}
movieClip 2254 {
frame 1 {
this.power = 1;
}
frame 1 {
stop();
}
frame 4 {
this.power = 2;
}
frame 7 {
this.power = 3;
}
frame 10 {
this.power = 4;
}
frame 14 {
this.power = 5;
}
frame 17 {
this.power = 5;
}
frame 20 {
this.power = 4;
}
frame 24 {
this.power = 3;
}
frame 27 {
this.power = 2;
}
frame 30 {
this.power = 1;
}
frame 32 {
stop();
}
}
movieClip 2273 {
}
movieClip 2274 {
frame 3 {
stop();
}
}
movieClip 2277 {
}
movieClip 2278 game63 {
frame 1 {
_root.rules = 'Space at green';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance space of movieClip 2191 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
play();
}
}
}
instance man of movieClip 2241 {
onClipEvent (load) {
bison = true;
}
onClipEvent (enterFrame) {
this._parent.man2.gotoAndStop(this._currentframe);
if (bison == true) {
this.swing = this._parent.slider.swing;
} else {
this.swing = 0;
}
if (this.swing != 0 and bison == true and this._parent.slider.Stop == true) {
this.play();
}
}
}
instance ball of movieClip 2250 {
onClipEvent (load) {
buffolo = true;
hit = false;
}
onClipEvent (enterFrame) {
if (buffolo == true) {
this.swing = this._parent.slider.swing;
} else {
this.swing = 0;
}
if (this.swing != 0 and buffolo == true and this._parent.slider.Stop == true) {
this.play();
}
}
}
instance slider of movieClip 2254 {
onClipEvent (load) {
go = false;
going = false;
Stop = false;
wait = false;
counter = 0;
swing = 0;
power = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
go = true;
if (Key.isDown(32) and wait == false) {
if (go == true) {
Stop = true;
}
if (going == false) {
go = true;
wait = true;
}
}
}
if (go == true) {
play();
going = true;
}
if (Stop == true) {
stop();
swing = power;
}
}
}
}
movieClip 2281 {
}
movieClip 2283 {
}
movieClip 2286 {
}
movieClip 2289 {
}
movieClip 2290 game64 {
frame 1 {
_root.beatClock = false;
_root.rules = 'Balance the dish!';
Mouse.hide();
}
instance stick of movieClip 2281 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse - _height / 2;
}
}
instance of movieClip 2283 {
onClipEvent (load) {
function rand(min, max) {
return Math.random() * (max - min) + min;
}
rTarget = rand(-1, 1);
while (rTarget == 0) {
rTarget = rand(-1, 1);
}
deadSpeed = 10;
speed = 0;
_x = rand(_width / 2, 550 - _width / 2);
_y = rand(_height / 2, 200 - _height / 2);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_rotation = _rotation - (_rotation - rTarget) / 10;
rTarget *= 1.01;
if (rTarget < 0) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (rTarget < -45) {
dead = true;
_root.gameOutcome(false);
} else {
if (rTarget > 45) {
dead = true;
_root.gameOutcome(false);
}
}
if (!hitTest(_parent.stick._x, _parent.stick._y, true)) {
_y = _y + speed;
speed += 2;
} else {
speed = 0;
_y = _y - (_y - _parent.stick._y) / 2;
rTarget += (_x - _parent.stick._x) / 20;
}
}
if (dead) {
_y = _y + deadSpeed;
if (rTarget < 0) {
_x = _x - deadSpeed / 3;
} else {
_x = _x + deadSpeed / 3;
}
deadSpeed += 2;
}
if (_y - _height / 2 > 400) {
dead = true;
_root.gameOutcome(false);
}
}
}
}
movieClip 2293 {
}
movieClip 2295 {
}
movieClip 2297 {
}
movieClip 2299 {
}
movieClip 2301 {
}
movieClip 2304 {
}
movieClip 2307 {
}
movieClip 2308 game65 {
frame 1 {
function startDraw(colour, tar, par) {
if (_root.cstatus == 1) {
this.createEmptyMovieClip('line' + i, this.getNextHighestDepth());
this['line' + i].lineStyle(2, colour);
this['line' + i].moveTo(_xmouse, _ymouse);
drawing = true;
target = tar;
parent = par;
trace('Start Draw');
}
}
function die() {
if (this[target].hitTest(_xmouse, _ymouse)) {
drawing = false;
this[parent].active = false;
this[target].active = false;
++joined;
} else {
drawing = false;
this['line' + i].onEnterFrame = function () {
this._alpha -= 10;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
++i;
}
_root.rules = 'Join the wires!';
_root.beatClock = true;
i = 1;
joined = 0;
onEnterFrame = function () {
if (drawing) {
this['line' + i].lineTo(_xmouse, _ymouse);
}
if (joined >= 2) {
_root.gameOutcome(true);
}
if (_root.cstatus != 1) {
die();
}
};
onMouseUp = die;
}
instance leftgreen of movieClip 2295 {
onClipEvent (load) {
active = true;
}
onClipEvent (press) {
if (active) {
_parent.startDraw(39168, 'rightgreen', 'leftgreen');
}
}
}
instance leftorange of movieClip 2297 {
onClipEvent (load) {
active = true;
}
onClipEvent (press) {
if (active) {
_parent.startDraw(16737792, 'rightorange', 'leftorange');
}
}
}
instance rightorange of movieClip 2299 {
onClipEvent (load) {
active = true;
}
onClipEvent (press) {
if (active) {
_parent.startDraw(16737792, 'leftorange', 'rightorange');
}
}
}
instance rightgreen of movieClip 2301 {
onClipEvent (load) {
active = true;
}
onClipEvent (press) {
if (active) {
_parent.startDraw(39168, 'leftgreen', 'rightgreen');
}
}
}
}
movieClip 2312 {
}
movieClip 2314 {
}
movieClip 2315 {
}
movieClip 2316 {
instance of movieClip 2314 {
onClipEvent (enterFrame) {
this._rotation += 10;
}
}
}
movieClip 2325 {
}
movieClip 2327 {
}
movieClip 2328 {
}
movieClip 2331 {
}
movieClip 2334 {
}
movieClip 2335 game66 {
frame 1 {
speed = 1;
_root.rules = 'Escape the Portal!';
_root.beatClock = false;
}
instance ship of movieClip 2328 {
onClipEvent (load) {
down = false;
spd = 2 * _root.speed;
spd2 = spd * 2.5;
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!this.ship.hitTest(_parent.center)) {
Yd = -(_y - _parent.center._y);
this._yscale = -(Xd + Yd) / 5;
Xd = _parent.center._x - _x;
this._xscale = (Xd + Yd) / 5;
this._alpha = -_xscale + 20;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(radAngle * 360 / 6.283185307179586 + 90);
if ((Key.isDown(32) || Key.isDown(38)) && !down) {
down = true;
_y = _y + spd2 * Math.cos(0.0174532925199433 * _rotation);
_x = _x - spd2 * Math.sin(0.0174532925199433 * _rotation);
} else {
_y = _y - spd * Math.cos(0.0174532925199433 * _rotation);
_x = _x + spd * Math.sin(0.0174532925199433 * _rotation);
}
if (!Key.isDown(32)) {
down = false;
}
} else {
_root.gameOutcome(false);
this._x = -1000;
this._y = -1000;
}
}
}
}
}
movieClip 2337 {
}
movieClip 2340 {
}
movieClip 2341 {
frame 1 {
stop();
}
}
movieClip 2342 {
}
movieClip 2343 {
frame 129 {
stop();
}
}
movieClip 2345 {
}
movieClip 2347 {
}
movieClip 2350 {
}
movieClip 2351 game67 {
frame 1 {
_root.rules = 'Hit the Bullseye';
_root.beatClock = true;
bullet = 1;
shot = new Sound(this);
shot.attachSound('shottaken');
onEnterFrame = function () {
if (_root.cstatus == 1) {
cursor._rotation += 3;
if (Key.isDown(37)) {
cursor._x -= 3;
}
if (Key.isDown(39)) {
cursor._x += 3;
}
if (Key.isDown(38)) {
cursor._y -= 3;
}
if (Key.isDown(40)) {
cursor._y += 3;
}
if (Key.isDown(32) and bullet == 1) {
bullet = 0;
shot.start(0, 1);
if (cursor.hitTest(target.target2.bullseye)) {
_root.gameOutcome(true);
target.target2.bullseye.gotoAndPlay(2);
} else {
_root.gameOutcome(false);
}
}
}
};
}
}
movieClip 2355 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
// unknown tag 88 length 75
movieClip 2360 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2364 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2366 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2367 {
frame 1 {
stop();
}
instance edi1_car2 of movieClip 2355 {
onClipEvent (load) {
this.gotoAndStop(int(random(3)));
}
}
instance edi1_wrongwaysign of movieClip 2360 {
onClipEvent (load) {
this.gotoAndStop(int(random(4)));
}
}
instance edi1_oldwoman of movieClip 2364 {
onClipEvent (load) {
this.gotoAndStop(int(random(4)));
}
}
instance edi1_fallentree of movieClip 2366 {
onClipEvent (load) {
this.gotoAndStop(int(random(4)));
}
}
}
movieClip 2369 {
}
movieClip 2374 {
}
movieClip 2378 {
}
movieClip 2381 {
}
movieClip 2382 game68 {
frame 1 {
_root.rules = 'Navagate Thru Fog';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
edi1_obstacles.play();
if (Key.isDown(37) and edi1_car._x > 100) {
edi1_car._x -= 15;
}
if (Key.isDown(39) and edi1_car._x < 450) {
edi1_car._x += 15;
}
edi1_shadow._x = edi1_car._x;
if (edi1_obstacles.hitTest(edi1_shadow)) {
_root.gameOutcome(false);
edi1_obstacles.stop();
edi1_owned._x = 300;
}
}
};
}
}
movieClip 2387 {
}
movieClip 2389 {
}
movieClip 2393 {
}
movieClip 2394 {
}
movieClip 2395 {
}
movieClip 2396 {
}
movieClip 2397 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 2398 {
instance flower2 of movieClip 2397 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1 && this.hitTest(_root.g.thing)) {
this.play();
_root.gameOutcome(true);
}
}
}
}
movieClip 2403 {
}
movieClip 2404 {
instance of movieClip 2403 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg.flower2.flower)) {
_root.bg.flower2.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg.flower6)) {
_root.bg.flower6.gotoAndPlay(2);
}
}
}
}
movieClip 2405 {
}
movieClip 2406 {
}
movieClip 2410 {
}
movieClip 2412 game69 {
frame 1 {
_root.rules = 'Crush the flower!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
frame 1 {
stop();
}
instance bg of movieClip 2398 {
onClipEvent (load) {
speed = -10;
stop();
}
onClipEvent (enterFrame) {
_x = _x + Key.isDown(39) * speed;
_x = _x - Key.isDown(37) * speed;
}
}
frame 2 {
stop();
}
}
movieClip 2415 {
frame 1 {
Nug6_widthSpan = 550;
Nug6_heightSpan = 400;
Nug6_twinkle = 30;
Nug6_Nug6_twinkleS = 5;
Nug6_Stars = 100;
Nug6_star.Nug6_pos = undefined;
i = 0;
while (i < Nug6_Stars) {
attachMovie('Nug6_star', 'Nug6_star' + i, i);
Nug6_star = this['Nug6_star' + i];
Nug6_star._alpha = Math.random() * Nug6_twinkle + (100 - Nug6_twinkle);
Nug6_star.Aset = Nug6_star._alpha;
Nug6_star.c = Math.random() * (Nug6_star.Aset / 2) + Nug6_star.Aset / 2;
Nug6_star.p = Math.random() * Nug6_Nug6_twinkleS;
Nug6_star.Nug6_pos = 'waning';
Nug6_star._x = Math.random() * Nug6_widthSpan;
Nug6_star._y = Math.random() * Nug6_heightSpan;
Nug6_star._yscale = Math.random() * 80 + 20;
Nug6_star._xscale = Nug6_star._yscale;
Nug6_star.onEnterFrame = function () {
if (this.Nug6_pos == 'waning') {
this._alpha -= this.p;
if (this._alpha <= this.c) {
this.Nug6_pos = 'waxing';
}
}
if (this.Nug6_pos == 'waxing') {
this._alpha += this.p;
if (this._alpha >= this.Aset) {
this.Nug6_pos = 'waning';
}
}
};
++i;
}
}
}
movieClip 2418 {
}
movieClip 2429 {
}
movieClip 2435 {
}
movieClip 2436 {
}
movieClip 2438 {
}
movieClip 2444 {
}
movieClip 2448 {
}
movieClip 2449 {
}
movieClip 2454 {
}
movieClip 2460 {
}
movieClip 2461 {
frame 5 {
Nug6_poop = 15;
onEnterFrame = function () {
Nug6_poop += 5;
this._y += Nug6_poop;
};
_root.gameOutcome(true);
trace('win');
}
instance of movieClip 2460 {
onClipEvent (load) {
this._rotation = Math.random() * 360;
}
}
frame 14 {
stop();
}
}
movieClip 2462 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2464 {
}
movieClip 2467 {
}
movieClip 2468 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2471 {
}
movieClip 2472 game70 {
frame 1 {
_root.beatClock = true;
_root.rules = 'Smash the bug!';
}
instance Nug6_fly of movieClip 2462 {
onClipEvent (load) {
Nug6_accel = 5;
this._x = random(550);
this._y = random(400);
Nug6_move = function () {
ranx = random(550);
rany = random(400);
};
Nug6_move();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 1) {
_x = _x + (ranx - _x) / Nug6_accel;
_y = _y + (rany - _y) / Nug6_accel;
if (Math.round(_x) == ranx || Math.round(_y) == rany) {
Nug6_move();
}
}
}
}
}
instance Nug6_hand of movieClip 2468 {
onClipEvent (load) {
Nug6_speed = 12;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this._x += Nug6_speed;
}
if (Key.isDown(37)) {
this._x -= Nug6_speed;
}
if (Key.isDown(38)) {
this._y -= Nug6_speed;
}
if (Key.isDown(40)) {
this._y += Nug6_speed;
}
if (Key.isDown(32)) {
nextFrame();
}
if (_parent.Nug6_fly._currentframe == 1) {
if (Nug6_down.hitTest(_parent.Nug6_fly.Nug6_fly2.Nug6_head)) {
_parent.Nug6_fly.play();
}
}
}
}
onClipEvent (keyUp) {
if (_currentframe > 1) {
play();
}
}
}
}
movieClip 2474 {
}
movieClip 2477 {
}
movieClip 2484 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2491 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2497 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2499 {
}
movieClip 2500 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 2502 {
}
movieClip 2503 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 2506 {
}
movieClip 2507 game71 {
frame 1 {
_root.rules = 'Cut the blue wire!';
_root.beatClock = true;
setTimeout(function () {
timer = '0:03';
}, 1000);
setTimeout(function () {
timer = '0:02';
}, 2000);
setTimeout(function () {
timer = '0:01';
}, 3000);
setTimeout(function () {
timer = '0:00';
_root.gameOutcome(false);
}, 4000);
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 2484 {
onClipEvent (rollOver) {
if (_root.cstatus == 1) {
play();
_parent.lose.play();
_root.gameOutcome(false);
}
}
}
instance of movieClip 2491 {
onClipEvent (rollOver) {
if (_root.cstatus == 1) {
play();
_parent.win.play();
_root.gameOutcome(true);
}
}
}
instance of movieClip 2497 {
onClipEvent (rollOver) {
if (_root.cstatus == 1) {
play();
_parent.lose.play();
_root.gameOutcome(false);
}
}
}
}
movieClip 2510 {
}
movieClip 2513 {
}
movieClip 2516 {
frame 1 {
stop();
}
}
movieClip 2518 {
}
movieClip 2520 {
}
movieClip 2523 {
}
movieClip 2524 game72 {
frame 1 {
_root.rules = 'Catch the Green Ball!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.g.hand.palm.hitTest(_root.g.bball1) || _root.g.hand.palm.hitTest(_root.g.bball2) || _root.g.hand.palm.hitTest(_root.g.bball3) || _root.g.hand.palm.hitTest(_root.g.bball4) || _root.g.hand.palm.hitTest(_root.g.bball5)) {
_root.gameOutcome(false);
}
};
}
instance hand of movieClip 2516 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
if (!this.hitTest(_root.g.gball)) {
this._y -= 16;
}
}
if (Key.isDown(40)) {
if (!this.hitTest(_root.g.gball)) {
this._y += 16;
}
}
if (this._y < 25) {
this._y = 25;
}
if (this._y > 300) {
this._y = 300;
}
}
}
}
instance ball5 of movieClip 2518 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (cstatus == 1) {
if (!_root.g.hand.palm.hitTest(_root.gball)) {
this._x -= 16;
}
}
}
}
instance bball4 of movieClip 2518 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (cstatus == 1) {
if (!_root.g.hand.palm.hitTest(_root.gball)) {
this._x -= 16;
}
}
}
}
instance bball3 of movieClip 2518 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (cstatus == 1) {
if (!_root.g.hand.palm.hitTest(_root.gball)) {
this._x -= 16;
}
}
}
}
instance bball2 of movieClip 2518 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (cstatus == 1) {
if (!_root.g.hand.palm.hitTest(_root.gball)) {
this._x -= 16;
}
}
}
}
instance bball1 of movieClip 2518 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!_root.g.hand.palm.hitTest(_root.gball)) {
this._x -= 16;
}
}
}
}
instance gball of movieClip 2520 {
onClipEvent (load) {
this._y = random(300);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (!this.hitTest(_root.g.hand.palm)) {
this._x -= 16;
} else {
_root.g.hand.gotoAndStop(2);
_root.gameOutcome(true);
}
}
}
}
}
// unknown tag 88 length 75
movieClip 2531 {
}
movieClip 2538 {
}
movieClip 2539 {
}
movieClip 2541 {
}
movieClip 2542 {
}
movieClip 2545 {
}
movieClip 2547 {
}
movieClip 2549 {
}
movieClip 2553 {
}
movieClip 2554 game73 {
frame 1 {
_root.rules = 'Shut down';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
rightclick._x = mousemain._x;
rightclick._y = mousemain._y;
leftclick._x = mousemain._x;
leftclick._y = mousemain._y;
cursor._x = mousemain._x / 2 - 100;
cursor._y = mousemain._y / 2 - 20;
if (startbutton.hitTest(cursor._x, cursor._y, true)) {
startmenu._x = 40;
startmenu._y = 40;
}
if (leftclick.clicked == true) {
if (startmenu.offbutton.hitTest(cursor._x, cursor._y, false)) {
_root.gameOutcome(true);
blanked._x = 0;
}
}
}
};
}
instance leftclick of movieClip 2545 {
onClipEvent (load) {
clicked = false;
}
onClipEvent (press) {
if (_root.cstatus == 1) {
clicked = true;
}
}
onClipEvent (release) {
clicked = false;
}
}
instance mousemain of movieClip 2549 {
onClipEvent (press) {
if (_root.cstatus == 1) {
startDrag(this, false, 290, 100, 600, 350);
} else {
stopDrag();
}
}
onClipEvent (release) {
stopDrag();
}
}
}
movieClip 2557 {
}
movieClip 2560 {
}
movieClip 2562 {
}
movieClip 2565 {
}
movieClip 2566 {
}
movieClip 2568 {
}
movieClip 2570 {
}
movieClip 2572 {
}
movieClip 2573 {
}
movieClip 2576 {
}
movieClip 2598 {
frame 1 {
stop();
}
frame 3 {
gotoAndStop(1);
}
frame 4 {
_root.gameOutcome(true);
}
frame 48 {
stop();
_root.gameOutcome(true);
}
}
movieClip 2599 {
frame 130 {
_parent.play();
_root.gameOutcome(false);
}
}
movieClip 2601 {
}
movieClip 2603 {
}
movieClip 2605 {
}
movieClip 2607 {
}
movieClip 2610 {
}
movieClip 2614 {
}
movieClip 2616 {
frame 1 {
stop();
}
frame 12 {
stop();
}
}
movieClip 2617 {
frame 1 {
stop();
bgSound = new Sound(this);
bgSound.attachSound('Autorifle');
click = new Sound(this);
click.attachSound('click');
}
instance bullseye_01 of movieClip 2616 {
onClipEvent (enterFrame) {
if (Key.isDown(32) == true) {
--_parent.ammo;
if (_parent.ammo <= 0) {
_parent.click.start(0, 2);
_parent.ammo = 0;
} else {
if (_parent.ammo > 0) {
_parent._parent.bullseye_02.play();
_parent.bullseye_01.play();
if (this.hitTest(_parent._parent.block_01)) {
} else {
if (this.hitTest(_parent._parent.block_02)) {
} else {
if (this.hitTest(_parent._parent.train_01.train_02.train_03)) {
--_parent.train_health;
if (_parent.train_health <= 0) {
_parent.train_health = 0;
}
if (_parent.train_dead == true) {
} else {
if (_parent.train_health > 1) {
_parent._parent.train_01.train_02.gotoAndPlay(2);
} else {
if (_parent.train_health <= 0) {
_parent._parent.train_01.train_02.gotoAndPlay(4);
_parent._parent.train_01.stop();
_parent.train_dead = true;
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
bgSound.start(0, 0);
}
frame 12 {
stop();
}
frame 15 {
bgSound.stop(0, 0);
bgSound.start(0, 0);
}
}
movieClip 2620 {
}
movieClip 2621 game74 {
frame 1 {
_root.rules = 'Kill the Train';
_root.beatClock = true;
train_random_spot = Number(random(100) + 226);
obstical_random_spot = Number(random(483) + 37);
bullseye_random_x_spot = Number(random(400) + 63);
bullseye_random_y_spot = Number(random(339.9) + 59.9);
obstical_3_random_spot = Number(random(483) + 37);
bullseye_02.train_health = 30;
bullseye_02.train_dead = false;
bullseye_02.ammo = 45;
stop();
}
instance of movieClip 2560 {
onClipEvent (enterFrame) {
_y = _parent.train_random_spot;
}
}
instance of movieClip 2562 {
onClipEvent (load) {
this._y = _parent.train_random_spot;
this._x = _parent.obstical_3_random_spot;
}
}
instance train_01 of movieClip 2599 {
onClipEvent (enterFrame) {
_y = _parent.train_random_spot;
}
}
instance block_02 of movieClip 2601 {
onClipEvent (load) {
this._y = _parent.train_random_spot;
this._x = _parent.obstical_3_random_spot;
}
}
instance of movieClip 2603 {
onClipEvent (load) {
this._y = _parent.train_random_spot;
this._x = _parent.obstical_3_random_spot;
}
}
instance block_01 of movieClip 2605 {
onClipEvent (enterFrame) {
_x = _parent.obstical_random_spot;
_y = _parent.train_random_spot;
}
}
instance back_01 of movieClip 2607 {
onClipEvent (enterFrame) {
_x = _parent.obstical_random_spot;
_y = _parent.train_random_spot;
}
}
instance bullseye_02 of movieClip 2617 {
onClipEvent (load) {
_x = _parent.bullseye_random_x_spot;
_y = _parent.bullseye_random_y_spot;
}
onClipEvent (enterFrame) {
holdingRight = false;
holdingLeft = false;
holdingUp = false;
holdingDown = false;
if (Key.isDown(39) == true) {
rightSpeed = 10;
this._x += rightSpeed;
holdingRight = true;
}
if (holdingRight == false) {
rightSpeed -= 2;
if (rightSpeed <= 0) {
rightSpeed = 0;
}
this._x += rightSpeed;
}
if (Key.isDown(37) == true) {
leftSpeed = 10;
this._x -= leftSpeed;
holdingLeft = true;
}
if (holdingLeft == false) {
leftSpeed -= 2;
if (leftSpeed <= 0) {
leftSpeed = 0;
}
this._x -= leftSpeed;
}
if (Key.isDown(38) == true) {
upSpeed = 10;
this._y -= upSpeed;
holdingUp = true;
}
if (holdingUp == false) {
upSpeed -= 2;
if (upSpeed <= 0) {
upSpeed = 0;
}
this._y -= upSpeed;
}
if (Key.isDown(40) == true) {
DownSpeed = 10;
this._y += DownSpeed;
holdingDown = true;
}
if (holdingDown == false) {
DownSpeed -= 2;
if (DownSpeed <= 0) {
DownSpeed = 0;
}
this._y += DownSpeed;
}
}
onClipEvent (enterFrame) {
if (this._x <= -3) {
this._x = -3;
}
if (this._y <= -2) {
this._y = -2;
}
if (this._x >= 553) {
this._x = 553;
}
if (this._y >= 402.9) {
this._y = 402.9;
}
}
}
}
movieClip 2626 {
}
movieClip 2629 {
frame 1 {
onEnterFrame = function () {
banS.text = _parent._parent.INbananas;
};
}
}
button 2630 {
on (press) {
if (INbananas < 10) {
++INbananas;
}
}
}
movieClip 2633 {
frame 1 {
onEnterFrame = function () {
strawS.text = _parent._parent.INstrawberries;
};
}
}
button 2634 {
on (press) {
if (INstrawberries < 10) {
++INstrawberries;
}
}
}
movieClip 2645 {
frame 1 {
stop();
}
}
movieClip 2656 {
}
movieClip 2669 {
frame 1 {
stop();
}
frame 23 {
stop();
}
}
button 2673 {
on (release) {
_parent.INbananas = 0;
_parent.INstrawberries = 0;
}
}
movieClip 2677 {
instance of movieClip 2645 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.INbananas + 1);
}
}
instance of movieClip 2656 {
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.INstrawberries + 1);
}
}
}
movieClip 2680 {
}
movieClip 2716 {
frame 31 {
stop();
}
}
movieClip 2744 {
}
movieClip 2745 {
frame 28 {
stop();
}
}
movieClip 2746 game75 {
frame 1 {
_root.rules = 'Make The Smoothie!';
_root.beatClock = true;
stop();
bananas = random(5) + 1;
strawberries = random(5) + 1;
INbananas = 0;
INstrawberries = 0;
onEnterFrame = function () {
strawT.text = ': ' + strawberries;
banT.text = ': ' + bananas;
if (_root.cstatus == 1) {
blender.go.onPress = function () {
if (INstrawberries == 0 && INbananas == 0) {
gotoAndStop(3);
} else {
if (INbananas == bananas && INstrawberries == strawberries) {
blender.blend.play();
_root.gameOutcome(true);
} else {
gotoAndStop(2);
}
}
};
}
};
}
frame 2 {
_root.gameOutcome(false);
}
frame 3 {
_root.gameOutcome(false);
}
}
movieClip 2755 {
frame 1 {
stop();
}
frame 499 {
stop();
}
}
movieClip 2758 {
}
movieClip 2761 {
}
movieClip 2764 {
}
movieClip 2765 game77 {
frame 1 {
_root.rules = 'Make \'em shine';
_root.beatClock = true;
xprevious = edi4_bristles._x;
cleanvalue = 749;
onEnterFrame = function () {
if (_root.cstatus == 1) {
edi4_bristles._x = edi4_brush._x;
edi4_bristles._y = edi4_brush._y;
xmove = int(int(edi4_bristles._x) - int(xprevious));
if (xmove < 0) {
xmove *= -1;
}
if (tooth1.hitTest(edi4_bristles)) {
tooth1.clean += xmove;
}
if (tooth2.hitTest(edi4_bristles)) {
tooth2.clean += xmove;
}
if (tooth3.hitTest(edi4_bristles)) {
tooth3.clean += xmove;
}
if (tooth4.hitTest(edi4_bristles)) {
tooth4.clean += xmove;
}
if (tooth5.hitTest(edi4_bristles)) {
tooth5.clean += xmove;
}
if (tooth6.hitTest(edi4_bristles)) {
tooth6.clean += xmove;
}
if (tooth7.hitTest(edi4_bristles)) {
tooth7.clean += xmove;
}
if (tooth8.hitTest(edi4_bristles)) {
tooth8.clean += xmove;
}
if (tooth9.hitTest(edi4_bristles)) {
tooth9.clean += xmove;
}
if (tooth10.hitTest(edi4_bristles)) {
tooth10.clean += xmove;
}
xprevious = edi4_bristles._x;
if (tooth1.clean > cleanvalue and tooth2.clean > cleanvalue and tooth3.clean > cleanvalue and tooth4.clean > cleanvalue and tooth5.clean > cleanvalue and tooth6.clean > cleanvalue and tooth7.clean > cleanvalue and tooth8.clean > cleanvalue and tooth9.clean > cleanvalue and tooth10.clean > cleanvalue) {
_root.gameOutcome(true);
}
}
};
}
instance tooth1 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth2 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth3 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth4 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth5 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth10 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth9 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth8 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth7 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance tooth6 of movieClip 2755 {
onClipEvent (load) {
clean = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(int(clean));
}
}
instance edi4_brush of movieClip 2761 {
onClipEvent (press) {
if (_root.cstatus == 1) {
startDrag(this, false);
} else {
this.stopDrag();
}
}
onClipEvent (release) {
stopDrag();
}
onClipEvent (enterFrame) {
if (_root.cstatus != 1) {
this.stopDrag();
}
}
}
}
movieClip 2769 {
}
movieClip 2785 {
}
movieClip 2786 {
}
movieClip 2792 {
}
movieClip 2793 {
instance of movieClip 2792 {
onClipEvent (keyDown) {
if (Key.isDown(38)) {
this._alpha = 0;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 38) {
this._alpha = 100;
}
}
}
instance of movieClip 2792 {
onClipEvent (keyDown) {
if (Key.isDown(40)) {
this._alpha = 0;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 40) {
this._alpha = 100;
}
}
}
}
movieClip 2794 {
}
movieClip 2797 {
}
movieClip 2800 {
}
movieClip 2801 game78 {
frame 1 {
function keyEvent(num) {
if (num == 38) {
if (hourChange && chooseHour < 23) {
++chooseHour;
} else {
if (!hourChange && chooseMins < 55) {
chooseMins += 10;
}
}
updateTime();
} else {
if (num == 40) {
if (hourChange && chooseHour > 0) {
--chooseHour;
} else {
if (!hourChange && chooseMins > 0) {
chooseMins -= 10;
}
}
updateTime();
}
}
}
function updateTime() {
digital.dig_hour = chooseHour;
digital.dig_minute = chooseMins;
if (chooseMins < 10) {
digital.dig_minute = '0' + digital.dig_minute;
}
}
_root.rules = 'Set the clock!';
_root.beatClock = true;
var hours = Math.floor(Math.random() * 10) + 1;
var minutes = 10 * Math.floor(Math.random() * 5) + 10;
var chooseHour = 0;
var chooseMins = 0;
var hourChange = true;
digital.arMinute._alpha = 0;
analog.hourHand._rotation = hours * 30;
analog.minuteHand._rotation = minutes * 6;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
hourChange = false;
digital.arHour._alpha = 0;
digital.arMinute._alpha = 100;
}
if (Key.isDown(37)) {
hourChange = true;
digital.arMinute._alpha = 0;
digital.arHour._alpha = 100;
}
if (chooseHour == hours && chooseMins == minutes) {
_root.gameOutcome(true);
}
}
};
}
instance analog of movieClip 2786 {
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
_parent.keyEvent(Key.getCode());
}
}
}
}
movieClip 2803 {
}
// unknown tag 88 length 41
movieClip 2817 {
frame 1 {
stop();
}
frame 10 {
_root.gameOutcome(true);
}
}
movieClip 2820 {
}
movieClip 2821 {
}
movieClip 2824 {
}
movieClip 2825 {
}
movieClip 2826 {
}
movieClip 2827 {
}
movieClip 2829 {
}
movieClip 2830 {
}
movieClip 2831 game79 {
frame 1 {
function keyAction(keyd) {
if (_root.cstatus == 1 && keyd == keytp) {
turner['ar' + keytp].gotoAndStop(1);
if (goNext) {
vol.nextFrame();
volbar.mask._width += 30;
goNext = false;
} else {
goNext = true;
}
++keytp;
if (keytp > 40) {
keytp = 37;
}
turner['ar' + keytp].play();
}
}
_root.rules = 'Turn it Up!';
_root.beatClock = true;
var goNext = false;
var keytp = Math.floor(Math.random() * 4) + 37;
volbar.mask._width = 0;
var i = 37;
while (i <= 40) {
turner['ar' + i].stop();
++i;
}
turner['ar' + keytp].play();
}
instance turner of movieClip 2826 {
onClipEvent (keyDown) {
_parent.keyAction(Key.getCode());
}
}
}
movieClip 2833 {
}
movieClip 2835 {
}
movieClip 2837 {
}
movieClip 2839 {
}
movieClip 2841 {
}
movieClip 2849 {
frame 1 {
stop();
}
frame 6 {
_root.gameOutcome(true);
}
frame 7 {
_root.gameOutcome(false);
}
}
movieClip 2850 game80 {
frame 1 {
function keyu(key) {
this['key' + key]._alpha = 50;
if (combo <= 4) {
if (key == this['combo' + combo]) {
++combo;
textItem.nextFrame();
} else {
if (key >= 37 && key <= 40) {
textItem.gotoAndStop(7);
combo = 5;
}
}
}
}
function keyd(key) {
this['key' + key]._alpha = 100;
}
_root.rules = 'Watch and Repeat!';
_root.beatClock = true;
var i = 0;
while (i <= 4) {
this['combo' + i] = Math.floor(Math.random() * 4) + 37;
++i;
}
var combo = 1;
var played = false;
var playCount = 1;
var plays = 0;
this['key' + this['combo' + combo]]._alpha = 100;
onEnterFrame = function () {
if (_root.cstatus == 1 && !played) {
if (playCount == 12) {
this['key' + this['combo' + combo]]._alpha = 50;
} else {
if (playCount >= 16) {
++plays;
++combo;
this['key' + this['combo' + combo]]._alpha = 100;
if (plays >= 4) {
played = true;
combo = 1;
textItem.nextFrame();
}
playCount = 0;
}
}
++playCount;
}
};
}
instance textItem of movieClip 2849 {
onClipEvent (keyDown) {
if (_parent.played) {
_parent.keyd(Key.getCode());
}
}
onClipEvent (keyUp) {
if (_parent.played) {
_parent.keyu(Key.getCode());
}
}
}
}
movieClip 2852 {
}
movieClip 2854 {
}
movieClip 2856 {
}
movieClip 2859 {
}
movieClip 2861 {
}
// unknown tag 88 length 105
movieClip 2875 {
}
movieClip 2877 {
}
movieClip 2878 {
frame 1 {
stop();
}
frame 5 {
var active = true;
}
frame 40 {
active = false;
}
}
movieClip 2880 {
}
movieClip 2882 {
}
movieClip 2886 {
}
movieClip 2888 {
}
movieClip 2889 {
}
movieClip 2890 {
frame 1 {
stop();
}
frame 4 {
_parent.hitMole();
}
}
movieClip 2892 game81 {
frame 1 {
function keyd(key) {
if (key == 37 && malletPos > 0) {
mallet._x -= 55;
--malletPos;
} else {
if (key == 39 && malletPos < 4) {
mallet._x += 55;
++malletPos;
} else {
if (key == 32) {
mallet.play();
}
}
}
}
function hitMole() {
if (this['mole' + malletPos].active) {
this['mole' + malletPos].gotoAndStop(1);
++molesHit;
}
}
_root.rules = 'Whack 4 Moles!';
_root.beatClock = true;
var malletPos = 0;
var randomNumber;
var i;
molesHit = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
i = 0;
while (i < 5) {
randomNumber = Math.random();
if (randomNumber > 0.98 && this['mole' + i]._currentframe == 1) {
this['mole' + i].play();
}
++i;
}
if (molesHit >= 4) {
_root.gameOutcome(true);
}
}
};
}
instance mallet of movieClip 2890 {
onClipEvent (keyDown) {
if (_root.cstatus == 1) {
_parent.keyd(Key.getCode());
}
}
}
}
movieClip 2899 {
}
movieClip 2901 {
}
movieClip 2903 {
}
movieClip 2904 {
frame 1 {
stop();
}
instance of movieClip 2903 {
onClipEvent (enterFrame) {
_rotation = _rotation + 29;
}
}
}
movieClip 2907 {
}
movieClip 2908 game82 {
frame 1 {
_root.rules = 'Dodge the Firestorm!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.player.hitTest(_root.g.fb1) || _root.g.player.hitTest(_root.g.fb2) || _root.g.player.hitTest(_root.g.fb3) || _root.g.player.hitTest(_root.g.fb4) || _root.g.player.hitTest(_root.g.fb5) || _root.g.player.hitTest(_root.g.fb6)) {
_root.g.player._x += 10;
_root.g.player.nextFrame();
_root.gameOutcome(false);
}
}
};
}
instance fb1 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
instance player of movieClip 2904 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
this._x -= 20;
}
if (Key.isDown(39)) {
this._x += 20;
}
if (_x < 0) {
_x = 0;
}
if (_x > 550) {
_x = 550;
}
}
}
}
instance fb2 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
instance fb3 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
instance fb4 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
instance fb5 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
instance fb6 of movieClip 2899 {
onClipEvent (load) {
this._x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._y -= 10;
}
}
}
}
movieClip 2919 {
frame 13 {
stop();
}
}
movieClip 2920 {
frame 1 {
stop();
}
instance of movieClip 2919 {
onClipEvent (load) {
_alpha = random(100);
_height = random(409.4);
_width = random(424.4);
if (_alpha <= 50) {
_alpha = 50;
}
if (_height <= 204.7) {
_height = 204.7;
}
if (_width <= 214.2) {
_width = 214.2;
}
}
}
}
movieClip 2927 {
}
movieClip 2930 {
}
movieClip 2931 {
}
movieClip 2932 game83 {
frame 1 {
_root.rules = 'Don\'t Fall Off!';
_root.beatClock = false;
}
instance ground of movieClip 2920 {
onClipEvent (load) {
gotoAndStop(random(4));
}
onClipEvent (enterFrame) {
_rotation = _rotation + 1.5;
}
}
instance of movieClip 2931 {
onClipEvent (load) {
grav = 0;
speed = 3;
jumpHeight = 15;
scale = _xscale;
slowfall = 0.8;
gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++grav;
_y = _y + grav;
while (_root.g.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
if (Key.isDown(38) && _root.g.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.g.ground.hitTest(_x + _width / 2, _y - _height / 2, true) || _root.g.ground.hitTest(_x + _width / 2, _y - (_height / 6) * 4, true)) {
_x = _x - speed;
}
if (_root.g.ground.hitTest(_x - _width / 2, _y - _height / 2, true) || _root.g.ground.hitTest(_x - _width / 2, _y - (_height / 6) * 4, true)) {
_x = _x + speed;
}
if (_root.g.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
if (_x > 550) {
_root.gameOutcome(false);
_root.g.ground.gotoAndStop('explode');
}
if (_x < 0) {
_root.gameOutcome(false);
_root.g.ground.gotoAndStop('explode');
}
if (_y > 400) {
_root.gameOutcome(false);
_root.g.ground.gotoAndStop('explode');
}
}
}
onClipEvent (keyUp) {
gotoAndStop(3);
}
}
}
movieClip 2935 {
}
movieClip 2938 {
frame 1 {
stop();
}
frame 17 {
stop();
}
}
movieClip 2941 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 2942 game84 {
frame 1 {
_root.rules = 'Clear the Area!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.g.star1._currentframe >= 2 && _root.g.star2._currentframe >= 2 && _root.g.star3._currentframe >= 2 && _root.g.star4._currentframe >= 2 && _root.g.star5._currentframe >= 2 && _root.g.star6._currentframe >= 2) {
_root.gameOutcome(true);
_root.g.level.nextFrame();
}
};
}
instance player of movieClip 2935 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_y = _y - 5;
}
if (Key.isDown(40)) {
_y = _y + 5;
}
if (Key.isDown(37)) {
_x = _x - 5;
}
if (Key.isDown(39)) {
_x = _x + 5;
}
if (_root.g.level.hitTest(_x, _y, true)) {
_root.gameOutcome(false);
_x = 202.5;
_y = 327.2;
}
}
}
}
instance star1 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star2 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star3 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star4 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star5 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star6 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
}
movieClip 2948 {
}
movieClip 2949 {
}
movieClip 2951 {
}
movieClip 2953 {
}
movieClip 2957 {
}
movieClip 2958 {
frame 1 {
stop();
}
instance of movieClip 2953 {
onClipEvent (enterFrame) {
this._rotation += 10;
}
}
frame 2 {
_root.gameOutcome(true);
}
frame 32 {
stop();
}
}
movieClip 2960 {
frame 1 {
stop();
}
}
movieClip 2961 game85 {
frame 1 {
_root.rules = 'Reach the exit!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
_root.g.ground.block1.stop();
_root.g.ground.block2.stop();
_root.g.ground.block3.stop();
}
}
};
}
instance of movieClip 2951 {
onClipEvent (load) {
grav = 0;
speed = 20;
scale = _xscale;
go = false;
stopp = false;
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.g.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (Key.isDown(32) && stopp == false) {
go = true;
}
if (go == true) {
_x = _x + speed;
_xscale = scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
if (this.hitTest(_root.g.exit)) {
_root.g.exit.play();
go = false;
stopp = true;
}
}
}
}
movieClip 2966 {
}
movieClip 2969 {
}
movieClip 2971 {
}
movieClip 2975 {
}
movieClip 2976 {
}
movieClip 2978 {
}
movieClip 2982 {
}
movieClip 2985 {
}
movieClip 2988 {
}
movieClip 3007 game86 {
frame 1 {
_root.rules = 'Delete Virus!';
_root.beatClock = true;
stop();
}
instance xpl1_virus1 of movieClip 2966 {
onClipEvent (load) {
time1 = 0;
xSpeed1 = 0;
ySpeed1 = 0;
grabbed1 = 0;
maxSpeed1 = 8;
dead1 = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (grabbed1 == 0 && dead1 == 0) {
if (time1 <= 0) {
time1 = random(15);
xSpeed1 = random(maxSpeed1);
ySpeed1 = random(maxSpeed1);
if (xSpeed1 < 4) {
xSpeed1 -= maxSpeed1;
}
if (ySpeed1 < 4) {
ySpeed1 -= maxSpeed1;
}
}
this._x += xSpeed1;
this._y += ySpeed1;
if (this._x < 0 || this._x > 550 - this._width) {
if (this._x < 0) {
this._x = 0;
}
if (this._x > 550 - this._width) {
this._x = 550 - this._width;
}
xSpeed1 = -xSpeed1;
}
if (this._y < 0) {
this._y = 0;
ySpeed1 = -ySpeed1;
}
if (this._y > 400 - this._height) {
this._y = 400 - this._height;
ySpeed1 = -ySpeed1;
}
time1 -= 1;
}
}
}
onClipEvent (press) {
if (_root.cstatus == 1) {
grabbed1 = 1;
startDrag(this, false);
}
}
onClipEvent (release) {
if (_root.cstatus == 1) {
grabbed1 = 0;
stopDrag();
if (_root.g.xpl1_virus1.hitTest(_root.g.xpl1_RecycleBin)) {
_root.g.xpl1_virus1._x = 600;
_root.g.xpl1_virus1._y = 600;
dead1 = 1;
_root.gameOutcome(true);
}
if (_root.g.xpl1_virus1.hitTest(_root.g.xpl1_MyComp)) {
_root.g.xpl1_virus1._x = 600;
_root.g.xpl1_virus1._y = 600;
dead1 = 1;
_parent.gotoAndPlay(3);
_root.gameOutcome(false);
}
}
}
}
frame 19 {
stop();
}
frame 20 {
stop();
}
}
movieClip 3011 {
}
movieClip 3013 {
}
// unknown tag 88 length 163
movieClip 3016 game87 {
frame 1 {
_root.rules = 'Get Green Circles!';
_root.beatClock = true;
stop();
}
instance xpl2_hyp1 of movieClip 3011 {
onClipEvent (load) {
_root.g.xpl2_hyp1Hit = 0;
hit = 0;
rad = 10;
this._x = -20;
this._y = -20;
this._width = 2 * rad;
this._height = 2 * rad;
radius = 150;
xPosi = random(6) - 3;
yPosi = Math.sqrt(20 - xPosi * xPosi);
zPosi = Math.sqrt(1 + xPosi * xPosi + yPosi * yPosi);
centerX = 0;
centerY = 0;
X0 = 0;
Y0 = 0;
Z0 = 0;
}
onClipEvent (enterFrame) {
if (_root.g.xpl2_hyp1Hit == 0) {
centerX = _root.g.xpl2_xPos;
centerY = _root.g.xpl2_yPos;
X0 = xPosi - centerX;
Y0 = yPosi - centerY;
Z0 = Math.sqrt(1 + X0 * X0 + Y0 * Y0);
R = Math.min(rad, Math.max(1, 5 * rad / Math.sqrt(X0 * X0 + Y0 * Y0)));
this._width = Math.round(R * 2);
this._height = Math.round(R * 2);
X0 = radius * (X0 / (Z0 + 1)) + 275;
Y0 = radius * (Y0 / (Z0 + 1)) + 200;
this._x = Math.round(X0);
this._y = Math.round(Y0);
} else {
this._x = -20;
this._y = -20;
}
}
}
instance xpl2_Ball of movieClip 3013 {
onClipEvent (load) {
hitObjects = 0;
maxSpeed = 0.1;
moveSpeed = 0.01;
this._x = 250;
this._y = 175;
this._width = 50;
this._height = 50;
_root.g.xpl2_xPos = 0;
_root.g.xpl2_yPos = 0;
zPos = 1;
xSpeed = 0;
ySpeed = 0;
accel = 1;
}
onClipEvent (enterFrame) {
function sinh(v) {
return 0.5 * (Math.exp(v) - Math.exp(-v));
}
function cosh(v) {
return 0.5 * (Math.exp(v) + Math.exp(-v));
}
if (Key.isDown(39)) {
xSpeed += moveSpeed;
} else {
if (Key.isDown(37)) {
xSpeed -= moveSpeed;
}
}
if (Key.isDown(38)) {
ySpeed -= moveSpeed;
} else {
if (Key.isDown(40)) {
ySpeed += moveSpeed;
}
}
if (Math.abs(xSpeed) > maxSpeed) {
xSpeed = (xSpeed / Math.abs(xSpeed)) * maxSpeed;
}
if (Math.abs(ySpeed) > maxSpeed) {
ySpeed = (ySpeed / Math.abs(ySpeed)) * maxSpeed;
}
sinhdx = sinh(xSpeed);
coshdx = cosh(xSpeed);
sinhdy = sinh(ySpeed);
coshdy = cosh(ySpeed);
_root.g.xpl2_xPos = _root.g.xpl2_xPos * coshdx + zPos * sinhdx;
zPos = _root.g.xpl2_xPos * sinhdx + zPos * coshdx;
_root.g.xpl2_yPos = _root.g.xpl2_yPos * coshdy + zPos * sinhdy;
zPos = _root.g.xpl2_yPos * sinhdy + zPos * coshdy;
if (hitTest(_root.g.xpl2_hyp1)) {
++hitObjects;
_root.g.xpl2_hyp1Hit = 1;
}
if (hitTest(_root.g.xpl2_hyp2)) {
++hitObjects;
_root.g.xpl2_hyp2Hit = 1;
}
if (hitObjects == 1) {
_root.gameOutcome(true);
}
}
}
instance xpl2_hyp2 of movieClip 3011 {
onClipEvent (load) {
_root.g.xpl2_hyp2Hit = 0;
hit1 = 0;
rad1 = 10;
this._width = 2 * rad;
this._height = 2 * rad;
radius1 = 150;
xPosi1 = random(6) - 3;
yPosi1 = -Math.sqrt(20 - xPosi1 * xPosi1);
zPosi1 = Math.sqrt(1 + xPosi1 * xPosi1 + yPosi1 * yPosi1);
centerX1 = 0;
centerY1 = 0;
X01 = 0;
Y01 = 0;
Z01 = 0;
}
onClipEvent (enterFrame) {
if (_root.g.xpl2_hyp2Hit == 0) {
centerX1 = _root.g.xpl2_xPos;
centerY1 = _root.g.xpl2_yPos;
X01 = xPosi1 - centerX1;
Y01 = yPosi1 - centerY1;
Z01 = Math.sqrt(1 + X01 * X01 + Y01 * Y01);
R1 = Math.min(rad1, Math.max(1, 5 * rad1 / Math.sqrt(X01 * X01 + Y01 * Y01)));
this._width = Math.round(R1 * 2);
this._height = Math.round(R1 * 2);
X01 = radius1 * (X01 / (Z01 + 1)) + 275;
Y01 = radius1 * (Y01 / (Z01 + 1)) + 200;
this._x = Math.round(X01);
this._y = Math.round(Y01);
} else {
this._x = -20;
this._y = -20;
}
}
}
}
movieClip 3018 {
}
movieClip 3021 {
}
movieClip 3022 {
}
movieClip 3025 {
}
movieClip 3026 {
}
movieClip 3029 {
}
movieClip 3030 game88 {
frame 1 {
_root.rules = 'Get your hat on the wall';
_root.beatClock = true;
speedx = 0;
speedy = 0;
hit = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(39) and hit == 0) {
speedx += 1;
}
if (Key.isDown(38) and hit == 0) {
speedy += 1.5;
hat._y -= speedy / 5;
}
if (Key.isDown(37) and hit == 0) {
speedx -= 1;
}
if (Key.isDown(40) and hit == 0) {
speedy -= 0.8;
}
if (!Key.isDown(38)) {
speedy -= 0.2;
hat._y -= speedy / 5;
}
hat._x += speedx / 3;
if (!Key.isDown(37)) {
speedx -= speedx / 50;
}
if (hat.hood.hitTest(hanger.hook)) {
_root.gameOutcome(true);
speedy = 0;
speedx = 0;
hit = 1;
}
hat._rotation = -speedy;
}
};
}
}
movieClip 3034 {
}
movieClip 3035 {
}
movieClip 3037 {
}
movieClip 3038 {
}
movieClip 3039 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 3042 {
}
movieClip 3043 {
}
movieClip 3044 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 3047 {
}
movieClip 3048 {
}
movieClip 3049 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 3051 {
}
movieClip 3053 {
}
movieClip 3054 {
}
movieClip 3057 {
}
movieClip 3058 game89 {
frame 1 {
_root.rules = 'Arrow Lines \'em up ';
_root.beatClock = true;
spaceDown = false;
onEnterFrame = function () {
if (!Key.isDown(32)) {
spaceDown = false;
}
};
}
frame 1 {
Nug7_rotnum = 1;
}
instance Nug7_c2 of movieClip 3039 {
onClipEvent (load) {
Nug7_presstimer1 = 0;
Nug7_presstimel1 = 0;
Nug7_set = 2;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.Nug7_rotnum == Nug7_set) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (_parent.Nug7_rotnum == Nug7_set) {
if (Key.isDown(39) || Key.isDown(40)) {
++Nug7_presstimer1;
if (Nug7_presstimer1 == 1) {
_rotation = _rotation + 90;
}
} else {
Nug7_presstimer1 = 0;
}
if (Key.isDown(37) || Key.isDown(38)) {
++Nug7_presstimel1;
if (Nug7_presstimel1 == 1) {
_rotation = _rotation - 90;
}
} else {
Nug7_presstimel1 = 0;
}
}
}
}
}
instance Nug7_c1 of movieClip 3044 {
onClipEvent (load) {
Nug7_presstimer = 0;
Nug7_presstimel = 0;
Nug7_set = 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.Nug7_rotnum == Nug7_set) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (_parent.Nug7_rotnum == Nug7_set) {
if (Key.isDown(39) || Key.isDown(40)) {
++Nug7_presstimer;
if (Nug7_presstimer == 1) {
_rotation = _rotation + 90;
}
} else {
Nug7_presstimer = 0;
}
if (Key.isDown(37) || Key.isDown(38)) {
++Nug7_presstimel;
if (Nug7_presstimel == 1) {
_rotation = _rotation - 90;
}
} else {
Nug7_presstimel = 0;
}
}
}
}
}
instance Nug7_c3 of movieClip 3049 {
onClipEvent (load) {
Nug7_presstimer2 = 0;
Nug7_presstimel2 = 0;
Nug7_set = 3;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.Nug7_rotnum == Nug7_set) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (_parent.Nug7_rotnum == Nug7_set) {
if (Key.isDown(39) || Key.isDown(40)) {
++Nug7_presstimer2;
if (Nug7_presstimer2 == 1) {
_rotation = _rotation + 90;
}
} else {
Nug7_presstimer2 = 0;
}
if (Key.isDown(37) || Key.isDown(38)) {
++Nug7_presstimel2;
if (Nug7_presstimel2 == 1) {
_rotation = _rotation - 90;
}
} else {
Nug7_presstimel2 = 0;
}
}
}
}
}
instance of movieClip 3054 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32) && _root.g.spaceDown == false) {
_root.g.spaceDown = true;
++_parent.Nug7_rotnum;
if (_parent.Nug7_rotnum > 3) {
_parent.Nug7_rotnum = 1;
}
}
}
}
onClipEvent (enterFrame) {
if (_parent.Nug7_c1.Nug7_hit1.hitTest(this) && _parent.Nug7_c2.Nug7_hit2.hitTest(this) && _parent.Nug7_c3.Nug7_hit3.hitTest(this)) {
_root.gameOutcome(true);
_parent.Nug7_win._visible = true;
} else {
_parent.Nug7_win._visible = false;
}
}
}
}
movieClip 3061 {
frame 1 {
this.onEnterFrame = function () {
this._rotation += 2;
};
}
}
movieClip 3062 {
frame 1 {
function per() {
var v3 = new Sound();
v3.attachSound('win1_explo');
v3.start(0, 1);
this.gotoAndStop(2);
_root.g.gan();
_root.gameOutcome(true);
}
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.g.nave)) {
var v3 = new Sound();
v3.attachSound('win1_explo');
v3.start(0, 1);
_root.g.nave.gotoAndStop(2);
_root.g.per();
}
};
}
frame 2 {
stop();
}
}
movieClip 3064 {
frame 1 {
stop();
var s = 10;
var a = 0;
var d = 0;
var p = true;
this.onEnterFrame = function () {
if (_root.cstatus == 1) {
var v4 = _root.g._xmouse - this._x;
var v3 = _root.g._ymouse - this._y;
var v6 = Math.sqrt(v4 * v4 + v3 * v3);
this._rotation = Math.asin(v4 / v6) / 0.0174532925199433;
if (v3 > 0) {
this._rotation = 180 - this._rotation;
}
if (p) {
_root.g._x -= Math.sin(0.0174532925199433 * this._rotation) * Math.abs(v4 / 10);
_root.g._y += Math.cos(0.0174532925199433 * this._rotation) * Math.abs(v3 / 10);
this._x += Math.sin(0.0174532925199433 * this._rotation) * Math.abs(v4 / 10);
this._y -= Math.cos(0.0174532925199433 * this._rotation) * Math.abs(v3 / 10);
_root.g.bord._x += Math.sin(0.0174532925199433 * this._rotation) * Math.abs(v4 / 10);
_root.g.bord._y -= Math.cos(0.0174532925199433 * this._rotation) * Math.abs(v3 / 10);
}
if (_root.g.b && s >= 15 && p) {
_root.g.attachMovie('win_bala', 'win_bala' + _root.g.w, _root.g.w++, {'_x': this._x, '_y': this._y, '_rotation': this._rotation});
s = 0;
var v5 = new Sound();
v5.attachSound('win1_balaso');
v5.start(0, 1);
}
++s;
if (this._x <= a) {
a -= 550;
_root.g.fond._x = a;
} else {
if (this._x >= a + 550) {
a += 550;
_root.g.fond._x = a;
}
}
if (this._y <= d) {
d -= 400;
_root.g.fond._y = d;
} else {
if (this._y >= d + 400) {
d += 400;
_root.g.fond._y = d;
}
}
}
};
}
}
movieClip 3072 {
}
movieClip 3078 {
}
movieClip 3079 {
frame 1 {
stop();
this.onEnterFrame = function () {
if (_root.g.nave.s < 15) {
this.cua.gotoAndStop(_root.g.nave.s + 1);
} else {
this.gotoAndStop(2);
}
};
}
frame 2 {
this.onEnterFrame = function () {
if (_root.g.nave.s < 15) {
this.gotoAndStop(1);
}
};
}
frame 3 {
this.onEnterFrame = undefined;
}
frame 4 {
this.onEnterFrame = undefined;
}
}
movieClip 3081 {
}
movieClip 3084 {
}
movieClip 3087 {
}
movieClip 3088 game90 {
frame 1 {
function gan() {
bord.bar.gotoAndStop(3);
_root.gameOutCome(true);
}
function per() {
bord.bar.gotoAndStop(4);
_root.g.nave.p = false;
_root.gameOutCome(false);
}
_root.rules = 'Destroy base!';
_root.beatClock = true;
var w = 0;
var b = false;
this.onMouseDown = function () {
b = true;
};
this.onMouseUp = function () {
b = false;
};
this.onMouseDown = function () {
b = true;
};
this.onMouseUp = function () {
b = false;
};
}
}
movieClip 3091 {
}
movieClip 3103 {
}
movieClip 3104 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 11 {
stop();
}
frame 16 {
stop();
}
frame 21 {
stop();
}
frame 26 {
stop();
}
frame 31 {
stop();
}
frame 36 {
stop();
}
frame 41 {
stop();
}
frame 46 {
stop();
}
frame 51 {
stop();
}
frame 56 {
stop();
}
frame 61 {
stop();
}
frame 66 {
stop();
}
frame 71 {
stop();
}
frame 72 {
_root.gameOutcome(true);
}
frame 97 {
stop();
}
frame 98 {
prevFrame();
}
}
movieClip 3107 {
}
movieClip 3108 game91 {
frame 1 {
_root.rules = 'Shake it up';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 3104 {
onClipEvent (load) {
prevX = this._x;
prevY = this._y;
this.startDrag(true);
}
onClipEvent (enterFrame) {
currX = this._x;
currY = this._y;
_root.g.dist = Math.sqrt(Math.pow(prevX - currX, 2) + Math.pow(prevY - currY, 2));
prevX = this._x;
prevY = this._y;
if (_root.g.dist > 40) {
this.play();
}
}
}
}
movieClip 3110 {
}
movieClip 3113 {
frame 25 {
stop();
}
}
movieClip 3115 {
}
movieClip 3118 {
frame 25 {
stop();
}
}
movieClip 3121 {
frame 25 {
stop();
}
}
movieClip 3123 {
frame 25 {
stop();
}
}
movieClip 3124 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.gameOutcome(true);
_root.g.gotoAndStop(2);
}
}
movieClip 3126 {
}
movieClip 3128 {
}
movieClip 3133 {
frame 1 {
stop();
}
frame 15 {
stop();
gotoAndStop(1);
}
frame 16 {
play();
}
frame 30 {
stop();
}
}
movieClip 3136 {
}
movieClip 3138 {
}
movieClip 3139 {
}
movieClip 3140 {
frame 1 {
play();
}
frame 15 {
stop();
}
}
movieClip 3143 {
frame 1 {
play();
}
frame 15 {
stop();
}
}
movieClip 3144 game92 {
frame 1 {
_root.rules = 'Check the 4 points';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
personaje.velocidad = 8;
personaje.yaesta = true;
started = true;
}
if (_root.cstatus == 0 && started == true) {
_root.g.gotoAndStop(3);
}
};
}
frame 1 {
stop();
}
instance of movieClip 3124 {
onClipEvent (enterFrame) {
if (this.hitcoso1.hitTest(_root.g.personaje.hitcoso)) {
this.nextFrame();
}
}
}
instance personaje of movieClip 3133 {
onClipEvent (load) {
velocidad = 0;
yaesta == false;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && yaesta == true) {
this.play();
_x = _x - velocidad;
_root.g.wheel1._x -= velocidad;
_root.g.wheel2._x -= velocidad;
_root.g.wheel1._rotation -= 5;
_root.g.wheel2._rotation -= 5;
}
if (Key.isDown(39) && yaesta == true) {
this.play();
_x = _x + velocidad;
_root.g.wheel1._rotation += 5;
_root.g.wheel2._rotation += 5;
_root.g.wheel1._x += velocidad;
_root.g.wheel2._x += velocidad;
}
}
}
}
movieClip 3150 {
}
movieClip 3155 {
}
movieClip 3157 {
}
movieClip 3159 {
}
movieClip 3162 {
}
movieClip 3164 {
}
movieClip 3166 {
}
movieClip 3168 {
}
movieClip 3170 {
}
movieClip 3172 {
}
movieClip 3174 {
}
movieClip 3176 {
}
movieClip 3178 {
}
movieClip 3180 {
}
movieClip 3182 {
}
movieClip 3184 {
}
movieClip 3186 {
}
movieClip 3189 {
}
movieClip 3191 {
frame 1 {
stop();
}
instance of movieClip 3150 {
onClipEvent (enterFrame) {
if (Key.isDown(39) && _root.cstatus == 1) {
_root.g.head.gotoAndStop(2);
}
}
}
instance of movieClip 3159 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(3);
}
}
}
frame 3 {
stop();
}
instance of movieClip 3162 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(4);
}
}
}
instance of movieClip 3164 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(5);
}
}
}
frame 5 {
stop();
}
instance of movieClip 3166 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(6);
}
}
}
instance of movieClip 3168 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(7);
}
}
}
frame 7 {
stop();
}
instance of movieClip 3170 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(8);
}
}
}
instance of movieClip 3172 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(9);
}
}
}
frame 9 {
stop();
}
instance of movieClip 3174 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(10);
}
}
}
instance of movieClip 3176 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(11);
}
}
}
frame 11 {
stop();
}
instance of movieClip 3178 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(12);
}
}
}
instance of movieClip 3180 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(13);
}
}
}
frame 13 {
stop();
}
instance of movieClip 3182 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(14);
}
}
}
instance of movieClip 3184 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(15);
}
}
}
frame 15 {
stop();
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.head.gotoAndStop(16);
}
}
}
instance of movieClip 3189 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.head.gotoAndStop(17);
}
}
}
frame 17 {
stop();
}
frame 17 {
stop();
_root.gameOutcome(true);
}
}
movieClip 3193 {
}
movieClip 3205 {
}
movieClip 3208 {
}
movieClip 3209 game93 {
frame 1 {
_root.rules = 'Suck his face!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
button 3213 {
on (release) {
_root.g.COUNTER = Number(_root.g.COUNTER) + 1000;
}
}
movieClip 3214 {
frame 1 {
acceleration = 10;
newpos = function () {
ranx = Math.round(Math.random() * 250);
rany = Math.round(Math.random() * 250);
};
newpos();
this.onEnterFrame = function () {
this._x += (ranx - this._x) / acceleration;
this._y += (rany - this._y) / acceleration;
if (Math.round(this._x) == ranx || Math.round(this._y) == rany) {
newpos();
}
};
}
}
button 3219 {
on (release) {
_root.g.COUNTER = Number(_root.g.COUNTER) - 1000;
}
}
movieClip 3220 {
frame 1 {
acceleration = 7;
newpos = function () {
ranx = Math.round(Math.random() * 255);
rany = Math.round(Math.random() * 255);
};
newpos();
this.onEnterFrame = function () {
this._x += (ranx - this._x) / acceleration;
this._y += (rany - this._y) / acceleration;
if (Math.round(this._x) == ranx || Math.round(this._y) == rany) {
newpos();
}
};
}
}
movieClip 3222 {
}
movieClip 3225 {
}
movieClip 3226 game94 {
frame 1 {
startDrag('CURSOR', true);
Mouse.hide();
COUNTER = 90;
wSize = Stage.width;
hSize = Stage.height;
fillType = 'linear';
colors = [16764057, 16777062];
alphas = [100, 100];
ratios = [0, 255];
matrix = {'matrixType': 'box', 'x': 0, 'y': 0, 'w': wSize, 'h': hSize, 'r': 1.570796326794897};
lineStyle(1, 16777215, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
lineTo(wSize, 0);
lineTo(wSize, hSize);
lineTo(0, hSize);
lineTo(0, 0);
endFill();
_root.rules = 'Click the smiley';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 3214 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_root.gameOutcome(true);
}
}
}
}
movieClip 3227 game95 {
}
movieClip 3231 {
}
movieClip 3232 {
}
movieClip 3234 {
}
movieClip 3237 {
}
movieClip 3240 {
}
movieClip 3242 {
}
movieClip 3245 {
}
movieClip 3247 {
}
movieClip 3249 {
instance difference2 of movieClip 3232 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 2) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference1 of movieClip 3234 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference3 of movieClip 3237 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 3) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference6 of movieClip 3240 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 6) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference5 of movieClip 3242 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 5) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference7 of movieClip 3245 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 7) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
instance difference4 of movieClip 3247 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (_parent.selectedDifference == 4) {
if (this.hitTest(_root._xmouse, _root._ymouse) || this.hitTest(_root._xmouse - 270, _root._ymouse) || this.hitTest(_root._xmouse + 270, _root._ymouse)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
_parent.mask._alpha = 100;
_parent.mask._x = this._x;
_parent.mask._y = this._y;
}
}
}
}
}
movieClip 3252 {
}
movieClip 3253 game96 {
frame 1 {
_root.rules = 'Click the difference';
_root.beatClock = true;
}
instance of movieClip 3249 {
onClipEvent (load) {
var selectedDifference = Math.ceil(Math.random() * 7);
trace('selectedDifference: ' + selectedDifference);
if (selectedDifference == 1) {
this.difference1._visible = false;
} else {
if (selectedDifference == 2) {
this.difference2._visible = false;
} else {
if (selectedDifference == 3) {
this.difference3._visible = false;
} else {
if (selectedDifference == 4) {
this.difference4._visible = false;
} else {
if (selectedDifference == 5) {
this.difference5._visible = false;
} else {
if (selectedDifference == 6) {
this.difference6._visible = false;
} else {
if (selectedDifference == 7) {
this.difference7._visible = false;
}
}
}
}
}
}
}
}
}
}
movieClip 3257 {
}
movieClip 3260 {
}
movieClip 3268 {
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 3257 {
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
}
}
}
}
}
movieClip 3270 {
}
movieClip 3274 {
}
movieClip 3275 game97 {
frame 1 {
_root.rules = 'Pull the carrot';
_root.beatClock = true;
}
instance of movieClip 3268 {
onClipEvent (load) {
var selectedFrame = Math.ceil(Math.random() * 8);
trace('selectedFrame: ' + selectedFrame);
gotoAndStop(selectedFrame);
}
}
}
movieClip 3279 {
}
movieClip 3281 {
}
movieClip 3282 {
}
movieClip 3284 {
}
movieClip 3286 {
}
movieClip 3288 {
}
movieClip 3289 {
frame 1 {
stop();
}
instance goal of movieClip 3284 {
onClipEvent (load) {
var xpositions = new Array(180, 360, 180, 360);
var ypositions = new Array(120, 60, 300, 300);
_x = xpositions[_parent.goalPosition];
_y = ypositions[_parent.goalPosition];
}
}
instance of movieClip 3286 {
onClipEvent (load) {
var xpositions = new Array(180, 360, 180, 360);
var ypositions = new Array(120, 60, 300, 300);
_x = xpositions[_parent.goalPosition];
_y = ypositions[_parent.goalPosition];
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.hitTest(_parent._parent.critter1)) {
_parent.play();
_root.gameOutcome(true);
}
}
}
}
instance critter1 of movieClip 3288 {
onClipEvent (load) {
_x = _parent._parent.critter1._x;
_y = _parent._parent.critter1._y;
var dx = 2;
var dy = dx;
}
onClipEvent (enterFrame) {
if (this._x > _parent.goal._x) {
_x = _x - dx;
} else {
_x = _x + dx;
}
if (this._y > _parent.goal._y) {
_y = _y - dy;
} else {
_y = _y + dy;
}
_alpha = ((this._x - _parent.goal._x) * (this._x - _parent.goal._x) + (this._y - _parent.goal._y) * (this._y - _parent.goal._y)) / 2;
}
}
frame 3 {
_parent.critter1._visible = false;
stop();
}
}
movieClip 3291 {
}
movieClip 3293 {
}
movieClip 3294 {
instance of movieClip 3293 {
onClipEvent (load) {
var rotationSpeed = 0;
var ROTATIONSPEEDMAX = 30;
var ACCELERATION = 3;
var DECCELERATION = 0.5;
var turnedOn = false;
}
onClipEvent (mouseDown) {
turnedOn = true;
}
onClipEvent (mouseUp) {
turnedOn = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (turnedOn) {
rotationSpeed += ACCELERATION;
if (rotationSpeed > ROTATIONSPEEDMAX) {
rotationSpeed = ROTATIONSPEEDMAX;
}
} else {
rotationSpeed -= DECCELERATION;
if (rotationSpeed < 0) {
rotationSpeed = 0;
}
}
_rotation = _rotation + rotationSpeed;
_root.g.fanpower = rotationSpeed;
if (_rotation > 360) {
_rotation = _rotation - 360;
}
}
}
}
}
movieClip 3297 {
}
movieClip 3298 game98 {
frame 1 {
function xFanEffect(critterX, critterY) {
var v2;
var v3;
var v4 = 10;
var v5 = 0.04;
var v7;
var v6;
v2 = (critterX - _root._xmouse) / v4;
v3 = (critterY - _root._ymouse) / v4;
v7 = v2 * v2 + v3 * v3;
v6 = _root.g.fanpower * _root.g.fanpower * v5 / v7;
return v6 * (v2 / (Math.abs(v2) + Math.abs(v3)));
}
function yFanEffect(critterX, critterY) {
var v3;
var v2;
var v4 = 10;
var v5 = 0.04;
var v7;
var v6;
v3 = (critterX - _root._xmouse) / v4;
v2 = (critterY - _root._ymouse) / v4;
v7 = v3 * v3 + v2 * v2;
v6 = _root.g.fanpower * _root.g.fanpower * v5 / v7;
return v6 * (v2 / (Math.abs(v3) + Math.abs(v2)));
}
_root.rules = 'Blow it in!';
_root.beatClock = true;
var fanpower = 0;
var setupNumber = Math.ceil(Math.random() * 4);
if (setupNumber == 1) {
gotoAndStop('bez03setup1');
} else {
if (setupNumber == 2) {
gotoAndStop('bez03setup2');
} else {
if (setupNumber == 3) {
gotoAndStop('bez03setup3');
} else {
if (setupNumber == 4) {
gotoAndStop('bez03setup4');
}
}
}
}
}
instance of movieClip 3289 {
onClipEvent (load) {
var goalPosition = Math.ceil(Math.random() * 3);
}
}
instance critter1 of movieClip 3288 {
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = +(_height / 2);
var BOTTOMBOUNDARY = 400 - _height / 2;
var LEFTBOUNDARY = +(_width / 2);
var RIGHTBOUNDARY = 550 - _width / 2;
}
onClipEvent (enterFrame) {
dx += _root.g.xFanEffect(_x, _y);
dy += _root.g.yFanEffect(_x, _y);
if (dx > MAXD) {
dx = MAXD;
} else {
if (dx < -MAXD) {
dx = -MAXD;
}
}
if (dy > MAXD) {
dy = MAXD;
} else {
if (dy < -MAXD) {
dy = -MAXD;
}
}
_x = _x + dx;
_y = _y + dy;
dx *= FRICTION;
dy *= FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy *= BOUNCINESS;
} else {
if (_y > BOTTOMBOUNDARY) {
_y = BOTTOMBOUNDARY;
dy *= BOUNCINESS;
}
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx *= BOUNCINESS;
} else {
if (_x > RIGHTBOUNDARY) {
_x = RIGHTBOUNDARY;
dx *= BOUNCINESS;
}
}
if (this.hitTest(_root.g.block1) || this.hitTest(_root.g.block2) || this.hitTest(_root.g.block3) || this.hitTest(_root.g.block4) || this.hitTest(_root.g.block5) || this.hitTest(_root.g.block6) || this.hitTest(_root.g.block7) || this.hitTest(_root.g.block8) || this.hitTest(_root.g.block9) || this.hitTest(_root.g.block10) || this.hitTest(_root.g.block11) || this.hitTest(_root.g.block12) || this.hitTest(_root.g.block13) || this.hitTest(_root.g.block14) || this.hitTest(_root.g.block15) || this.hitTest(_root.g.block16) || this.hitTest(_root.g.block17) || this.hitTest(_root.g.block18) || this.hitTest(_root.g.block19) || this.hitTest(_root.g.block20) || this.hitTest(_root.g.block21) || this.hitTest(_root.g.block22) || this.hitTest(_root.g.block23) || this.hitTest(_root.g.block24) || this.hitTest(_root.g.block25) || this.hitTest(_root.g.block26) || this.hitTest(_root.g.block27) || this.hitTest(_root.g.block28) || this.hitTest(_root.g.block29) || this.hitTest(_root.g.block30) || this.hitTest(_root.g.block31) || this.hitTest(_root.g.block32)) {
dx *= BOUNCINESS;
dy *= BOUNCINESS;
_x = _x + dx;
_y = _y + dy;
}
_root.g.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
}
instance fan of movieClip 3294 {
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance of movieClip 3289 {
onClipEvent (load) {
var goalPosition = Math.ceil(Math.random() * 3);
if (goalPosition == 1) {
goalPosition = 0;
}
}
}
instance of movieClip 3289 {
onClipEvent (load) {
var goalPosition = Math.ceil(Math.random() * 3);
if (goalPosition == 2) {
goalPosition = 0;
}
}
}
instance of movieClip 3289 {
onClipEvent (load) {
var goalPosition = Math.ceil(Math.random() * 3);
if (goalPosition == 3) {
goalPosition = 0;
}
}
}
}
movieClip 3304 {
}
movieClip 3305 {
}
button 3307 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(1);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3308 {
}
movieClip 3310 {
}
button 3312 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(2);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3313 {
}
movieClip 3315 {
}
button 3317 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(3);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3318 {
}
movieClip 3320 {
}
button 3322 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(4);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3323 {
}
movieClip 3325 {
}
button 3327 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(5);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3328 {
}
movieClip 3330 {
}
button 3332 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(6);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3333 {
}
movieClip 3335 {
}
button 3337 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(7);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3338 {
}
movieClip 3340 {
}
button 3342 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(8);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3343 {
}
movieClip 3345 {
}
button 3347 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(9);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3348 {
}
movieClip 3350 {
}
button 3352 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(10);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3353 {
}
movieClip 3355 {
}
button 3357 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(11);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3358 {
}
movieClip 3360 {
}
button 3362 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(12);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3363 {
}
movieClip 3365 {
}
button 3367 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(13);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3368 {
}
movieClip 3370 {
}
button 3372 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(14);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3373 {
}
movieClip 3375 {
}
button 3377 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(15);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3378 {
}
movieClip 3380 {
}
button 3382 {
on (press) {
if (active == true) {
this.startDrag();
}
}
on (release) {
if (active == true) {
this.stopDrag();
if (this._x > _root.g.puzzlex - _root.g.lenience && this._x < _root.g.puzzlex + _root.g.lenience && this._y > _root.g.puzzley - _root.g.lenience && this._y < _root.g.puzzley + _root.g.lenience) {
this._x = _root.g.puzzlex;
this._y = _root.g.puzzley;
active = false;
trace('clicked');
_root.g.lowerDepth(16);
}
trace(this._x + ',' + this._y);
}
}
}
movieClip 3383 {
}
movieClip 3384 {
}
movieClip 3387 {
}
movieClip 3388 game99 {
frame 1 {
_root.rules = 'Put it together!';
_root.beatClock = true;
var puzzlex = 274.4;
var puzzley = 179.5;
var lenience = 50;
}
instance p1 of movieClip 3308 {
onClipEvent (load) {
var active = false;
}
}
instance p2 of movieClip 3313 {
onClipEvent (load) {
var active = false;
}
}
instance p3 of movieClip 3318 {
onClipEvent (load) {
var active = false;
}
}
instance p4 of movieClip 3323 {
onClipEvent (load) {
var active = false;
}
}
instance p5 of movieClip 3328 {
onClipEvent (load) {
var active = false;
}
}
instance p6 of movieClip 3333 {
onClipEvent (load) {
var active = false;
}
}
instance p7 of movieClip 3338 {
onClipEvent (load) {
var active = false;
}
}
instance p8 of movieClip 3343 {
onClipEvent (load) {
var active = false;
}
}
instance p9 of movieClip 3348 {
onClipEvent (load) {
var active = false;
}
}
instance p10 of movieClip 3353 {
onClipEvent (load) {
var active = false;
}
}
instance p11 of movieClip 3358 {
onClipEvent (load) {
var active = false;
}
}
instance p12 of movieClip 3363 {
onClipEvent (load) {
var active = false;
}
}
instance p13 of movieClip 3368 {
onClipEvent (load) {
var active = false;
}
}
instance p14 of movieClip 3373 {
onClipEvent (load) {
var active = false;
}
}
instance p15 of movieClip 3378 {
onClipEvent (load) {
var active = false;
}
}
instance p16 of movieClip 3383 {
onClipEvent (load) {
var active = false;
}
}
frame 2 {
function breakPiece(pieceNumber, plonkingx, plonkingy) {
var picked;
do {
picked = Math.ceil(Math.random() * 16);
} while (picked == removed[0] || picked == removed[1] || picked == removed[2] || picked == removed[3]);
trace('picked:' + picked);
(eval('p' + picked)).active = true;
(eval('p' + picked))._x = plonkingx;
(eval('p' + picked))._y = plonkingy;
(eval('p' + picked))._x -= xmodifiers[picked % 4];
(eval('p' + picked))._y -= ymodifiers[Math.ceil(picked / 4)];
(eval('p' + picked)).swapDepths(eval('depthmc' + depthNumber));
++depthNumber;
removed[pieceNumber] = picked;
}
function lowerDepth(pieceNumber) {
(eval('p' + pieceNumber)).swapDepths(eval('depthmc' + depthNumber));
++depthNumber;
trace('depthNumber:' + depthNumber);
if (depthNumber == 7) {
_root.gameOutcome(true);
}
}
var depthNumber = 1;
var plah = 0;
var xmodifiers = new Array(127.125, -127.125, -42.375, 42.375);
var ymodifiers = new Array(0, -127.125, -42.375, 42.375, 127.125);
var removed = new Array(0, 0, 0, 0);
breakPiece(0, 45.625, 107.625);
breakPiece(1, 60.625, 257.625);
breakPiece(2, 504.625, 153.625);
stop();
}
}
movieClip 3401 {
}
movieClip 3408 {
}
movieClip 3411 {
}
movieClip 3412 game100 {
frame 1 {
_root.rules = 'Escape the Grues';
_root.beatClock = false;
gruespeed = 7.5;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (kitty._x > grue2._x) {
grue2._x += gruespeed;
}
if (kitty._x < grue2._x) {
grue2._x -= gruespeed;
}
if (kitty._y > grue2._y) {
grue2._y += gruespeed;
}
if (kitty._y < grue2._y) {
grue2._y -= gruespeed;
}
if (kitty._x > grue1._x) {
grue1._x += gruespeed;
}
if (kitty._x < grue1._x) {
grue1._x -= gruespeed;
}
if (kitty._y > grue1._y) {
grue1._y += gruespeed;
}
if (kitty._y < grue1._y) {
grue1._y -= gruespeed;
}
if (kitty.hitTest(grue1._x, grue1._y)) {
_root.gameOutcome(false);
}
if (kitty.hitTest(grue2._x, grue2._y)) {
_root.gameOutcome(false);
}
} else {
kitty.stopDrag();
}
};
}
instance kitty of movieClip 3408 {
onClipEvent (press) {
if (_root.cstatus == 1) {
startDrag(this, true);
}
}
}
}
movieClip 3414 {
}
movieClip 3416 {
}
movieClip 3418 {
}
movieClip 3420 {
}
movieClip 3421 {
}
movieClip 3423 {
}
movieClip 3439 {
frame 14 {
stop();
}
}
movieClip 3440 {
frame 1 {
stop();
}
}
movieClip 3443 {
}
movieClip 3444 game101 {
frame 1 {
_root.rules = 'One shot!';
_root.beatClock = true;
speedx = 30;
speedy = 30;
shoot = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (shoot == 0) {
if (Key.isDown(37) || Key.isDown(38)) {
cannon.barrel._rotation -= 2;
ball._rotation -= 2;
if (shoot == 0) {
--speedx;
speedy += 1.5;
}
}
}
if (Key.isDown(39) || Key.isDown(40)) {
cannon.barrel._rotation += 2;
ball._rotation += 2;
if (shoot == 0) {
++speedx;
speedy -= 1.5;
}
}
if (Key.isDown(32)) {
shoot = 1;
}
if (shoot == 1) {
ball._y -= speedy;
ball._x += speedx;
--speedy;
speedx -= speedx / 25;
}
if (ball.hitTest(castle)) {
castle.gotoAndStop(2);
ball._visible = false;
_root.gameOutcome(true);
}
}
};
}
}
movieClip 3449 {
}
movieClip 3450 {
}
movieClip 3451 {
}
movieClip 3454 {
}
movieClip 3458 {
}
movieClip 3460 {
}
movieClip 3462 {
}
movieClip 3463 {
}
movieClip 3466 {
}
movieClip 3468 {
}
movieClip 3469 {
}
movieClip 3472 {
}
movieClip 3477 {
}
movieClip 3480 {
}
movieClip 3483 {
}
movieClip 3484 game102 {
frame 1 {
_root.rules = 'Grab the BEER!!!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root._xmouse > oldX) {
speed1 = _root._xmouse - oldX;
} else {
speed1 = oldX - _root._xmouse;
}
if (_root._ymouse > oldY) {
speed2 = _root._ymouse - oldY;
} else {
speed2 = oldY - _root._ymouse;
}
oldX = _root._xmouse;
oldY = _root._ymouse;
if (_root.cstatus == 1) {
speed = (speed1 + speed2) / 30;
yTarget -= speed;
yTarget += 2;
hand._y -= (hand._y - yTarget) / 10;
}
if (hand._y <= 402) {
_root.gameOutcome(true);
hand._y = 402;
hand.gotoAndStop(2);
beer.speed = 0;
hand.speed = 0;
beer.onEnterFrame = function () {
this._y += speed++;
};
hand.onEnterFrame = function () {
this._y += speed++;
};
}
trace(hand._y);
};
yTarget = hand._y;
oldX = _root._xmouse;
oldY = _root._ymouse;
hand.stop();
}
}
// unknown tag 88 length 70
movieClip 3490 {
}
movieClip 3491 {
}
movieClip 3492 game103 {
frame 1 {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function openPopup(ignoreCstatus) {
if (_root.cstatus == 1 || ignoreCstatus) {
++i;
this.attachMovie('dic_popup' + rand(1, 5), 'popup' + i, this.getNextHighestDepth());
this['popup' + i]._x = rand(0, 550);
this['popup' + i]._y = rand(0, 400);
}
}
function closePopup(instanceName) {
if (_root.cstatus == 1) {
this[instanceName].removeMovieClip();
++closed;
if (closed >= 5) {
_root.gameOutcome(true);
}
}
}
_root.rules = 'Close 5 pop-ups!';
_root.beatClock = true;
i = 0;
closed = 0;
j = 0;
while (j < 4) {
openPopup(true);
++j;
}
interval = 0;
onEnterFrame = function () {
++interval;
if (interval > 64) {
interval = 0;
openPopup();
}
};
}
}
movieClip 3494 {
}
movieClip 3496 {
}
movieClip 3497 {
}
movieClip 3500 {
}
movieClip 3501 {
}
movieClip 3502 {
}
movieClip 3505 {
}
movieClip 3521 {
}
movieClip 3522 {
frame 1 {
_visible = false;
}
}
movieClip 3526 {
frame 11 {
gotoAndStop(1);
}
}
movieClip 3528 {
}
movieClip 3529 {
}
movieClip 3533 {
}
movieClip 3534 {
frame 8 {
stop();
}
}
movieClip 3535 game104 {
frame 1 {
_root.rules = 'Feed the fish!';
_root.beatClock = true;
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance of movieClip 3505 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 430;
_x = rand(0, 550);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 3;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < 0) {
reset();
}
}
}
instance fish of movieClip 3526 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
rTarget = rand(-40, 40);
timer = 32 * rand(1, 3);
speed = 3;
}
reset();
stop();
_y = rand(100, 300);
_x = rand(150, 550);
}
onClipEvent (enterFrame) {
if (!fed) {
_rotation = _rotation - (_rotation - rTarget) / 20;
} else {
_rotation = _rotation + 2;
}
_x = _x + Math.cos((_rotation - 180) * Math.PI / 180) * speed;
_y = _y + Math.sin((_rotation - 180) * Math.PI / 180) * speed;
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
if (_y + _height / 2 < 100) {
rTarget = -30;
}
if (_y - _height / 2 > 300) {
rTarget = 30;
}
--timer;
if (timer <= 0) {
reset();
}
}
}
instance feeder of movieClip 3534 {
onClipEvent (load) {
cooldown = 0;
i = 0;
_x = random(550);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
_x = _x - 10;
} else {
if (Key.isDown(39)) {
_x = _x + 10;
}
}
if (_x + _width / 2 < 0) {
_x = 550 + _width / 2;
}
if (_x - _width / 2 > 550) {
_x = -(_width / 2);
}
--cooldown;
if (Key.isDown(32) && cooldown <= 0) {
cooldown = 32;
++i;
_parent.attachMovie('dic_food', 'food' + i, _parent.getNextHighestDepth());
_parent['food' + i]._x = _x;
_parent['food' + i]._y = 0;
_parent['food' + i].speed = 0;
_parent['food' + i]._rotation = random(360);
_parent['food' + i].onEnterFrame = function () {
this.speed += 2;
this._y += this.speed;
if (this._y > 400) {
this.removeMovieClip();
}
if (this.hitTest(_parent.fish.hit)) {
_parent.fish.play();
_parent.fish.fed = true;
_root.gameOutcome(true);
this.removeMovieClip();
}
};
}
}
}
}
}
movieClip 3539 {
}
movieClip 3540 {
}
movieClip 3542 {
}
movieClip 3543 {
}
movieClip 3545 {
frame 1 {
_visible = false;
}
}
movieClip 3546 {
}
movieClip 3548 {
}
movieClip 3549 {
}
movieClip 3550 {
}
movieClip 3553 {
}
movieClip 3556 {
frame 15 {
stop();
}
}
movieClip 3557 game105 {
frame 1 {
_root.rules = 'Inject the needle!';
_root.beatClock = true;
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance of movieClip 3543 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
function reset() {
_y = 400 + _height / 2;
_x = rand(0, 450);
leftLimit = _x - rand(10, 100);
rightLimit = _x + rand(10, 100);
left = rand(0, 1);
speed = 0;
}
reset();
_y = rand(0, 400);
speed = rand(1, 6);
}
onClipEvent (enterFrame) {
speed += Math.random() / 20;
_y = _y - speed;
if (left) {
_x = _x - 0.5;
} else {
_x = _x + 0.5;
}
if (_x < leftLimit) {
left = false;
} else {
if (_x > rightLimit) {
left = true;
}
}
if (_y < -_height / 2) {
reset();
}
}
}
instance aim of movieClip 3550 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
_x = rand(0, 550);
_y = rand(0, 400);
for (;;) {
if (!(!_parent.arm.hit1.hitTest(_x, _y) && !_parent.arm.hit2.hitTest(_x, _y) && !_parent.arm.hit3.hitTest(_x, _y) && !_parent.arm.hit4.hitTest(_x, _y) && !_parent.arm.hit5.hitTest(_x, _y) && !_parent.arm.hit6.hitTest(_x, _y) && !_parent.arm.hit7.hitTest(_x, _y) && !_parent.arm.hit8.hitTest(_x, _y))) break;
_y = rand(0, 400);
}
}
}
instance needle of movieClip 3556 {
onClipEvent (load) {
function rand(min, max) {
return Math.round(Math.random() * (max - min) + min);
}
stop();
_x = rand(100, 450);
_y = rand(100, 300);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
_x = _x - 10;
} else {
if (Key.isDown(39)) {
_x = _x + 10;
}
}
if (Key.isDown(38)) {
_y = _y - 10;
} else {
if (Key.isDown(40)) {
_y = _y + 10;
}
}
if (Key.isDown(32) && _currentframe == 1) {
if (_parent.arm.hit1.hitTest(_x, _y) || _parent.arm.hit2.hitTest(_x, _y) || _parent.arm.hit3.hitTest(_x, _y) || _parent.arm.hit4.hitTest(_x, _y) || _parent.arm.hit5.hitTest(_x, _y) || _parent.arm.hit6.hitTest(_x, _y) || _parent.arm.hit7.hitTest(_x, _y) || _parent.arm.hit8.hitTest(_x, _y)) {
play();
if (_parent.aim.hitTest(_x, _y, false)) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
}
}
}
}
}
movieClip 3560 {
}
movieClip 3562 {
}
movieClip 3564 {
}
movieClip 3570 {
frame 1 {
stop();
}
}
movieClip 3573 {
}
movieClip 3574 game106 {
frame 1 {
_root.rules = 'Get home';
_root.beatClock = true;
speedx = -8;
speedy = 0;
gtas = 3;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
speedy = -8;
speedx = 0;
gtas = 1;
} else {
if (Key.isDown(40)) {
speedy = 8;
speedx = 0;
gtas = 2;
} else {
if (Key.isDown(37)) {
speedx = -8;
speedy = 0;
gtas = 3;
} else {
if (Key.isDown(39)) {
speedx = 8;
speedy = 0;
gtas = 4;
}
}
}
}
player.gotoAndStop(gtas);
player._x += speedx;
player._y += speedy;
if (player.hitTest(home)) {
_root.gameOutcome(true);
}
if (player._x <= 64 or player._x >= 486 or player._y <= 58 or player._y >= 336 or player.hitTest(badblock)) {
_root.gameOutcome(false);
}
}
};
}
}
movieClip 3576 {
}
movieClip 3579 {
}
movieClip 3581 {
frame 1 {
_visible = false;
}
}
movieClip 3583 {
frame 1 {
_visible = false;
}
}
movieClip 3584 {
}
movieClip 3587 {
}
movieClip 3590 {
}
movieClip 3591 game107 {
frame 1 {
_root.rules = 'Avoid the light!';
_root.beatClock = false;
}
instance of movieClip 3584 {
onClipEvent (load) {
function reset() {
rTarget = random(360);
clearInterval(interval);
interval = setInterval(reset, 500 + random(1000));
}
reset();
_x = 150 + random(400);
_y = 150 + random(250);
_rotation = random(360);
cooldown = 0;
point.x = point._x;
point.y = point._y;
localToGlobal(point);
for (;;) {
if (!(point.x < 0 || point.y > 400 || point.x > 550 || point.y < 0)) break;
_x = 150 + random(400);
_y = 150 + random(250);
_rotation = random(360);
cooldown = 0;
point.x = point._x;
point.y = point._y;
localToGlobal(point);
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_x = _x + Math.cos((_rotation - 90) * Math.PI / 180) * 3;
_y = _y + Math.sin((_rotation - 90) * Math.PI / 180) * 3;
_rotation = _rotation - (_rotation - rTarget) / 30;
if (hit.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gameOutcome(false);
}
point.x = point._x;
point.y = point._y;
localToGlobal(point);
if (point.x < 0 || point.x > 550 || point.y > 400 || point.y < 0) {
if (cooldown <= 0) {
rTarget = -rTarget;
cooldown = 32;
}
}
if (lamp.hitTest(_root._xmouse, _root._ymouse, true)) {
_x = _x - Math.cos((_rotation - 90) * Math.PI / 180) * 10;
_y = _y - Math.sin((_rotation - 90) * Math.PI / 180) * 10;
}
--cooldown;
}
}
}
}
movieClip 3595 {
}
movieClip 3597 {
}
movieClip 3598 {
frame 4 {
stop();
}
}
movieClip 3600 {
}
movieClip 3601 {
frame 4 {
stop();
}
}
movieClip 3603 {
}
movieClip 3604 {
frame 4 {
stop();
}
}
movieClip 3607 {
}
movieClip 3608 {
frame 4 {
stop();
}
}
movieClip 3611 {
}
movieClip 3614 {
}
movieClip 3615 {
}
movieClip 3616 {
instance of movieClip 3615 {
onClipEvent (enterFrame) {
_parent._rotation -= 15;
}
}
frame 9 {
stop();
}
}
movieClip 3619 {
}
movieClip 3626 {
frame 5 {
stop();
}
}
movieClip 3627 {
frame 1 {
stop();
}
instance of movieClip 3595 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
instance of movieClip 3598 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
instance of movieClip 3601 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
instance of movieClip 3604 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
instance of movieClip 3608 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
frame 6 {
_root.gameOutcome(true);
}
}
movieClip 3628 game108 {
frame 1 {
_root.rules = 'Explode';
_root.beatClock = true;
}
instance of movieClip 3627 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
if (temp == 1) {
temp = 2;
nextFrame();
}
} else {
if (temp == 2) {
temp = 0;
} else {
temp = 1;
}
}
}
}
}
}
movieClip 3631 {
}
movieClip 3633 {
}
movieClip 3636 {
}
movieClip 3637 {
}
movieClip 3640 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 3642 {
}
movieClip 3643 {
instance of movieClip 3642 {
onClipEvent (load) {
this._alpha = 0;
}
}
}
movieClip 3645 {
}
movieClip 3647 {
}
movieClip 3649 {
}
movieClip 3651 {
}
movieClip 3654 {
}
movieClip 3656 {
}
movieClip 3658 {
}
movieClip 3660 {
}
movieClip 3661 {
frame 1 {
stop();
}
instance of movieClip 3654 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
++s;
if (s == 1) {
_y = _y + 1;
} else {
if (s == 3) {
_y = _y - 1;
} else {
if (s >= 5) {
s = 0;
}
}
}
}
}
frame 8 {
_parent.con = 1;
}
}
movieClip 3664 {
}
movieClip 3665 {
frame 1 {
stop();
}
instance of movieClip 3643 {
onClipEvent (load) {
_parent._x += random(80) - 40;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.hero.hit)) {
if (Key.isDown(32)) {
_parent._parent.con = 0;
_parent._parent.hero._x = _parent._x;
_parent._parent.hero.play();
_parent.play();
}
}
}
}
frame 8 {
_parent.ac += 1;
}
frame 19 {
stop();
}
}
movieClip 3666 game109 {
frame 1 {
_root.rules = 'Pull the weed';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 3633 {
onClipEvent (enterFrame) {
_x = _x - 1;
}
}
instance hero of movieClip 3661 {
onClipEvent (load) {
_parent.con = 1;
_parent.ac = 0;
}
onClipEvent (enterFrame) {
if (_parent.ac == 3) {
_root.gameOutcome(true);
}
if (_root.cstatus == 1) {
if (_parent.con == 1) {
if (_x > 60) {
if (Key.isDown(37)) {
a._xscale = -100;
a.play();
_x = _x - 10;
}
}
if (_x < 490) {
if (Key.isDown(39)) {
a._xscale = 100;
a.play();
_x = _x + 10;
}
}
}
}
}
}
}
movieClip 3669 {
}
movieClip 3673 {
}
movieClip 3674 {
instance of movieClip 3673 {
onClipEvent (load) {
this._alpha = 0;
}
}
}
movieClip 3676 {
frame 1 {
stop();
}
instance of movieClip 3669 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++s;
if (s >= 80) {
_parent.play();
}
}
}
}
instance hit of movieClip 3674 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.elefant.hit)) {
_root.gameOutcome(false);
_parent._parent.elefant.nextFrame();
}
}
}
frame 5 {
stop();
}
}
movieClip 3679 {
}
movieClip 3681 {
}
movieClip 3683 {
}
movieClip 3685 {
}
movieClip 3688 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 3690 {
}
movieClip 3691 {
frame 1 {
stop();
}
instance of movieClip 3690 {
onClipEvent (load) {
_parent.sn = 0;
}
onClipEvent (enterFrame) {
_parent.sn += 5;
_parent._y += 10 + _parent.sn;
}
}
}
movieClip 3693 game110 {
frame 1 {
_root.rules = 'Don\'t fall down';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance elefant of movieClip 3691 {
onClipEvent (load) {
_parent.con = 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.con == 1) {
if (_x > 60) {
if (Key.isDown(37)) {
_xscale = 100;
a.play();
_x = _x - 7;
}
}
if (_x < 490) {
if (Key.isDown(39)) {
_xscale = -100;
a.play();
_x = _x + 7;
}
}
}
}
}
}
}
movieClip 3699 {
}
movieClip 3700 {
}
movieClip 3702 {
}
movieClip 3704 {
}
movieClip 3706 {
}
movieClip 3708 {
}
movieClip 3710 {
}
movieClip 3712 {
}
movieClip 3713 {
}
movieClip 3715 {
}
movieClip 3717 {
}
movieClip 3719 {
}
movieClip 3721 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3725 {
}
movieClip 3727 {
}
movieClip 3729 {
}
movieClip 3731 {
}
movieClip 3732 {
}
movieClip 3734 {
}
movieClip 3736 {
}
movieClip 3738 {
}
movieClip 3740 {
}
movieClip 3742 {
}
movieClip 3743 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3745 {
}
movieClip 3747 {
}
movieClip 3752 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3753 {
frame 1 {
stop();
}
}
movieClip 3754 game111 {
frame 1 {
_root.rules = 'Search';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 3700 {
onClipEvent (load) {
_x = random(490) + 30;
_y = random(320) + 40;
if (_x > 200 and _x < 300) {
_x = (random(1) + 1) * 400 + 40;
}
if (_x > 300) {
_parent.bengt._x = 150;
} else {
if (_x < 200) {
_parent.bengt._x = 400;
}
}
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_parent.bengt.shadow)) {
_root.gameOutcome(true);
_x = -1000;
}
}
}
instance bengt of movieClip 3753 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
face = 'left';
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('left');
a.play();
}
_x = _x - speed;
}
if (Key.isDown(39)) {
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('right');
a.play();
}
_x = _x + speed;
}
if (Key.isDown(38)) {
face = 'up';
_y = _y - speed;
gotoAndStop('up');
a.play();
}
if (Key.isDown(40)) {
_y = _y + speed;
face = 'down';
gotoAndStop('down');
a.play();
}
}
}
}
}
movieClip 3756 {
}
movieClip 3757 {
instance of movieClip 3756 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadowrl)) {
_parent._parent.bengt._x += 10;
}
}
}
}
movieClip 3759 {
}
movieClip 3760 {
instance of movieClip 3759 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadowrl)) {
_parent._parent.bengt._x -= 10;
}
}
}
}
movieClip 3762 {
}
movieClip 3763 {
instance of movieClip 3762 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadow)) {
_parent._parent.bengt._y -= 10;
}
}
}
}
movieClip 3765 {
}
movieClip 3766 {
instance of movieClip 3765 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadow)) {
_parent._parent.bengt._y += 10;
}
}
}
}
movieClip 3769 {
}
movieClip 3773 {
}
movieClip 3774 {
}
movieClip 3777 {
}
movieClip 3778 {
}
movieClip 3780 {
}
movieClip 3781 {
}
movieClip 3783 {
}
movieClip 3785 {
}
movieClip 3786 {
}
movieClip 3788 {
}
movieClip 3790 {
}
movieClip 3792 {
}
movieClip 3793 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3795 {
}
movieClip 3797 {
}
movieClip 3799 {
}
movieClip 3801 {
}
movieClip 3802 {
}
movieClip 3804 {
}
movieClip 3805 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3807 {
}
movieClip 3809 {
}
movieClip 3810 {
}
movieClip 3811 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3812 {
frame 1 {
stop();
}
}
movieClip 3814 {
}
movieClip 3817 {
}
movieClip 3819 {
}
movieClip 3821 {
}
movieClip 3822 {
instance of movieClip 3821 {
onClipEvent (load) {
if (_parent._parent.bengt._y >= _parent._y) {
_parent.swapDepths(_parent._parent.bengt);
front = 0;
} else {
front = 1;
}
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent._parent.bengt._y <= _parent._y) {
if (front == 0) {
_parent.swapDepths(_parent._parent.bengt);
front = 1;
}
}
if (_parent._parent.bengt._y >= _parent._y) {
if (front == 1) {
_parent.swapDepths(_parent._parent.bengt);
front = 0;
}
}
}
}
}
movieClip 3824 {
}
movieClip 3828 {
}
movieClip 3830 {
}
movieClip 3832 {
}
movieClip 3834 {
}
movieClip 3836 {
}
movieClip 3837 {
frame 1 {
stop();
}
frame 8 {
_parent.gotoAndStop(random(3) + 1);
}
}
movieClip 3838 {
frame 1 {
gotoAndStop(random(3) + 1);
}
instance of movieClip 3837 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
instance of movieClip 3837 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
instance of movieClip 3837 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
}
movieClip 3839 {
instance of movieClip 3832 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent._parent.bengt.shadow)) {
_parent._parent.coin.start();
_parent._parent._parent.ac += 1;
_parent._x = -1000;
}
}
}
}
movieClip 3840 {
frame 1 {
_parent.number = 7;
}
frame 1 {
gotoAndStop(random(9) + 1);
}
frame 2 {
_parent.number = 7;
}
frame 3 {
_parent.number = 7;
}
frame 4 {
_parent.number = 7;
}
frame 5 {
_parent.number = 6;
}
frame 6 {
_parent.number = 6;
}
frame 7 {
_parent.number = 7;
}
frame 8 {
_parent.number = 7;
}
frame 9 {
_parent.number = 7;
}
}
movieClip 3841 game112 {
frame 1 {
_root.rules = 'Grab the coins';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance bengt of movieClip 3812 {
onClipEvent (load) {
_parent.ac = 0;
_parent.number = 0;
speed = 10;
_parent.ac = 0;
}
onClipEvent (enterFrame) {
if (_parent.ac >= _parent.number) {
_root.gameOutcome(true);
}
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
face = 'left';
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('left');
a.play();
}
_x = _x - speed;
}
if (Key.isDown(39)) {
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('right');
a.play();
}
_x = _x + speed;
}
if (Key.isDown(38)) {
face = 'up';
_y = _y - speed;
gotoAndStop('up');
a.play();
}
if (Key.isDown(40)) {
_y = _y + speed;
face = 'down';
gotoAndStop('down');
a.play();
}
}
}
}
instance of movieClip 3840 {
onClipEvent (load) {
coin = new Sound();
coin.attachSound('sbf6_coin');
}
}
}
movieClip 3846 {
}
movieClip 3847 {
frame 5 {
stop();
}
}
movieClip 3848 {
frame 1 {
stop();
}
frame 2 {
_parent.ac += 1;
}
}
movieClip 3851 {
frame 1 {
stop();
}
frame 2 {
_parent.ac += 1;
}
}
movieClip 3854 {
frame 1 {
stop();
}
frame 2 {
_parent.ac += 1;
}
}
movieClip 3857 {
frame 1 {
stop();
}
frame 2 {
_parent.ac += 1;
}
}
movieClip 3860 {
frame 1 {
stop();
_parent.ac += 1;
}
}
movieClip 3863 {
}
movieClip 3865 {
}
movieClip 3867 {
}
movieClip 3868 {
frame 1 {
stop();
}
}
movieClip 3869 {
frame 1 {
stop();
_parent.s = 'a';
}
frame 2 {
_parent.s = 'b';
}
frame 3 {
_parent.s = 'c';
}
frame 4 {
_parent.s = 'd';
}
frame 5 {
_parent.s = 'e';
}
}
movieClip 3870 game113 {
frame 1 {
_root.rules = 'Clip the nails';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 3869 {
onClipEvent (load) {
_parent.ac = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.ac == 5) {
_root.gameOutcome(true);
}
if (Key.isDown(37)) {
if (tempv == 1) {
prevFrame();
tempv = 2;
}
} else {
if (tempv == 2) {
tempv = 0;
} else {
tempv = 1;
}
}
if (Key.isDown(39)) {
if (temps == 1) {
nextFrame();
temps = 2;
}
} else {
if (temps == 2) {
temps = 0;
} else {
temps = 1;
}
}
if (Key.isDown(32)) {
if (temp == 1) {
temp = 2;
a.play();
if (_parent.s == 'a') {
_parent.a.nextFrame();
} else {
if (_parent.s == 'b') {
_parent.b.nextFrame();
} else {
if (_parent.s == 'c') {
_parent.c.nextFrame();
} else {
if (_parent.s == 'd') {
_parent.d.nextFrame();
} else {
if (_parent.s == 'e') {
_parent.e.nextFrame();
_root.gameOutcome(true);
}
}
}
}
}
}
} else {
if (temp == 2) {
temp = 0;
} else {
temp = 1;
}
}
}
}
}
}
movieClip 3873 {
}
movieClip 3877 {
}
movieClip 3879 {
}
movieClip 3882 {
}
movieClip 3886 {
}
movieClip 3887 {
frame 1 {
_parent.ouch = 0;
stop();
}
frame 3 {
_parent.ouch = 1;
}
frame 8 {
_parent.ouch = 0;
stop();
}
instance of movieClip 3886 {
onClipEvent (enterFrame) {
_parent._x -= 10 * _root.speed;
_rotation = _rotation - 10 * _root.speed;
}
}
}
movieClip 3889 {
}
movieClip 3891 {
}
movieClip 3893 {
}
movieClip 3894 {
frame 3 {
stop();
}
}
movieClip 3896 {
}
movieClip 3897 {
frame 1 {
stop();
}
instance of movieClip 3889 {
onClipEvent (load) {
start = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (start == 0) {
cd = random(48);
start = 1;
} else {
if (start == 1) {
if (cd <= 0) {
start = 2;
} else {
cd -= 1;
}
}
}
if (_parent._parent.ouch == 1) {
if (this.hitTest(_parent._parent.elefant.kick)) {
_parent._parent.starz.nextFrame();
_root.gameOutcome(true);
_parent.nextFrame();
}
} else {
if (this.hitTest(_parent._parent.elefant.hit)) {
_parent._parent.elefant.gotoAndStop('kill');
_parent._parent.star.nextFrame();
_root.gameOutcome(lose);
_parent._parent.lose = 1;
_parent.gotoAndStop(3);
}
}
if (start == 2) {
_parent._x -= 20 * _root.speed;
}
}
}
}
instance of movieClip 3891 {
onClipEvent (enterFrame) {
_parent._x += 10 * _root.speed;
_rotation = _rotation + 10 * _root.speed;
}
}
instance of movieClip 3894 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
_parent._x += 2 * _root.speed;
++s;
if (s < 11) {
_y = _y + 0.5;
} else {
if (s >= 14 and s < 24) {
_y = _y - 0.5;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
instance of movieClip 3896 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
_parent._x += 2 * _root.speed;
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
}
movieClip 3898 {
frame 1 {
stop();
}
}
movieClip 3899 game114 {
frame 1 {
_root.rules = 'Kick the ninja';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance elefant of movieClip 3887 {
onClipEvent (load) {
s = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
if (_parent.lose == 1) {
} else {
if (at == 1) {
} else {
at = 1;
play();
}
}
}
}
++s;
if (s < 11) {
_y = _y + 1;
} else {
if (s >= 14 and s < 24) {
_y = _y - 1;
} else {
if (s >= 27) {
s = 0;
}
}
}
}
}
}
movieClip 3904 {
}
movieClip 3908 {
}
movieClip 3911 {
}
movieClip 3914 {
}
movieClip 3917 {
}
movieClip 3919 {
}
movieClip 3920 {
frame 1 {
stop();
}
}
movieClip 3959 {
}
movieClip 3961 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 3962 {
}
movieClip 3965 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 3966 {
}
movieClip 3969 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 3970 {
}
movieClip 3973 {
}
movieClip 3974 game115 {
frame 1 {
_root.rules = 'Shoot RED!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
eye1_cannon._rotation -= 10;
}
if (Key.isDown(39)) {
eye1_cannon._rotation += 10;
}
if (Key.isDown(32)) {
eye1_cannon.play();
}
if (eye1_cannon.hitTest(eye1_red)) {
eye1_red.stop();
eye1_red.eye1_redboom.play();
_root.gameOutcome(true);
}
if (eye1_cannon.hitTest(eye1_blue)) {
eye1_blue.stop();
eye1_blue.eye1_blueboom.play();
_root.gameOutcome(false);
}
if (eye1_cannon.hitTest(eye1_green)) {
eye1_green.stop();
eye1_green.eye1_greenboom.play();
_root.gameOutcome(false);
}
}
};
}
frame 1 {
stop();
}
}
movieClip 3977 {
}
movieClip 3981 {
}
movieClip 3984 {
}
movieClip 3989 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 3992 {
frame 1 {
stop();
}
frame 22 {
stop();
}
}
movieClip 3995 {
}
movieClip 3999 game116 {
frame 1 {
_root.rules = 'Avoid falling!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
eye2_car._x += 6;
if (Key.isDown(37)) {
if (eye2_man._currentframe == 3) {
eye2_car._x -= 15;
eye2_man.play();
}
}
if (Key.isDown(39)) {
if (eye2_man._currentframe == 1) {
eye2_car._x -= 15;
eye2_man.play();
}
}
if (eye2_car._x >= 260) {
eye2_car._x = 260;
eye2_car.play();
play();
if (eye2_car._currentframe == 22) {
eye2_car.stop();
stop();
_root.gameOutcome(false);
}
}
}
};
}
frame 1 {
stop();
}
frame 22 {
_root.gameOutcome(false);
}
}
movieClip 4002 {
}
movieClip 4011 {
}
movieClip 4018 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4027 {
}
movieClip 4033 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4042 {
}
movieClip 4048 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4057 {
}
movieClip 4063 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4066 {
}
movieClip 4070 {
}
movieClip 4071 game117 {
frame 1 {
_root.rules = 'Pop \'Em All!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (eye3_ball1._currentframe == 7 && eye3_ball2._currentframe == 7 && eye3_ball3._currentframe == 7 && eye3_ball4._currentframe == 7 && eye3_ball5._currentframe == 7 && eye3_ball6._currentframe == 7) {
_root.gameOutcome(true);
play();
}
}
};
}
frame 1 {
stop();
}
instance eye3_ball1 of movieClip 4018 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
instance eye3_ball2 of movieClip 4033 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
instance eye3_ball3 of movieClip 4048 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
instance eye3_ball4 of movieClip 4063 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
instance eye3_ball5 of movieClip 4063 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
instance eye3_ball6 of movieClip 4048 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 7) {
this.stop();
}
}
}
onClipEvent (load) {
function getPoints() {
getX = random(500);
getY = random(350);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 45;
id = setInterval(getPoints, 1000);
getX = random(500);
getY = random(350);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
}
frame 2 {
stop();
}
}
movieClip 4080 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 4105 {
}
movieClip 4108 {
}
movieClip 4123 game118 {
frame 1 {
_root.rules = 'Knock it Up!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
eye4_prey._x += 20 * _root.speed;
if (eye4_prey._x > 340) {
_root.gameOutcome(false);
}
if (Key.isDown(32)) {
eye4_trap.play();
if (eye4_prey._x >= 194 && eye4_prey._x <= 294) {
play();
}
}
if (_currentframe == 42) {
_root.gameOutcome(true);
stop();
}
}
};
}
frame 1 {
stop();
}
}
movieClip 4125 {
}
movieClip 4128 {
}
movieClip 4132 {
}
movieClip 4135 {
}
movieClip 4138 {
}
movieClip 4140 {
}
movieClip 4142 {
}
movieClip 4144 {
}
movieClip 4146 {
}
movieClip 4148 {
}
movieClip 4150 {
}
movieClip 4153 {
}
movieClip 4156 {
}
movieClip 4159 {
}
movieClip 4162 {
}
movieClip 4165 {
}
movieClip 4168 {
}
movieClip 4171 {
}
movieClip 4174 {
}
movieClip 4177 {
}
movieClip 4180 {
}
movieClip 4183 {
}
movieClip 4186 {
}
movieClip 4189 {
}
movieClip 4192 {
}
movieClip 4195 {
}
movieClip 4198 {
}
movieClip 4200 {
}
movieClip 4203 {
}
movieClip 4205 {
}
movieClip 4222 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 45 {
stop();
}
}
movieClip 4224 {
}
movieClip 4225 {
}
movieClip 4228 {
}
movieClip 4231 {
}
movieClip 4233 {
}
movieClip 4239 {
}
movieClip 4241 {
}
movieClip 4243 {
}
movieClip 4245 {
}
movieClip 4247 {
}
movieClip 4248 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 4251 {
}
movieClip 4252 game119 {
frame 1 {
_root.rules = 'Fill Up!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
eye5_fill._x -= 15;
if (eye5_fill._x <= 50) {
eye5_fill._x = 50;
}
}
if (Key.isDown(39)) {
eye5_fill._x += 15;
if (eye5_fill._x >= 400) {
eye5_fill._x = 400;
}
}
if (Key.isDown(32)) {
eye5_fill.play();
}
if (eye5_fill.hitTest(eye5_whole.eye5_cap)) {
eye5_whole.eye5_bottle.play();
if (eye5_whole.eye5_bottle._currentframe >= 29) {
eye5_whole.stop();
eye5_strip.stop();
_root.gameOutcome(true);
if (eye5_whole.eye5_bottle._currentframe == 45) {
eye5_whole.eye5_bottle.stop();
}
}
}
}
};
}
}
movieClip 4254 {
}
movieClip 4256 {
}
movieClip 4258 {
}
movieClip 4262 {
}
movieClip 4266 {
}
movieClip 4269 {
}
movieClip 4272 {
}
movieClip 4275 {
}
movieClip 4281 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
movieClip 4286 {
}
movieClip 4291 {
}
movieClip 4296 {
}
movieClip 4301 {
}
movieClip 4302 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 4303 game120 {
frame 1 {
_root.rules = 'Squish!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
if (eye6_arrows._currentframe == 1) {
eye6_arrows.play();
} else {
eye6_arrows.stop();
}
}
if (Key.isDown(39)) {
if (eye6_arrows._currentframe == 2) {
eye6_arrows.play();
} else {
eye6_arrows.stop();
}
}
if (Key.isDown(40)) {
if (eye6_arrows._currentframe == 3) {
eye6_arrows.play();
} else {
eye6_arrows.stop();
}
}
if (Key.isDown(37)) {
if (eye6_arrows._currentframe == 4) {
eye6_arrows.play();
eye6_hand.play();
if (eye6_hand._currentframe == 9) {
eye6_hand.stop();
}
} else {
eye6_arrows.stop();
}
}
if (eye6_hand._currentframe == 7) {
_root.gameOutcome(true);
}
}
};
}
}
movieClip 4306 {
}
movieClip 4310 {
}
movieClip 4314 {
}
movieClip 4331 {
}
movieClip 4332 {
}
movieClip 4340 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4342 {
}
movieClip 4344 {
}
movieClip 4346 {
frame 1 {
stop();
}
frame 25 {
stop();
}
}
movieClip 4350 {
frame 1 {
stop();
}
}
movieClip 4353 {
}
movieClip 4354 game121 {
frame 1 {
_root.rules = 'Search and destroy!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
startDrag('_root.g.eye7_con', true);
Mouse.hide();
if (eye7_targets.eye7_bar._currentframe == 7) {
_root.gameOutcome(true);
eye7_targets.play();
}
}
};
}
instance eye7_back of movieClip 4306 {
onClipEvent (release) {
_root.g.eye7_con.play();
}
}
instance eye7_targets of movieClip 4346 {
onClipEvent (load) {
function getPoints() {
getX = random(450);
getY = random(300);
gotoX = (getX - _x) / speed;
gotoY = (getY - _y) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 500);
}
speed = 40;
id = setInterval(getPoints, 1000);
getX = random(450);
getY = random(300);
}
onClipEvent (enterFrame) {
_x = _x + gotoX;
_y = _y + gotoY;
}
onClipEvent (release) {
this.eye7_bar.play();
_root.g.eye7_con.play();
}
}
}
movieClip 4357 {
}
movieClip 4358 {
}
movieClip 4359 {
}
movieClip 4360 {
}
movieClip 4361 {
}
movieClip 4362 {
}
movieClip 4363 {
}
movieClip 4366 {
}
movieClip 4367 {
}
movieClip 4369 {
}
movieClip 4373 {
}
movieClip 4410 {
}
movieClip 4412 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 4415 {
}
movieClip 4416 game122 {
frame 1 {
_root.rules = 'To the safe zone!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
eye8_player._x -= 6.5;
if (eye8_player._x <= 0) {
eye8_player._x = 0;
}
}
if (Key.isDown(39)) {
eye8_player._x += 6.5;
if (eye8_player._x >= 550 - eye8_player._width) {
eye8_player._x = 550 - eye8_player._width;
}
}
if (Key.isDown(38)) {
eye8_player._y -= 6.5;
if (eye8_player._y <= 0) {
eye8_player._y = 0;
}
}
if (Key.isDown(40)) {
eye8_player._y += 6.5;
if (eye8_player._y >= 400 - eye8_player._height) {
eye8_player._y = 400 - eye8_player._height;
}
}
if (eye8_player.hitTest(eye8_goal)) {
_root.gameOutcome(true);
}
if (eye8_player._currentframe == 19) {
eye8_player.stop();
}
if (eye8_player.hitTest(eye8_meteor1) || eye8_player.hitTest(eye8_meteor2) || eye8_player.hitTest(eye8_meteor3) || eye8_player.hitTest(eye8_meteorr1) || eye8_player.hitTest(eye8_meteorr2) || eye8_player.hitTest(eye8_meteory1) || eye8_player.hitTest(eye8_meteory2) || eye8_player.hitTest(eye8_meteorg1) || eye8_player.hitTest(eye8_meteorg2) || eye8_player.hitTest(eye8_meteori1) || eye8_player.hitTest(eye8_meteori2) || eye8_player.hitTest(eye8_meteorb1) || eye8_player.hitTest(eye8_meteorb2) || eye8_player.hitTest(eye8_meteorp1) || eye8_player.hitTest(eye8_meteorp2) || eye8_player.hitTest(eye8_enemy) || eye8_player.hitTest(eye8_enemy2)) {
_root.gameOutcome(false);
eye8_player.play();
}
}
};
}
instance eye8_enemy of movieClip 4369 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._x > _x) {
_x = _x + 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._x < _x) {
_x = _x - 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._y > _y) {
_y = _y + 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._y < _y) {
_y = _y - 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
varX = _root.g.eye8_player._x - this._x;
varY = -1 * (_root.g.eye8_player._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
}
}
instance eye8_enemy2 of movieClip 4369 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._x > _x) {
_x = _x + 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._x < _x) {
_x = _x - 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._y > _y) {
_y = _y + 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.eye8_player._y < _y) {
_y = _y - 2.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
varX = _root.g.eye8_player._x - this._x;
varY = -1 * (_root.g.eye8_player._y - this._y);
angle = Math.atan2(varY, varX);
angle = Math.round((angle / Math.PI) * 180);
this._rotation = -1 * angle;
}
}
}
}
movieClip 4418 {
}
movieClip 4421 {
frame 16 {
stop();
}
}
movieClip 4427 {
}
movieClip 4428 {
frame 1 {
stop();
}
}
movieClip 4430 {
}
movieClip 4432 {
}
movieClip 4433 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 4434 {
}
movieClip 4437 {
}
movieClip 4438 game123 {
frame 1 {
function ends_game() {
x = 1;
while (x <= respawn_count) {
fish = eval('fish_' + x);
++x;
}
}
function creates_fish() {
if (amount_of_fishes < 4) {
++respawn_count;
fish_1.duplicateMovieClip('fish_' + respawn_count, getNextHighestDepth());
fish_1._y = Number(random(150) + 240);
++amount_of_fishes;
}
}
_root.rules = 'Dont let them escape!';
_root.beatClock = false;
respawn_count = 1;
amount_of_fishes = 1;
stop();
frame_one = _currentframe;
}
instance bird of movieClip 4428 {
onClipEvent (enterFrame) {
if (Key.isDown(32) == true || Key.isDown(40) == true) {
this.play();
}
if (Key.isDown(39) == true) {
this._x += 5;
if (this._x >= 500) {
this._x -= 5;
}
} else {
if (Key.isDown(37) == true) {
this._x -= 5;
if (this._x <= 60) {
this._x += 5;
}
}
}
if (this.hitTest(_parent.splasher)) {
_parent.splash._x = this._x;
_parent.splash._y = 194;
_parent.splash.gotoAndPlay(1);
}
}
}
instance fish_1 of movieClip 4433 {
onClipEvent (load) {
fish_speed_var = Number(random(4) + 6);
}
onClipEvent (enterFrame) {
_parent.creates_fish();
this._x -= fish_speed_var;
if (this._x > 578 || this._x < -17 || this.hitTest(_parent.bird)) {
this._x = 578;
this._y = Number(random(150) + 240);
fish_speed_var = Number(random(4) + 6);
}
if (this.hitTest(_parent.end)) {
_parent.ends_game();
_root.gameOutcome(false);
}
if (this._x <= 241.6) {
play();
} else {
gotoAndStop(1);
}
if (_parent.frame_one != _parent._currentframe) {
_parent.ends_game();
}
}
}
}
movieClip 4441 {
}
movieClip 4452 {
}
movieClip 4456 {
}
movieClip 4457 {
}
movieClip 4458 {
instance of movieClip 4457 {
onClipEvent (load) {
this._xscale = Math.random() * 75 + 75;
this._yscale = this._xscale;
}
}
}
movieClip 4463 {
frame 1 {
stop();
}
}
movieClip 4470 {
frame 1 {
stop();
}
frame 47 {
gotoAndPlay(10);
}
}
movieClip 4471 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 4473 {
}
movieClip 4479 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 4480 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 4482 {
}
movieClip 4487 {
}
movieClip 4497 {
}
movieClip 4501 {
}
movieClip 4503 {
frame 29 {
gotoAndPlay(10);
}
}
movieClip 4504 {
frame 1 {
stop();
}
frame 2 {
_root.gameOutcome(true);
}
frame 10 {
stop();
}
}
movieClip 4507 {
}
movieClip 4509 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 4510 {
instance Nug8_face of movieClip 4504 {
onClipEvent (load) {
Nug8_presstime = 0;
Nug8_frame = 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.Nug8_gil.Nug8_slice._currentframe == 19) {
play();
_parent.Nug8_hand.nextFrame();
}
if (_parent.Nug8_gil.Nug8_slice._currentframe == 10) {
Nug8_presstime = 0;
Nug8_frame = 3;
_parent.Nug8_arrow.gotoAndStop(3);
if (Key.isDown(32)) {
++Nug8_presstime;
if (Nug8_presstime == 1) {
_parent.Nug8_gil.Nug8_slice.play();
_parent.Nug8_gil.Nug8_slice.Nug8_pull2.play();
_parent.Nug8_arrow.Nug8_space.play();
}
}
} else {
if (_parent.Nug8_gil.Nug8_slice._currentframe <= 9) {
if (Nug8_frame == 1) {
_parent.Nug8_arrow.gotoAndStop(1);
if (Key.isDown(39)) {
++Nug8_presstime;
if (Nug8_presstime == 1) {
_parent.Nug8_arrow.gotoAndStop(2);
_parent.Nug8_gil.Nug8_slice.Nug8_pull.play();
_parent.Nug8_gil.Nug8_slice.nextFrame();
Nug8_frame = 2;
}
} else {
Nug8_presstime = 0;
}
}
}
}
if (Nug8_frame == 2) {
_parent.Nug8_arrow.gotoAndStop(2);
if (Key.isDown(37)) {
++Nug8_presstime;
if (Nug8_presstime == 1) {
_parent.Nug8_arrow.gotoAndStop(1);
_parent.Nug8_gil.Nug8_slice.Nug8_pull.play();
_parent.Nug8_gil.Nug8_slice.nextFrame();
Nug8_frame = 1;
}
} else {
Nug8_presstime = 0;
}
}
}
}
}
}
movieClip 4513 {
}
movieClip 4514 game124 {
frame 1 {
_root.rules = 'Chop \'is \'ead off!';
_root.beatClock = true;
}
}
movieClip 4516 {
frame 128 {
_root.gameOutcome(false);
}
}
movieClip 4541 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
play();
}
}
};
}
frame 9 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 15 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 20 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 23 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 29 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
play();
}
}
};
}
frame 35 {
stop();
}
frame 38 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 44 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 50 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 56 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 62 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 68 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 73 {
stop();
}
}
movieClip 4589 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
play();
}
}
};
}
frame 9 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 15 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 20 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 23 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 29 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
play();
}
}
};
}
frame 35 {
stop();
_root.gameOutcome(true);
}
frame 38 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 44 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 50 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 56 {
stop();
onEnterFrame = function () {
if (Key.isDown(38)) {
play();
}
};
}
frame 62 {
stop();
onEnterFrame = function () {
if (Key.isDown(40)) {
play();
}
};
}
frame 68 {
stop();
onEnterFrame = function () {
if (Key.isDown(37)) {
play();
}
};
}
frame 73 {
stop();
_root.gameOutcome(true);
}
}
movieClip 4591 {
}
movieClip 4594 {
}
movieClip 4595 game125 {
frame 1 {
_root.rules = 'Pick the lock';
_root.beatClock = true;
}
}
movieClip 4602 {
}
movieClip 4604 {
}
movieClip 4606 {
}
movieClip 4608 {
}
movieClip 4610 {
}
movieClip 4621 {
frame 1 {
jumping = false;
stop();
}
frame 2 {
jumping = true;
}
}
movieClip 4623 {
}
movieClip 4625 {
}
movieClip 4627 {
}
movieClip 4629 {
}
movieClip 4631 {
}
movieClip 4652 {
}
movieClip 4653 {
frame 1 {
}
instance hitme_mc of movieClip 4610 {
onClipEvent (enterFrame) {
this._visible = false;
}
}
}
movieClip 4654 {
}
movieClip 4655 {
frame 1 {
_root.rules = 'Round the Sheep!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
speed = 10;
if (this.home_mc.win1 == true and this.home_mc.win2 == true) {
_root.gameOutcome(true);
trace('win!');
}
}
};
}
instance home_mc of movieClip 4604 {
onClipEvent (load) {
win1 = false;
win2 = false;
win3 = false;
}
onClipEvent (enterFrame) {
if (this._parent.sheep1.hitTest(this)) {
win1 = true;
}
if (this._parent.sheep2.hitTest(this)) {
win2 = true;
}
if (this._parent.sheep3.hitTest(this)) {
win3 = true;
}
}
}
instance of movieClip 4606 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4606 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4608 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4608 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4608 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4606 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4608 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance of movieClip 4608 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(300) - 90;
}
}
instance left of movieClip 4610 {
onClipEvent (enterFrame) {
this._visible = false;
}
}
instance right of movieClip 4610 {
onClipEvent (enterFrame) {
this._visible = false;
}
}
instance of movieClip 4610 {
onClipEvent (enterFrame) {
sp1 = _parent.speed;
this._visible = false;
if (this._parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
_parent.char_mc.in_mc._y -= sp1;
}
}
}
instance of movieClip 4610 {
onClipEvent (enterFrame) {
sp1 = _parent.speed;
this._visible = false;
if (this._parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
_parent.char_mc.in_mc._y -= sp1;
}
}
}
instance of movieClip 4610 {
onClipEvent (enterFrame) {
sp1 = _parent.speed;
this._visible = false;
if (this._parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
_parent.char_mc.in_mc._y -= sp1;
}
}
}
instance center_mc of movieClip 4610 {
onClipEvent (enterFrame) {
sp1 = _parent.speed;
this._visible = false;
if (_parent.char_mc.in_mc.hitTest(this)) {
_parent.char_mc.in_mc._y += sp1;
}
}
}
instance sheep1 of movieClip 4621 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(280) - 100;
this._parent.win1 = false;
if (this._parent.left.hitTest(this)) {
this._xscale = 35;
} else {
if (this._parent.right.hitTest(this)) {
this._xscale = -35;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
sp1 = _parent.speed * 2;
if (this._parent.left.hitTest(this)) {
this._xscale = 35;
} else {
if (this._parent.right.hitTest(this)) {
this._xscale = -35;
}
}
if (!this._parent.center_mc.hitTest(this)) {
if (_parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
this._x = (this._x + _parent.center_mc._x) / (sp1 / (sp1 - 1));
this._y = (this._y + _parent.center_mc._y) / (sp1 / (sp1 - 1));
if (jumping == false) {
this.gotoAndPlay(2);
}
}
} else {
this._parent.win1 = true;
}
}
}
}
instance of movieClip 4610 {
onClipEvent (enterFrame) {
sp1 = _parent.speed;
this._visible = false;
if (this._parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
_parent.char_mc.in_mc._y -= sp1;
}
}
}
instance sheep2 of movieClip 4621 {
onClipEvent (load) {
this._x = random(470) - 230;
this._y = random(280) - 100;
this._parent.win2 = false;
if (this._parent.left.hitTest(this)) {
this._xscale = 35;
} else {
if (this._parent.right.hitTest(this)) {
this._xscale = -35;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
sp1 = _parent.speed * 2;
if (this._parent.left.hitTest(this)) {
this._xscale = 35;
} else {
if (this._parent.right.hitTest(this)) {
this._xscale = -35;
}
}
if (!this._parent.center_mc.hitTest(this)) {
if (_parent.char_mc.in_mc.hitme_mc.hitTest(this)) {
this._x = (this._x + _parent.center_mc._x) / (sp1 / (sp1 - 1));
this._y = (this._y + _parent.center_mc._y) / (sp1 / (sp1 - 1));
if (jumping == false) {
this.gotoAndPlay(2);
}
}
} else {
this._parent.win2 = true;
}
}
}
}
instance char_mc of movieClip 4654 {
onClipEvent (load) {
keyed = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
sp1 = _parent.speed;
if (Key.isDown(39)) {
this._rotation -= sp1 / 2;
keyed = true;
this.in_mc.right_mc._visible = true;
this.in_mc.left_mc._visible = false;
this.in_mc.inside_mc._visible = false;
this.in_mc.out_mc._visible = false;
} else {
if (Key.isDown(37)) {
this._rotation += sp1 / 2;
keyed = true;
this.in_mc.right_mc._visible = false;
this.in_mc.left_mc._visible = true;
this.in_mc.inside_mc._visible = false;
this.in_mc.out_mc._visible = false;
} else {
if (Key.isDown(38)) {
this.in_mc._y -= sp1;
keyed = true;
this.in_mc.right_mc._visible = false;
this.in_mc.left_mc._visible = false;
this.in_mc.inside_mc._visible = true;
this.in_mc.out_mc._visible = false;
} else {
if (Key.isDown(40)) {
this.in_mc._y += sp1;
keyed = true;
this.in_mc.right_mc._visible = false;
this.in_mc.left_mc._visible = false;
this.in_mc.inside_mc._visible = false;
this.in_mc.out_mc._visible = true;
} else {
if (keyed == true and !Key.isDown(37) and !Key.isDown(38) and !Key.isDown(39) and !Key.isDown(39)) {
this.in_mc.right_mc._visible = false;
this.in_mc.left_mc._visible = false;
this.in_mc.inside_mc._visible = false;
this.in_mc.out_mc._visible = false;
}
}
}
}
}
}
}
}
}
movieClip 4658 {
}
movieClip 4659 game127 {
}
movieClip 4664 {
}
movieClip 4665 {
}
movieClip 4680 {
}
movieClip 4684 {
}
movieClip 4685 {
}
movieClip 4699 {
}
movieClip 4707 {
frame 128 {
stop();
}
}
movieClip 4710 game128 {
frame 1 {
stop();
}
frame 1 {
_root.rules = 'Repel the plasma';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
gotoAndStop(2);
}
};
}
frame 2 {
onEnterFrame = function () {
if (_root.timer._currentframe == 128) {
_root.gameOutcome(false);
}
};
}
frame 2 {
_root.rules = 'Repel the plasma';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.Re21_blank._currentframe == 1) {
_root.gameOutcome(false);
}
};
}
instance of movieClip 4665 {
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(radAngle * 360 / 6.283185307179586 + 90);
updateAfterEvent();
}
}
instance of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance plasma of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
}
instance plasma of movieClip 4680 {
onClipEvent (enterFrame) {
if (_root._xmouse > _x) {
_x = _x - 2;
}
}
onClipEvent (enterFrame) {
if (_root._xmouse < _x) {
_x = _x + 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse > _y) {
_y = _y - 2;
}
}
onClipEvent (enterFrame) {
if (_root._ymouse < _y) {
_y = _y + 2;
}
}
onClipEvent (load) {
radius = 38;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = Math.cos(i * 0.0174532925199433) * radius + _x;
Y = Math.sin(i * 0.0174532925199433) * radius + _y;
if (_root.reactor.hitTest(X, Y, true)) {
_root.gotoAndStop(3);
}
i += 15;
}
}
}
}
movieClip 4713 {
}
movieClip 4714 {
}
movieClip 4716 {
}
movieClip 4719 {
}
movieClip 4721 {
}
movieClip 4722 {
}
movieClip 4725 {
}
movieClip 4726 {
}
movieClip 4727 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 4728 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 4731 {
}
movieClip 4732 game131 {
instance of movieClip 4722 {
onClipEvent (load) {
nmbr = 0;
md = false;
Mouse.hide();
tim = 0;
_root.rules = 'Clean the Bike';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (tim <= 127) {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (md) {
duplicateMovieClip(_parent.clip.circ, 'c' + nmbr, nmbr);
_parent.clip['c' + nmbr]._x = _x;
_parent.clip['c' + nmbr]._y = _y;
++nmbr;
duplicateMovieClip(_parent.clip2.circ, 'c' + nmbr, nmbr);
_parent.clip2['c' + nmbr]._x = _x;
_parent.clip2['c' + nmbr]._y = _y;
++nmbr;
}
}
tim += 1;
trace(tim);
if (tim == 99) {
var h = 20;
var w = 80;
win = true;
var i = 0;
while (i < w) {
var j = 0;
while (j < h) {
if (_parent.guid.hitTest(i * _parent.bike._width / w + _parent.bike._x, j * _parent.bike._height / h + _parent.bike._y, true)) {
if (!_parent.clip2.hitTest(i * _parent.bike._width / w + _parent.bike._x, j * _parent.bike._height / h + _parent.bike._y, true)) {
win = false;
j = 1000;
i = 1000;
} else {
win = true;
trace('win');
}
}
++j;
}
++i;
}
if (!win) {
_parent.lose.play();
_root.gameOutcome(false);
} else {
_parent.clip.box.play();
_parent.winc.play();
_root.gameOutcome(true);
}
}
}
}
onClipEvent (mouseDown) {
md = true;
}
onClipEvent (mouseUp) {
md = false;
}
}
}
movieClip 4733 {
}
movieClip 4734 {
frame 1 {
box = new Array(this);
box = [new Vector(275, 200), new Vector(-140, -140), new Vector(140, -140), new Vector(140, 140), new Vector(-140, 140)];
createEmptyMovieClip('boxclip', 1);
numbal = 3;
rs = 0;
balls = new Array(this);
var k = 0;
while (k < numbal) {
duplicateMovieClip(this.ball, 'b' + k, k + 2);
balls[k] = this['b' + k];
balls[k]._x = random(200) + 175;
balls[k]._y = random(200) + 100;
balls[k].speed = new Vector(Math.random() * 10 - 5, Math.random() * 10 - 5);
balls[k]._height = random(25) + 4;
balls[k]._width = balls[k]._height;
++k;
}
edge = 1;
tim = 0;
numb = 0;
col = 16777215;
siz = 4.666666666666667;
angTest = 17.5484006137923;
_root.rules = 'Catch All';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
(tim == 30) ? 0;
var k = 0;
while (k < numbal) {
balls[k].speed.y += 1;
balls[k]._x += balls[k].speed.x;
balls[k]._y += balls[k].speed.y;
++k;
}
if (Key.isDown(37)) {
rs -= 1;
}
if (Key.isDown(39)) {
rs += 1;
}
}
rs *= 0.95;
var i = 1;
while (i < 5) {
box[i].rotate(rs);
++i;
}
if (_root.cstatus == 1) {
var i = 1;
while (i < 5) {
var j = i + 1;
if (j < 5) {
} else {
j = 1;
}
0;
var k = 0;
while (k < numbal) {
var rad = balls[k]._width / 2;
var p = (new Vector(box[i].x - box[j].x, box[i].y - box[j].y)).perpendicular();
p.norm();
var d = new Vector(balls[k]._x - (box[i].x + box[0].x) + p.x * rad, balls[k]._y - (box[i].y + box[0].y) + p.y * rad);
if (Vector.dot(p, d) > 0) {
var dis = Math.sqrt((balls[k]._x + p.x * rad - (box[i].x + box[0].x)) * (balls[k]._x + p.x * rad - (box[i].x + box[0].x)) + (this.ball._y + p.y * rad - (box[i].y + box[0].y)) * (balls[k]._y + p.y * rad - (box[i].y + box[0].y)));
var t = -dis * Math.sin(Vector.angle(new Vector(box[j].x - box[i].x, box[j].y - box[i].y), new Vector(balls[k]._x + p.x * rad - (box[i].x + box[0].x), balls[k]._y + p.y * rad - (box[i].y + box[0].y))) * 0.0174532925199433);
balls[k]._x += p.x * t;
balls[k]._y += p.y * t;
balls[k].speed = balls[k].speed.reflect(p);
balls[k].speed.vLength() > 1 ? balls[k].speed.scale(0.99) : balls[k].speed.scale(0);
if (Vector.angle(new Vector(balls[k]._x - box[0].x, balls[k]._y - box[0].y), new Vector((box[edge].x - box[edge2].x) / 2, (box[edge].y - box[edge2].y) / 2)) < angTest && j == edge) {
removeMovieClip(balls[k]);
numb += 1;
if (numb == numbal) {
col = 16711680;
_root.gameOutcome(true);
}
}
}
++k;
}
++i;
}
}
with (boxclip) {
clear();
lineStyle(0, col, 0);
moveTo(box[0].x + box[1].x, box[0].y + box[1].y);
beginFill(col, 100);
lineTo(box[0].x + box[2].x, box[0].y + box[2].y);
lineTo(box[0].x + box[3].x, box[0].y + box[3].y);
lineTo(box[0].x + box[4].x, box[0].y + box[4].y);
lineTo(box[0].x + box[1].x, box[0].y + box[1].y);
endFill();
lineStyle(20, col, 100);
edge2 = edge + 1;
if (edge2 < 5) {
} else {
edge2 = 1;
}
0;
moveTo((box[edge].x - box[edge2].x) / 2 + box[0].x, (box[edge].y - box[edge2].y) / 2 + box[0].y);
lineTo((box[edge].x - box[edge2].x) / 2 + box[0].x - (box[edge].y - box[edge2].y) / 2 / siz, (box[edge].y - box[edge2].y) / 2 + box[0].y + (box[edge].x - box[edge2].x) / 2 / siz);
moveTo((box[edge].x - box[edge2].x) / 2 + box[0].x, (box[edge].y - box[edge2].y) / 2 + box[0].y);
lineTo((box[edge].x - box[edge2].x) / 2 + box[0].x + (box[edge].y - box[edge2].y) / 2 / siz, (box[edge].y - box[edge2].y) / 2 + box[0].y - (box[edge].x - box[edge2].x) / 2 / siz);
}
};
}
}
movieClip 4737 {
}
movieClip 4738 game132 {
}
movieClip 4743 {
}
movieClip 4746 {
}
movieClip 4759 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 4763 {
}
movieClip 4765 {
}
movieClip 4766 {
frame 1 {
stop();
}
instance goo of movieClip 4765 {
onClipEvent (load) {
_visible = false;
if (_parent.hitTest(_parent._parent.bug1._x, _parent._parent.bug1._y) && _parent._parent.bug1._currentframe == 1) {
_visible = true;
_parent._parent.bug1.play();
}
if (_parent.hitTest(_parent._parent.bug2._x, _parent._parent.bug2._y) && _parent._parent.bug2._currentframe == 1) {
_visible = true;
_parent._parent.bug2.play();
}
if (_parent.hitTest(_parent._parent.bug3._x, _parent._parent.bug3._y) && _parent._parent.bug3._currentframe == 1) {
_visible = true;
_parent._parent.bug3.play();
}
}
}
}
movieClip 4770 {
}
movieClip 4771 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 4772 {
frame 1 {
_root.rules = 'Debug';
_root.beatClock = true;
}
instance bug1 of movieClip 4759 {
onClipEvent (load) {
_x = random(550);
dir = random(3) - 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_currentframe == 1) {
_x = _x + 3 * dir;
if (_x >= 0) {
} else {
_x = 0;
}
0;
if (_x <= 550) {
} else {
_x = 500;
}
0;
if (random(20) != 0) {
} else {
dir = random(3) - 1;
}
0;
}
}
}
}
instance bug2 of movieClip 4759 {
onClipEvent (load) {
_x = random(550);
dir = random(3) - 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_currentframe == 1) {
_x = _x + 3 * dir;
if (_x >= 0) {
} else {
_x = 0;
}
0;
if (_x <= 550) {
} else {
_x = 500;
}
0;
if (random(20) != 0) {
} else {
dir = random(3) - 1;
}
0;
}
}
}
}
instance bug3 of movieClip 4759 {
onClipEvent (load) {
_x = random(550);
dir = random(3) - 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_currentframe == 1) {
_x = _x + 3 * dir;
if (_x >= 0) {
} else {
_x = 0;
}
0;
if (_x <= 550) {
} else {
_x = 500;
}
0;
if (random(20) != 0) {
} else {
dir = random(3) - 1;
}
0;
}
}
}
}
instance of movieClip 4766 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
play();
}
if (_currentframe == 1) {
if (Key.isDown(37)) {
_x = _x - 15;
}
if (Key.isDown(39)) {
_x = _x + 15;
}
if (_x >= 0) {
} else {
_x = 0;
}
0;
if (_x <= 550) {
} else {
_x = 500;
}
0;
}
if (_parent.bug1._currentframe != 1 && _parent.bug2._currentframe != 1 && _parent.bug3._currentframe != 1 && _parent.happy._currentframe == 1) {
_parent.happy.play();
_root.gameOutcome(true);
}
}
}
}
}
movieClip 4775 {
}
movieClip 4776 game133 {
}
movieClip 4778 {
}
// unknown tag 88 length 102
movieClip 4787 {
}
movieClip 4788 {
frame 1 {
stop();
}
instance of movieClip 4787 {
onClipEvent (load) {
this.gotoAndStop(_parent.pass);
}
}
frame 6 {
stop();
}
}
movieClip 4790 {
frame 71 {
stop();
}
}
movieClip 4793 {
}
movieClip 4794 game134 {
instance of movieClip 4788 {
onClipEvent (load) {
pass = 1;
_root.rules = 'Differentiate';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_currentframe == 1) {
if (Key.isDown(39)) {
play();
pass = 2;
_root.gameOutcome(true);
}
if (Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
play();
_root.gameOutcome(false);
}
}
}
}
}
}
movieClip 4801 {
}
movieClip 4810 {
}
movieClip 4811 {
instance of movieClip 4801 {
onClipEvent (load) {
stop();
t = random(4) + 1;
this.gotoAndStop(t);
k = false;
_root.rules = 'evolve';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this.gotoAndStop(t);
if (Key.isDown(37) && !k) {
k = true;
if (t == 3) {
_parent.ec.nextFrame();
t = random(5) + 1;
}
}
if (Key.isDown(39) && !k) {
k = true;
if (t == 1) {
_parent.ec.nextFrame();
t = random(5) + 1;
}
}
if (Key.isDown(38) && !k) {
k = true;
if (t == 2) {
_parent.ec.nextFrame();
t = random(5) + 1;
}
}
if (Key.isDown(40) && !k) {
k = true;
if (t == 4) {
_parent.ec.nextFrame();
t = random(5) + 1;
}
}
if (Key.isDown(32) && !k) {
k = true;
if (t == 5) {
_parent.ec.nextFrame();
t = random(5) + 1;
}
}
if (!Key.isDown(37) && !Key.isDown(39) && !Key.isDown(38) && !Key.isDown(40) && !Key.isDown(32)) {
k = false;
}
if (_parent.ec._currentframe == 8) {
_root.gameOutcome(true);
}
}
}
}
instance ec of movieClip 4810 {
onClipEvent (load) {
stop();
}
}
}
movieClip 4814 {
}
movieClip 4815 game135 {
}
movieClip 4817 {
}
movieClip 4831 {
}
movieClip 4832 {
}
movieClip 4839 {
frame 1 {
stop();
}
}
movieClip 4847 {
frame 1 {
stop();
}
frame 4 {
++ticker;
}
}
movieClip 4850 {
}
movieClip 4853 {
}
movieClip 4854 game136 {
frame 1 {
numb = 0;
_root.rules = 'How much wood?';
_root.beatClock = true;
}
instance j1 of movieClip 4839 {
onClipEvent (load) {
tim = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++tim;
if (tim < 80 && _currentframe == 1 && random(20) == 0) {
play();
++_parent.numb;
}
}
}
}
instance j2 of movieClip 4839 {
onClipEvent (load) {
tim = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++tim;
if (tim < 80 && _currentframe == 1 && random(20) == 0) {
play();
++_parent.numb;
}
}
}
}
instance j3 of movieClip 4839 {
onClipEvent (load) {
tim = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++tim;
if (tim < 80 && _currentframe == 1 && random(20) == 0) {
play();
++_parent.numb;
}
}
}
}
instance of movieClip 4847 {
onClipEvent (load) {
ticker = 0;
tim = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32) && tim < 99) {
play();
}
++tim;
if (tim == 99) {
if (ticker == _parent.numb) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
}
}
}
}
movieClip 4855 {
}
movieClip 4858 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 4859 {
}
movieClip 4861 {
}
movieClip 4864 {
}
movieClip 4865 {
}
movieClip 4868 {
}
movieClip 4870 {
}
movieClip 4872 {
}
movieClip 4873 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 4874 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 4875 {
instance of movieClip 4870 {
onClipEvent (load) {
nmbr = 0;
md = false;
Mouse.hide();
tim = 0;
_root.rules = 'Paint';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (tim <= 99) {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (md) {
duplicateMovieClip(_parent.clip.circ, 'c' + nmbr, nmbr);
_parent.clip['c' + nmbr]._x = _x;
_parent.clip['c' + nmbr]._y = _y;
++nmbr;
duplicateMovieClip(_parent.clip2.circ, 'c' + nmbr, nmbr);
_parent.clip2['c' + nmbr]._x = _x;
_parent.clip2['c' + nmbr]._y = _y;
++nmbr;
}
}
tim += 1;
if (tim == 99) {
var h = 50;
var w = 20;
win = true;
var i = 0;
while (i < w) {
var j = 0;
while (j < h) {
if (!_parent.clip2.hitTest(i * _parent.can._width / w + _parent.can._x, j * _parent.can._height / h + _parent.can._y, true)) {
win = false;
}
++j;
}
++i;
}
if (!win) {
_parent.lose.play();
_root.gameOutcome(false);
} else {
_parent.clip.box.play();
_parent.winc.play();
_root.gameOutcome(true);
}
}
}
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
md = true;
}
}
onClipEvent (mouseUp) {
md = false;
}
}
}
movieClip 4878 {
}
movieClip 4879 game137 {
}
movieClip 4882 {
}
movieClip 4884 {
}
movieClip 4886 {
}
movieClip 4889 {
}
movieClip 4891 {
}
movieClip 4893 {
}
movieClip 4895 {
}
movieClip 4897 {
}
movieClip 4899 {
}
movieClip 4912 {
frame 105 {
stop();
}
}
movieClip 4915 {
}
movieClip 4918 {
}
movieClip 4919 game138 {
instance of movieClip 4912 {
onClipEvent (load) {
stop();
space = false;
_root.rules = 'Seppuku';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_currentframe < 50) {
if (Key.isDown(39)) {
nextFrame();
}
}
if (_currentframe == 50) {
play();
_root.gameOutcome(true);
}
}
}
}
}
movieClip 4922 {
}
movieClip 4927 {
}
movieClip 4929 {
}
movieClip 4931 {
}
movieClip 4932 {
}
movieClip 4934 {
}
movieClip 4952 {
}
movieClip 4953 {
frame 2 {
stop();
}
}
movieClip 4954 {
}
movieClip 4955 {
}
movieClip 4957 {
}
movieClip 4958 {
}
movieClip 4961 {
}
movieClip 4964 {
}
movieClip 4965 game139 {
frame 1 {
filler0 = new Color(sumos.sum0.guts.dude.diaper.fill);
hig0 = new Color(sumos.sum0.guts.dude.diaper.hig);
stroke0 = new Color(sumos.sum0.guts.dude.diaper.stroke);
filler1 = new Color(sumos.sum1.guts.dude.diaper.fill);
hig1 = new Color(sumos.sum1.guts.dude.diaper.hig);
stroke1 = new Color(sumos.sum1.guts.dude.diaper.stroke);
sumos.sum0.onEnterFrame = function () {
filler0.setRGB(13369344);
hig0.setRGB(16711680);
stroke0.setRGB(11730944);
};
sumos.sum1.onEnterFrame = function () {
filler1.setRGB(3892113);
hig1.setRGB(8430540);
stroke1.setRGB(13158);
};
_root.rules = 'Sumo';
_root.beatClock = true;
}
instance sumos of movieClip 4955 {
onClipEvent (load) {
_x = 275;
}
}
instance of movieClip 4958 {
onClipEvent (load) {
stop();
ldown = false;
rdown = false;
speed2 = 3;
speed1 = 14;
t = 0;
t1 = 2;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (t <= 0) {
_parent.sumos._x -= speed2;
}
t -= 1;
if (Key.isDown(39) && !rdown) {
rdown = true;
if (_currentframe == 1) {
_parent.sumos._x += speed1;
t = t1;
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && !ldown) {
ldown = true;
if (_currentframe == 2) {
_parent.sumos._x += speed1;
t = t1;
this.gotoAndStop(1);
}
}
if (!Key.isDown(37)) {
ldown = false;
}
if (!Key.isDown(39)) {
rdown = false;
}
if (_parent.sumos._x > 475) {
_root.gameOutcome(true);
}
if (_parent.sumos._x < 75) {
_root.gameOutcome(false);
}
}
}
}
}
movieClip 4967 {
}
movieClip 4968 {
}
movieClip 4970 {
}
movieClip 4972 {
instance of movieClip 4970 {
onClipEvent (load) {
rot = new Vector(_parent._xmouse - _x, _parent._ymouse - _y);
fr = 0;
md = false;
prot = 0;
_parent.weight.stop();
_root.rules = 'Wind Up';
_root.beatClock = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (md) {
var newrot = new Vector(_parent._xmouse - _x, _parent._ymouse - _y);
ofr = fr;
fr += Vector.angle2(newrot, rot);
if (isNaN(fr)) {
fr = ofr;
}
rot.x = newrot.x;
rot.y = newrot.y;
fr2 = Math.round(fr / 28);
if (fr2 < 100) {
} else {
fr2 = 100;
}
0;
if (fr2 > 1) {
} else {
fr2 = 1;
}
0;
_parent.weight.gotoAndStop(fr2);
_rotation = Vector.angle2(new Vector(0, 1), rot) + 180 + prot;
if (_parent.weight._currentframe >= 100) {
_root.gameOutcome(true);
}
}
}
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
md = true;
rot = new Vector(_parent._xmouse - _x, _parent._ymouse - _y);
prot = _rotation - Vector.angle2(new Vector(0, 1), rot) + 180;
}
}
onClipEvent (mouseUp) {
md = false;
}
}
}
movieClip 4975 {
}
movieClip 4976 game140 {
}
movieClip 4981 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 4986 {
}
movieClip 4987 {
}
movieClip 4991 {
}
movieClip 4993 {
}
movieClip 4996 {
}
movieClip 5010 {
}
movieClip 5011 {
frame 29 {
gotoAndPlay(10);
}
}
movieClip 5013 {
}
movieClip 5014 {
}
movieClip 5016 {
frame 8 {
this._parent._parent._parent.Nug9_dead.play();
}
frame 10 {
stop();
}
}
movieClip 5017 {
frame 1 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 5019 {
}
movieClip 5023 {
}
movieClip 5024 {
}
movieClip 5025 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 5027 {
}
movieClip 5028 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 5033 {
frame 1 {
stop();
}
frame 40 {
stop();
}
}
movieClip 5036 {
}
movieClip 5037 game141 {
frame 1 {
_root.rules = 'Hit His Eye';
_root.beatClock = true;
}
instance Nug9_spear of movieClip 5025 {
onClipEvent (load) {
this._x = random(500) + 25;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._x <= 0) {
this._x = 0;
}
if (this._x >= 550) {
this._x = 550;
}
if (_currentframe == 1) {
if (Key.isDown(32)) {
play();
}
if (Key.isDown(37)) {
_x = _x - 5;
}
if (Key.isDown(39)) {
_x = _x + 5;
}
}
if (_currentframe == 14) {
if (hitTest(this._parent.Nug9_face.Nug9_eye.Nug9_ball1.Nug9_ball)) {
this._parent.Nug9_face.Nug9_eye.play();
this._parent.Nug9_hand.play();
this._parent.Nug9_face.Nug9_ear.play();
this._parent.Nug9_face.Nug9_ear1.play();
_root.gameOutcome(true);
} else {
if (hitTest(this._parent.Nug9_face.Nug9_eye.Nug9_left)) {
this._parent.Nug9_face.Nug9_eye.gotoAndStop('left');
_root.gameOutcome(false);
} else {
if (hitTest(this._parent.Nug9_face.Nug9_eye.Nug9_right)) {
this._parent.Nug9_face.Nug9_eye.gotoAndStop('right');
_root.gameOutcome(false);
}
}
}
}
}
}
}
}
movieClip 5039 {
}
movieClip 5044 {
frame 1 {
stop();
}
}
movieClip 5046 {
}
movieClip 5049 {
}
movieClip 5051 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
movieClip 5064 {
frame 1 {
stop();
}
frame 41 {
stop();
}
}
movieClip 5066 {
}
movieClip 5067 {
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
instance of movieClip 5066 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
}
movieClip 5075 {
}
movieClip 5080 {
}
movieClip 5082 {
}
movieClip 5084 {
}
movieClip 5107 {
frame 1 {
stop();
}
}
movieClip 5109 {
}
movieClip 5110 {
}
movieClip 5113 {
frame 7 {
stop();
_root.g.counter.number = 2;
}
}
movieClip 5115 {
frame 7 {
stop();
_root.g.counter.number = 3;
}
}
movieClip 5117 {
frame 7 {
stop();
}
}
movieClip 5118 {
frame 1 {
stop();
}
frame 4 {
_root.g.alternate.play();
}
}
// unknown tag 88 length 66
movieClip 5124 {
frame 1 {
stop();
}
frame 10 {
stop();
_root.gameOutcome(true);
}
}
movieClip 5127 {
}
movieClip 5128 game142 {
frame 1 {
_quality = 'LOW';
_root.rules = 'Get to 3!';
_root.beatClock = true;
}
instance of movieClip 5044 {
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 5));
}
}
instance of movieClip 5049 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 71));
}
}
instance of movieClip 5049 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 71));
}
}
instance of movieClip 5049 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 71));
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5051 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5064 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5064 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.gotoAndPlay(Math.ceil(Math.random() * 15));
}
}
}
instance of movieClip 5064 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.gotoAndPlay(7);
}
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5075 {
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 35));
this._height = Math.random() * 17 + 5;
}
}
instance of movieClip 5107 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this.play();
}
if (_root.cstatus == 1) {
if (this._currentframe >= 20 && _root.g.counter.number == 1 && Key.isDown(32)) {
_root.g.counter.gotoAndStop(2);
}
if (this._currentframe >= 20 && _root.g.counter.number == 2 && Key.isDown(32)) {
_root.g.counter.gotoAndStop(3);
}
if (this._currentframe >= 20 && _root.g.counter.number == 3 && Key.isDown(32)) {
_root.g.counter.gotoAndStop(4);
}
}
}
}
instance counter of movieClip 5118 {
onClipEvent (load) {
number = 1;
}
}
}
movieClip 5146 {
}
movieClip 5156 {
}
movieClip 5158 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5160 {
}
movieClip 5161 {
}
movieClip 5162 {
}
movieClip 5180 {
}
movieClip 5181 {
frame 1 {
stop();
}
}
movieClip 5184 {
}
movieClip 5186 game143 {
frame 1 {
_root.rules = 'Don\'t get eaten!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (fishy.hitTest(sharky.hittesty)) {
_root.gameOutcome(false);
}
}
};
}
instance fishy of movieClip 5158 {
onClipEvent (load) {
speed = 0.3;
max = 4;
x_velocity = 0;
y_velocity = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
gotoAndStop(2);
x_velocity += speed;
} else {
if (Key.isDown(37)) {
gotoAndStop(1);
x_velocity -= speed;
} else {
if (x_velocity > 0) {
x_velocity -= speed;
} else {
if (x_velocity < 0) {
x_velocity += speed;
}
}
}
}
if (x_velocity > max) {
x_velocity = max;
}
if (x_velocity < -max) {
x_velocity = -max;
}
if (Key.isDown(40)) {
y_velocity += speed;
} else {
if (Key.isDown(38)) {
y_velocity -= speed;
} else {
if (y_velocity > 0) {
y_velocity -= speed;
} else {
if (y_velocity < 0) {
y_velocity += speed;
}
}
}
}
if (y_velocity > max) {
y_velocity = max;
}
if (y_velocity < -max) {
y_velocity = -max;
}
if (x_velocity < 0.3 && x_velocity > -0.3) {
x_velocity = 0;
}
if (y_velocity < 0.3 && y_velocity > -0.3) {
y_velocity = 0;
}
_y = _y + y_velocity;
_x = _x + x_velocity;
if (_x >= 550 - _width) {
_x = 550 - _width;
}
if (_y >= 363.7) {
_y = 363.7;
}
if (_x <= 1) {
_x = 1;
}
if (_y <= 1) {
_y = 1;
}
}
if (this.hitTest(_parent.sharky.hittesty)) {
this.gotoAndStop(3);
}
}
}
instance of movieClip 5160 {
onClipEvent (enterFrame) {
if (_parent.fishy._currentframe == 1) {
_x = _parent.fishy._x;
_y = _parent.fishy._y;
} else {
_x = _parent.fishy._x + _parent.fishy._width;
}
_y = _parent.fishy._y;
}
}
instance of movieClip 5161 {
onClipEvent (enterFrame) {
if (_parent.sharky._currentframe == 1) {
_x = _parent.sharky._x;
_y = _parent.sharky._y;
} else {
_x = _parent.sharky._x + _parent.fishy._width;
}
_y = _parent.sharky._y;
}
}
instance sharky of movieClip 5181 {
onClipEvent (load) {
speed = 0.22;
max = 4;
x_velocity = 0;
y_velocity = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.fishy._x < this._x + _width / 2) {
gotoAndStop(1);
x_velocity -= speed;
}
if (_parent.fishy._x > this._x + _width / 2) {
gotoAndStop(2);
x_velocity += speed;
}
if (x_velocity > max) {
x_velocity = max;
}
if (x_velocity < -max) {
x_velocity = -max;
}
if (_parent.fishy._y < this._y + _height / 2) {
y_velocity -= speed;
}
if (_parent.fishy._y > this._y + _height / 2) {
y_velocity += speed;
}
if (y_velocity > max) {
y_velocity = max;
}
if (y_velocity < -max) {
y_velocity = -max;
}
_y = _y + y_velocity;
_x = _x + x_velocity;
}
}
}
}
movieClip 5189 {
}
movieClip 5190 {
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
instance of movieClip 5189 {
onClipEvent (enterFrame) {
_rotation = _rotation + random(5);
}
}
}
movieClip 5192 {
}
movieClip 5206 {
frame 14 {
stop();
}
}
movieClip 5207 {
frame 1 {
stop();
}
}
movieClip 5209 {
frame 1 {
stop();
}
}
movieClip 5212 {
}
movieClip 5213 game144 {
frame 1 {
function main() {
xspeed = oldx - _root._xmouse;
yspeed = oldy - _root._ymouse;
mousespeed = Math.abs((xspeed + yspeed) / 2);
oldx = _root._xmouse;
oldy = _root._ymouse;
trace(mouseSpeed);
if (mousespeed >= 15 && _root.g.cursor.hitTest(_root.g.enemy)) {
_root.g.enemy.gotoAndStop(2);
_root.gameOutcome(true);
Mouse.show();
}
}
_root.rules = 'Slash the Ball!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
main();
}
};
}
instance enemy of movieClip 5207 {
onClipEvent (load) {
right = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (right == true) {
_x = _x + 5;
} else {
_x = _x - 5;
}
if (_x < 0) {
right = true;
}
if (_x > 550) {
right = false;
}
}
}
}
instance cursor of movieClip 5209 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
}
movieClip 5219 {
}
movieClip 5221 {
}
movieClip 5224 {
}
movieClip 5225 {
}
movieClip 5236 {
frame 1 {
stop();
}
frame 64 {
stop();
}
}
movieClip 5237 game145 {
frame 1 {
_root.rules = 'Time the Leap!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.csatus == 1) {
if (Key.isDown(32)) {
_root.g.ground.exit.stop();
_root.gameOutcome(true);
}
if (_root.g.player.hitTest(_root.g.water)) {
_root.gameOutcome(false);
}
}
};
}
instance of movieClip 5221 {
onClipEvent (load) {
grav = 0;
speed = 6;
scale = _xscale;
go = false;
stopp = false;
goup = 5;
gooup = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++grav;
_y = _y + grav;
while (_root.g.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (Key.isDown(32) && stopp == false) {
go = true;
}
if (go == true) {
_x = _x - speed;
_xscale = scale;
if (_root.g.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
if (this.hitTest(_root.g.ground.exit)) {
_root.g.ground.play();
_root.g.ground.exit._y -= goup;
gooup = true;
go = false;
stopp = true;
}
if (gooup == true) {
_root.g.ground.exit._y -= goup;
goup + 0.5;
}
}
}
}
}
movieClip 5239 {
}
movieClip 5249 {
frame 1 {
stop();
}
}
movieClip 5258 {
frame 1 {
stop();
}
frame 23 {
stop();
}
}
movieClip 5260 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5279 {
frame 1 {
stop();
}
frame 8 {
stop();
}
frame 17 {
stop();
}
}
movieClip 5282 {
}
movieClip 5283 game146 {
frame 1 {
_root.rules = 'Hug Somebody!';
_root.beatClock = true;
}
instance targetz of movieClip 5249 {
onClipEvent (load) {
_x = random(550);
_y = random(350) + 50;
gotoAndStop(random(8));
}
}
instance of movieClip 5258 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_y = _y - 10;
}
if (Key.isDown(40)) {
_y = _y + 10;
}
if (Key.isDown(39)) {
_x = _x + 10;
}
if (Key.isDown(37)) {
_x = _x - 10;
}
if (_x < 0) {
_x = 0;
}
if (_x > 550) {
_x = 550;
}
if (_y < 0) {
_y = 0;
}
if (_y > 400) {
_y = 400;
}
if (Key.isDown(32)) {
gotoAndPlay(2);
if (this.hitTest(_root.g.targetz)) {
_root.g.targetz._x = this._x;
_root.g.targetz._x += 15;
_root.gameOutcome(true);
_root.g.wl1.gotoAndPlay(2);
} else {
_root.gameOutcome(false);
_root.g.wl1.gotoAndPlay(9);
}
}
}
}
onClipEvent (keyDown) {
_root.g.intro.nextFrame();
}
}
}
movieClip 5316 {
frame 32 {
stop();
}
}
movieClip 5317 {
frame 1 {
stop();
}
}
movieClip 5324 {
frame 1 {
stop();
}
}
movieClip 5327 {
}
movieClip 5328 game147 {
frame 1 {
_root.rules = 'Catch them ALL!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.ball1._currentframe == 7 && _root.g.ball2._currentframe == 7 && _root.g.ball3._currentframe == 7 && _root.g.ball4._currentframe == 7) {
_root.gameOutcome(true);
_root.g.player.gotoAndStop(2);
}
}
};
}
instance player of movieClip 5317 {
onClipEvent (enterFrame) {
if (Key.isDown(37) && _currentframe == 1) {
_x = _x - 24;
}
if (Key.isDown(39) && _currentframe == 1) {
_x = _x + 24;
}
if (_x < 0) {
_x = 0;
}
if (_x > 550) {
_x = 550;
}
}
}
instance ball1 of movieClip 5324 {
onClipEvent (load) {
up = true;
left = true;
gotoAndStop(random(6));
_x = random(550);
_y = random(400);
}
onClipEvent (enterFrame) {
if (up == true) {
_y = _y - 12;
} else {
_y = _y + 12;
}
if (left == true) {
_x = _x - 12;
} else {
_x = _x + 12;
}
if (_x < 0) {
_x = 0;
left = false;
}
if (_x > 550) {
_x = 550;
left = true;
}
if (_y < 0) {
_y = 0;
up = false;
}
if (_y > 400) {
_y = 400;
up = true;
}
if (this.hitTest(_root.g.player)) {
gotoAndStop(7);
}
}
}
instance ball2 of movieClip 5324 {
onClipEvent (load) {
up = true;
left = true;
gotoAndStop(random(6));
_x = random(550);
_y = random(400);
}
onClipEvent (enterFrame) {
if (up == true) {
_y = _y - 12;
} else {
_y = _y + 12;
}
if (left == true) {
_x = _x - 12;
} else {
_x = _x + 12;
}
if (_x < 0) {
_x = 0;
left = false;
}
if (_x > 550) {
_x = 550;
left = true;
}
if (_y < 0) {
_y = 0;
up = false;
}
if (_y > 400) {
_y = 400;
up = true;
}
if (this.hitTest(_root.g.player)) {
gotoAndStop(7);
}
}
}
instance ball3 of movieClip 5324 {
onClipEvent (load) {
up = true;
left = true;
gotoAndStop(random(6));
_x = random(550);
_y = random(400);
}
onClipEvent (enterFrame) {
if (up == true) {
_y = _y - 12;
} else {
_y = _y + 12;
}
if (left == true) {
_x = _x - 12;
} else {
_x = _x + 12;
}
if (_x < 0) {
_x = 0;
left = false;
}
if (_x > 550) {
_x = 550;
left = true;
}
if (_y < 0) {
_y = 0;
up = false;
}
if (_y > 400) {
_y = 400;
up = true;
}
if (this.hitTest(_root.g.player)) {
gotoAndStop(7);
}
}
}
instance ball4 of movieClip 5324 {
onClipEvent (load) {
up = true;
left = true;
gotoAndStop(random(6));
_x = random(550);
_y = random(400);
}
onClipEvent (enterFrame) {
if (up == true) {
_y = _y - 12;
} else {
_y = _y + 12;
}
if (left == true) {
_x = _x - 12;
} else {
_x = _x + 12;
}
if (_x < 0) {
_x = 0;
left = false;
}
if (_x > 550) {
_x = 550;
left = true;
}
if (_y < 0) {
_y = 0;
up = false;
}
if (_y > 400) {
_y = 400;
up = true;
}
if (this.hitTest(_root.g.player)) {
gotoAndStop(7);
}
}
}
}
movieClip 5332 {
}
movieClip 5340 {
}
movieClip 5379 {
frame 1 {
stop();
}
frame 20 {
_root.gameOutcome(true);
}
frame 35 {
stop();
}
}
movieClip 5380 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 5384 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5387 {
}
movieClip 5388 game148 {
frame 1 {
_root.rules = 'Spray the Paint!';
_root.beatClock = true;
shakec = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(38) && _root.g.arrows._currentframe == 1) {
_root.g.player.play();
_root.g.arrows.nextFrame();
shakec += 1;
}
if (Key.isDown(40) && _root.g.arrows._currentframe == 2) {
_root.g.player.play();
_root.g.arrows.prevFrame();
shakec += 1;
}
if (shakec >= 10) {
_root.g.player.arms.nextFrame();
_root.g.arrows.gotoAndStop(3);
}
}
};
}
}
movieClip 5391 {
}
movieClip 5392 {
}
movieClip 5393 {
}
movieClip 5395 {
}
movieClip 5397 {
}
movieClip 5398 {
}
movieClip 5407 {
frame 9 {
stop();
}
}
movieClip 5409 {
frame 11 {
stop();
}
}
movieClip 5410 {
frame 9 {
stop();
}
}
movieClip 5411 {
frame 11 {
stop();
}
}
movieClip 5415 {
}
movieClip 5417 {
}
movieClip 5420 {
}
movieClip 5421 {
}
movieClip 5423 {
}
movieClip 5424 {
frame 46 {
stop();
}
}
movieClip 5426 {
}
movieClip 5427 {
frame 1 {
_root.rules = 'Sharpen the knife';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
started = true;
}
if (_root.cstatus == 0 && started == true) {
_root.g.gotoAndStop(17);
}
};
}
frame 1 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(2);
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(3);
}
}
}
}
frame 3 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(4);
}
}
}
}
frame 4 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(5);
}
}
}
}
frame 5 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(6);
}
}
}
}
frame 6 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(7);
}
}
}
}
frame 7 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(8);
}
}
}
}
frame 8 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(9);
}
}
}
}
frame 9 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(10);
}
}
}
}
frame 10 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(11);
}
}
}
}
frame 11 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(12);
}
}
}
}
frame 12 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(13);
}
}
}
}
frame 13 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(14);
}
}
}
}
frame 14 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(15);
}
}
}
}
frame 15 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(16);
}
}
}
}
frame 16 {
stop();
}
instance of movieClip 5398 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
if (_root.cstatus == 1) {
_root.g.g.gotoAndStop(17);
}
}
}
}
frame 17 {
stop();
_root.gameOutcome(true);
}
frame 18 {
stop();
_root.gameOutcome(false);
}
}
movieClip 5430 {
}
movieClip 5431 game149 {
}
movieClip 5434 {
}
movieClip 5435 game150 {
frame 1 {
_root.rules = 'Clear the Area!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.g.star1._currentframe >= 2 && _root.g.star2._currentframe >= 2 && _root.g.star3._currentframe >= 2 && _root.g.star4._currentframe >= 2 && _root.g.star5._currentframe >= 2 && _root.g.star6._currentframe >= 2) {
_root.gameOutcome(true);
_root.g.level.nextFrame();
}
};
}
instance player of movieClip 2935 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_y = _y - 5;
}
if (Key.isDown(40)) {
_y = _y + 5;
}
if (Key.isDown(37)) {
_x = _x - 5;
}
if (Key.isDown(39)) {
_x = _x + 5;
}
if (_root.g.level.hitTest(_x, _y, true)) {
_root.gameOutcome(false);
_x = 202.5;
_y = 327.2;
}
}
}
}
instance star1 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star2 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star3 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star4 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star5 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
instance star6 of movieClip 2938 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.player) && _currentframe <= 1) {
gotoAndPlay(2);
}
}
}
}
movieClip 5438 {
}
movieClip 5439 {
}
movieClip 5445 {
}
movieClip 5449 {
}
movieClip 5453 {
}
movieClip 5458 {
}
movieClip 5465 {
}
movieClip 5467 {
frame 2 {
_root.gameOutcome(true);
}
frame 18 {
stop();
}
}
movieClip 5468 {
frame 1 {
_root.rules = 'Make the plane';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
frame 1 {
stop();
}
instance of movieClip 5445 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_root.g.stuffs.nextFrame();
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 5449 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.stuffs.nextFrame();
}
}
}
frame 3 {
stop();
}
instance of movieClip 5453 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.stuffs.nextFrame();
}
}
}
frame 4 {
stop();
}
instance of movieClip 5458 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_root.g.stuffs.nextFrame();
}
}
}
frame 5 {
stop();
}
instance of movieClip 5449 {
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.g.stuffs.nextFrame();
}
}
}
frame 6 {
stop();
}
instance of movieClip 5453 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.g.stuffs.nextFrame();
}
}
}
frame 7 {
stop();
}
instance of movieClip 5465 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
_root.g.stuffs.nextFrame();
}
}
}
}
frame 8 {
stop();
}
frame 9 {
stop();
_root.gameOutcome(true);
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
}
frame 14 {
_root.gameOutcome(true);
stop();
}
}
movieClip 5471 {
}
movieClip 5472 game151 {
}
movieClip 5476 {
}
movieClip 5481 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 5482 {
frame 1 {
onEnterFrame = function () {
if (_root.cstatus == 1) {
play();
} else {
stop();
}
};
}
}
movieClip 5483 {
}
movieClip 5484 {
}
movieClip 5491 {
}
movieClip 5499 {
frame 11 {
stop();
}
}
movieClip 5500 {
frame 1 {
stop();
}
frame 30 {
stop();
}
}
movieClip 5503 {
}
movieClip 5504 game152 {
frame 1 {
_root.rules = 'Jump!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (eye9_runner._currentframe == 29) {
eye9_runner.gotoAndPlay(1);
}
if (Key.isDown(32)) {
eye9_runner.play();
if (eye9_runner._currentframe == 29) {
eye9_runner.gotoAndPlay(1);
}
}
if (eye9_runner.hitTest(eye9_back.eye9_stand)) {
if (eye9_runner._currentframe < 3 || eye9_runner._currentframe > 18) {
eye9_runner.gotoAndStop('fall');
if (eye9_runner.eye9_fall._currentframe == 11) {
eye9_runner.eye9_fall.stop();
}
eye9_back.eye9_stand.stop();
eye9_back.eye9_stand.eye9_stand2.play();
eye9_back.eye9_crowd.stop();
_root.gameOutcome(false);
if (eye9_runner._currentframe == 33) {
eye9_runner.stop();
}
if (eye9_back.eye9_stand.eye9_stand2._currentframe == 5) {
eye9_back.eye9_stand.eye9_stand2.stop();
}
}
}
}
};
}
}
movieClip 5507 {
}
movieClip 5513 {
}
movieClip 5514 {
frame 20 {
stop();
}
}
movieClip 5515 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5521 {
}
movieClip 5522 {
frame 25 {
stop();
}
}
movieClip 5523 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5526 {
}
movieClip 5529 {
}
movieClip 5532 {
}
movieClip 5533 {
}
movieClip 5534 {
}
movieClip 5537 {
}
movieClip 5538 game153 {
frame 1 {
_root.rules = 'Land the Plane!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 5515 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.plane)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 5515 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.plane)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 5515 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.plane)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 5515 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.plane)) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 5523 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.plane)) {
this.gotoAndStop(2);
_root.gameOutcome(true);
}
}
}
instance plane of movieClip 5534 {
onClipEvent (load) {
speed = 4;
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_x = _x + Key.isDown(39) * speed;
_x = _x - Key.isDown(37) * speed;
_y = _y + Key.isDown(40) * speed;
_y = _y - Key.isDown(38) * speed;
}
}
}
}
movieClip 5540 {
}
movieClip 5542 {
}
movieClip 5544 {
}
movieClip 5546 {
}
movieClip 5548 {
}
button 5550 {
on (release) {
_root.gameOutcome(false);
}
on (release) {
_root.rageacecrosshair.play();
}
}
movieClip 5554 {
frame 1 {
stop();
}
}
movieClip 5555 {
}
movieClip 5558 {
}
button 5560 {
on (release) {
_root.gameOutcome(true);
}
on (release) {
_root.rageacecrosshair.play();
}
}
movieClip 5562 {
}
movieClip 5563 game154 {
frame 1 {
startDrag('_root.g.rageacecrosshair', true);
Mouse.hide();
}
frame 1 {
_root.rules = 'Wait till its clear';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 5540 {
onClipEvent (release) {
_root.gameOutcome(false);
}
onClipEvent (release) {
_root.rageacecrosshair.play();
}
}
instance of movieClip 5555 {
onClipEvent (mouseDown) {
++i;
duplicateMovieClip(this, 'bulletnew' + i, _parent.getNextHighestDepth());
_root.g.aimer.gotoAndPlay(2);
}
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
frame 27 {
_root.rageacetarget._x = random(240);
_root.rageacetarget._y = random(8.4);
stop();
}
}
movieClip 5565 {
}
movieClip 5566 {
instance of movieClip 5565 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadowrl)) {
_parent._parent.bengt._x += 10;
}
}
}
}
movieClip 5568 {
}
movieClip 5569 {
instance of movieClip 5568 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadowrl)) {
_parent._parent.bengt._x -= 10;
}
}
}
}
movieClip 5571 {
}
movieClip 5572 {
instance of movieClip 5571 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadow)) {
_parent._parent.bengt._y -= 10;
}
}
}
}
movieClip 5574 {
}
movieClip 5575 {
instance of movieClip 5574 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shadow)) {
_parent._parent.bengt._y += 10;
}
}
}
}
movieClip 5580 {
}
movieClip 5582 {
}
movieClip 5584 {
}
movieClip 5586 {
}
movieClip 5588 {
}
movieClip 5589 {
}
movieClip 5590 {
frame 1 {
stop();
}
frame 8 {
_parent.gotoAndStop(random(3) + 1);
}
}
movieClip 5591 {
frame 1 {
gotoAndStop(random(3) + 1);
}
instance of movieClip 5590 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
instance of movieClip 5590 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
instance of movieClip 5590 {
onClipEvent (enterFrame) {
if (random(60) == 1) {
play();
}
}
}
}
movieClip 5592 {
instance of movieClip 5586 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.bengt.shad)) {
_parent._parent.coin.stop();
_parent._parent.coin.start();
_parent._parent.ac += 1;
_parent._x = -1000;
}
}
}
}
movieClip 5593 {
}
movieClip 5594 {
instance of movieClip 5593 {
onClipEvent (load) {
if (_parent._parent.bengt._y >= _parent._y) {
_parent.swapDepths(_parent._parent.bengt);
front = 0;
} else {
front = 1;
}
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent._parent.bengt._y <= _parent._y) {
if (front == 0) {
_parent.swapDepths(_parent._parent.bengt);
front = 1;
}
}
if (_parent._parent.bengt._y >= _parent._y) {
if (front == 1) {
_parent.swapDepths(_parent._parent.bengt);
front = 0;
}
}
}
}
}
movieClip 5595 {
}
movieClip 5596 {
}
movieClip 5597 {
}
movieClip 5600 {
}
movieClip 5602 {
}
movieClip 5604 {
}
movieClip 5606 {
}
movieClip 5610 {
}
movieClip 5613 {
}
movieClip 5620 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 5623 {
}
movieClip 5625 {
}
movieClip 5627 {
}
movieClip 5629 {
}
movieClip 5632 {
}
movieClip 5642 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 5645 {
}
movieClip 5647 {
}
movieClip 5653 {
}
movieClip 5659 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 5660 {
frame 1 {
stop();
}
instance a of movieClip 5620 {
onClipEvent (load) {
if (random(2) == 1) {
_xscale = -100;
}
}
}
}
movieClip 5664 game155 {
frame 1 {
_root.rules = 'Grab 35 rings';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
target = 35;
}
};
}
instance bengt of movieClip 5660 {
onClipEvent (load) {
_parent.coin = new Sound();
_parent.coin.attachSound('ringljud');
_parent.ac = 0;
_parent.number = 0;
speed = 10;
_parent.ac = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++timer;
if (timer == 99) {
trace(_parent.ac);
if (_parent.ac >= _parent.target) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
if (Key.isDown(37)) {
face = 'left';
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('left');
a.play();
}
_x = _x - speed;
}
if (Key.isDown(39)) {
if (Key.isDown(38) or Key.isDown(40)) {
} else {
gotoAndStop('right');
a.play();
}
_x = _x + speed;
}
if (Key.isDown(38)) {
face = 'up';
_y = _y - speed;
gotoAndStop('up');
a.play();
}
if (Key.isDown(40)) {
_y = _y + speed;
face = 'down';
gotoAndStop('down');
a.play();
}
}
}
}
}
movieClip 5667 {
}
movieClip 5669 {
}
movieClip 5672 {
}
movieClip 5674 {
}
movieClip 5675 {
}
movieClip 5680 {
}
movieClip 5681 {
}
movieClip 5682 {
}
movieClip 5684 {
}
movieClip 5687 {
}
movieClip 5688 {
frame 1 {
_root.rules = 'Use the arrows';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
frame 1 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 3 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 4 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 5 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 6 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 7 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 8 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 9 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 10 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 11 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 12 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 13 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 14 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 15 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 16 {
stop();
}
instance of movieClip 5682 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 17 {
stop();
}
instance of movieClip 5681 {
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.cstatus == 1) {
_root.g.stuff.nextFrame();
}
}
}
}
frame 18 {
_root.gameOutcome(true);
stop();
}
}
movieClip 5691 {
}
movieClip 5692 game156 {
}
movieClip 5694 {
}
movieClip 5696 {
}
movieClip 5698 {
}
movieClip 5699 {
}
movieClip 5701 {
}
movieClip 5703 {
}
movieClip 5706 {
}
movieClip 5707 game157 {
frame 1 {
_root.rules = 'Wipe off the chalk';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
dx = _root._xmouse - dish._x;
dy = _root._ymouse - dish._y;
angle = Math.atan2(dy, dx);
distance = Math.sqrt(dx * dx + dy * dy);
speed = distance / 5 + 2;
if (speed < distance) {
dish._x += Math.cos(angle) * speed;
dish._y += Math.sin(angle) * speed;
if (dish.hitTest(chalk1)) {
chalk1._alpha -= speed / 5;
}
if (dish.hitTest(chalk2)) {
chalk2._alpha -= speed / 5;
}
if (dish.hitTest(chalk3)) {
chalk3._alpha -= speed / 5;
}
if (dish.hitTest(chalk4)) {
chalk4._alpha -= speed / 2.5;
}
if (chalk1._alpha <= 1 and chalk2._alpha <= 1 and chalk3._alpha <= 1 and chalk4._alpha <= 1) {
_root.gameOutcome(true);
win._x = 250;
}
}
}
};
}
}
movieClip 5710 {
}
movieClip 5733 {
frame 1 {
stop();
}
}
movieClip 5735 {
}
movieClip 5737 {
}
movieClip 5740 {
}
movieClip 5741 {
}
movieClip 5742 {
}
// unknown tag 88 length 59
movieClip 5747 {
}
movieClip 5748 {
frame 1 {
pencil._height = _root.g.pencilWidth;
}
}
movieClip 5750 {
}
movieClip 5751 {
frame 1 {
pencil._height = _root.g.pencilWidth;
}
}
movieClip 5752 {
frame 1 {
stop();
}
frame 23 {
gotoAndPlay(3);
}
}
movieClip 5753 {
}
movieClip 5757 {
}
movieClip 5761 {
}
movieClip 5765 {
frame 1 {
stop();
}
}
movieClip 5768 {
}
movieClip 5769 game158 {
frame 1 {
_root.rules = 'Sharpen the pencil!';
_root.beatClock = true;
g.pencilSize = Math.round(Math.random() * 5) + 1;
g.currentHole = Math.round(Math.random() * 5) + 1;
c.holes._rotation = (g.currentHole - 1) * 60;
g.moving = false;
g.destination = 0;
g.direct = 1;
g.pIn = false;
g.keyLeft = true;
g.tillSharp = 41;
g.handleFrame = 1;
g.pencilWidth = 8 + (6 - g.pencilSize) * 2;
}
frame 2 {
onEnterFrame = function () {
if (_root.cstatus == 1) {
instr._x = 280;
if (g.moving == false) {
if (Key.isDown(32)) {
if (g.currentHole == g.pencilSize) {
g.pIn = true;
pencilholder.gotoAndStop(2);
instr.gotoAndStop(2);
}
} else {
g.pIn = false;
pencilholder.gotoAndStop(1);
instr.gotoAndStop(1);
}
if (Key.isDown(39) && g.pIn == true) {
if (g.keyLeft == false) {
g.tillSharp -= 4;
g.handleFrame += 4;
g.keyLeft = true;
}
} else {
if (Key.isDown(37) && g.pIn == true) {
if (g.keyLeft == true) {
g.tillSharp -= 4;
g.handleFrame += 4;
g.keyLeft = false;
}
} else {
if (Key.isDown(38)) {
if (g.pIn == false) {
g.currentHole -= 1;
if (g.currentHole < 1) {
g.currentHole = 6;
}
g.moving = true;
g.direct = -1;
g.destination = (g.currentHole - 1) * 60;
if (g.destination >= 180) {
g.destination = -180 + (g.destination - 180);
}
}
} else {
if (Key.isDown(40)) {
if (g.pIn == false) {
g.currentHole += 1;
if (g.currentHole > 6) {
g.currentHole = 1;
}
g.moving = true;
g.direct = 1;
g.destination = (g.currentHole - 1) * 60;
if (g.destination > 180) {
g.destination = -180 + (g.destination - 180);
}
}
}
}
}
}
} else {
_root.g.c.holes._rotation += g.direct * 10;
g.holrot = _root.g.c.holes._rotation;
if (c.holes._rotation == g.destination) {
g.moving = false;
}
}
if (g.tillSharp <= 0) {
pencilholder.gotoAndPlay(3);
_root.gameOutcome(true);
instr._x = -400;
}
}
if (handle._currentframe < g.handleFrame) {
handle._currentframe += 1;
handle.gotoAndStop(handle._currentframe);
}
};
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 5775 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
play();
}
frame 4 {
stop();
}
}
movieClip 5778 {
}
movieClip 5781 {
}
movieClip 5782 {
}
movieClip 5784 {
frame 1 {
stop();
}
}
movieClip 5791 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 7 {
prevFrame();
}
}
movieClip 5794 {
}
movieClip 5795 game159 {
frame 1 {
_root.rules = 'Shoot the Clock';
_root.beatClock = true;
stop();
}
instance gun of movieClip 5775 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
_rotation = _rotation - 10;
}
if (Key.isDown(39)) {
_rotation = _rotation + 10;
}
}
}
}
instance of movieClip 5784 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_rotation = _rotation - 10;
if (this.hitTest(_root.g.shot)) {
_root.gameOutcome(true);
}
}
}
}
instance shot of movieClip 5791 {
onClipEvent (load) {
_alpha = 0;
ammo = 1;
speed = 0;
_root.shot._visible = false;
_y = _root.g.gun._y;
_x = _root.g.gun._x;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_rotation = _root.g.gun._rotation;
_y = _y - speed * Math.cos(_rotation * 0.0174532925199433);
_x = _x + speed * Math.sin(_rotation * 0.0174532925199433);
if (Key.isDown(32)) {
if (ammo == 1) {
speed = 30;
_alpha = 100;
ammo = 0;
this.play();
_root.g.gun.play();
}
}
}
}
}
}
movieClip 5801 {
}
movieClip 5802 {
}
movieClip 5805 {
}
movieClip 5807 {
}
movieClip 5808 {
}
movieClip 5810 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
play();
}
frame 4 {
play();
}
frame 5 {
play();
}
frame 6 {
play();
}
frame 7 {
play();
}
frame 8 {
play();
}
frame 9 {
play();
}
frame 10 {
play();
}
frame 10 {
stop();
}
frame 10 {
removeMovieClip(this);
}
}
movieClip 5812 {
}
movieClip 5813 {
}
movieClip 5814 {
}
movieClip 5817 {
}
movieClip 5818 game160 {
frame 1 {
_root.rules = 'dodge the zeppelins!';
_root.beatClock = true;
stop();
}
instance missile of movieClip 5810 {
onClipEvent (load) {
yspeed = 1;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
yspeed += 0.1;
_y = _y + yspeed;
_x = _x + xspeed;
if (_rotation == 0) {
_rotation = -5;
}
if (_rotation == -180) {
_rotation = -175;
}
if (Key.isDown(37)) {
_rotation = _rotation + 5;
xspeed -= 0.5;
}
if (Key.isDown(39)) {
_rotation = _rotation - 5;
xspeed += 0.5;
}
if (this.hitTest(_root.g.plane1)) {
this.play();
yspeed = 0;
_root.plane1.removeMovieClip();
}
if (this.hitTest(_root.g.plane2)) {
this.play();
yspeed = 0;
_root.plane2.removeMovieClip();
}
if (this.hitTest(_root.g.plane3)) {
this.play();
yspeed = 0;
_root.plane3.removeMovieClip();
}
if (this.hitTest(_root.g.target)) {
_root.gameOutcome(true);
}
if (_x < 150) {
_x = 150;
xspeed = 0;
_rotation = 270;
}
if (_x > 625) {
_x = 625;
xspeed = 0;
_rotation = 270;
}
}
}
}
}
movieClip 5827 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
play();
}
frame 4 {
gotoAndPlay(1);
}
}
button 5830 {
on (press) {
this.play();
_root.g.targets -= 1;
}
}
movieClip 5832 {
}
movieClip 5835 {
}
movieClip 5837 {
}
movieClip 5839 {
}
movieClip 5841 {
}
movieClip 5843 {
}
movieClip 5844 {
}
movieClip 5846 {
}
movieClip 5848 {
}
movieClip 5849 {
}
movieClip 5850 {
frame 1 {
stop();
}
frame 2 {
++_parent.hit;
trace(_parent.hit);
}
frame 99 {
stop();
}
frame 100 {
prevFrame();
}
}
movieClip 5853 {
}
movieClip 5854 game161 {
frame 1 {
_root.rules = 'hit all the targets!';
_root.beatClock = true;
stop();
var hit = 0;
}
frame 1 {
targets = 3;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (targets == 0) {
_root.gameOutcome(true);
}
}
};
}
instance gun of movieClip 5827 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
startDrag('', true);
}
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
this.play();
}
}
}
instance of movieClip 5850 {
onClipEvent (load) {
_x = random(450) + 50;
_y = random(300) + 50;
}
}
instance of movieClip 5850 {
onClipEvent (load) {
_x = random(450) + 50;
_y = random(300) + 50;
}
}
instance of movieClip 5850 {
onClipEvent (load) {
_x = random(450) + 50;
_y = random(300) + 50;
}
}
}
movieClip 5863 {
}
movieClip 5864 {
}
movieClip 5870 {
}
movieClip 5872 {
}
movieClip 5874 {
}
movieClip 5875 {
}
movieClip 5882 {
}
movieClip 5883 {
}
movieClip 5886 {
}
movieClip 5888 {
frame 1 {
stop();
}
instance of movieClip 5864 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
_root.g.main.gotoAndStop(2);
}
}
}
}
frame 2 {
stop();
}
instance of movieClip 5864 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
_root.g.main.gotoAndStop(3);
}
}
}
}
frame 3 {
stop();
}
instance of movieClip 5875 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
_root.g.main.gotoAndStop(4);
}
}
}
}
frame 4 {
stop();
}
instance of movieClip 5875 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
_root.g.main.gotoAndStop(5);
}
}
}
}
frame 5 {
stop();
}
instance of movieClip 5883 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
_root.g.main.gotoAndStop(6);
}
}
}
}
frame 6 {
stop();
}
instance of movieClip 5883 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
_root.g.main.gotoAndStop(7);
}
}
}
}
frame 7 {
stop();
}
instance of movieClip 5886 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
_root.g.main.gotoAndStop(8);
}
}
}
}
frame 8 {
stop();
}
instance of movieClip 5886 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
_root.g.main.gotoAndStop(9);
}
}
}
}
frame 9 {
stop();
_root.gameOutcome(true);
}
}
movieClip 5889 {
}
movieClip 5892 {
}
movieClip 5893 game162 {
frame 1 {
_root.rules = 'Be a bum!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 5895 {
}
movieClip 5897 {
}
movieClip 5899 {
}
movieClip 5900 {
frame 1 {
stop();
}
}
movieClip 5903 {
}
movieClip 5904 {
frame 1 {
stop();
}
}
movieClip 5906 {
}
movieClip 5908 {
}
movieClip 5909 {
}
movieClip 5912 {
}
movieClip 5913 {
}
movieClip 5914 {
frame 1 {
stop();
}
frame 15 {
stop();
}
frame 30 {
stop();
}
}
movieClip 5915 game163 {
frame 1 {
function shoot() {
this.bul1._x = dep1_turret._x;
this.bul1._y = dep1_turret._y;
this.bul1._rotation = dep1_turret._rotation;
vx = bulspeed * _root.speed * Math.cos(0.0174532925199433 * this.bul1._rotation);
vy = bulspeed * _root.speed * Math.sin(0.0174532925199433 * this.bul1._rotation);
}
function shake() {
shakex = random(10) - 5;
shakey = random(10) - 5;
shakex *= 0.7;
shakey *= 0.7;
_x = _x + shakex;
_y = _y + shakey;
}
_root.rules = 'Shoot the Targets!';
_root.beatClock = true;
timer = 0;
bulcount = 0;
bulspeed = 10;
cstatus = 1;
var speed = 2;
fire = new Sound();
fire.attachSound('Dep1_fire');
dep1_shotflash.getNextHighestDepth();
dep1_turret.getNextHighestDepth();
winlose.getNextHighestDepth();
var randomNumber = Math.random() * 100 + 50;
BD = new flash.display.BitmapData(Stage.width + 300, Stage.height + 300, false, 26112);
BD.perlinNoise(randomNumber, randomNumber, 20, 2, true, 5, 2, false);
dep1_bg.attachBitmap(BD, 1);
i = 1;
while (i < 4) {
attachMovie('Dep1_Enemy', 'Enemy' + i, i);
this['Enemy' + i]._x = Math.random() * 550;
this['Enemy' + i]._y = Math.random() * 400;
this['Enemy' + i]._rotation = (Math.random())() * 360;
this['Enemy' + i]._alpha = Math.random() * 100 + 20;
this['Enemy' + i]._yscale = Math.random() * 100 + 50;
this['Enemy' + i]._xscale = this['Enemy' + i]._yscale;
++i;
}
attachMovie('Dep1_Bullet', 'bul1', 998);
this.bul1._x = -1000;
onEnterFrame = function () {
if (_root.cstatus == 1) {
++timer;
if (timer == 99) {
winlose.gotoAndPlay('lose');
_root.gameOutcome(false);
}
if (this.bul1.hitTest(Enemy1)) {
Enemy1.play();
enemy1hit = true;
}
if (this.bul1.hitTest(Enemy2)) {
Enemy2.play();
enemy2hit = true;
}
if (this.bul1.hitTest(Enemy3)) {
Enemy3.play();
enemy3hit = true;
}
if (enemy1hit && enemy2hit && enemy3hit) {
won = true;
_root.gameOutcome(true);
enemy1hit = false;
winlose.play();
trace('win');
trace(winlose._currentframe);
}
if (fired) {
shake();
this.bul1._x += vx;
this.bul1._y += vy;
with (this.bul1) {
if (_x > Stage.width + 10 || _x < -10 || _y < -10 || _y > Stage.height + 10) {
fired = false;
}
}
} else {
_x = 0;
_y = 0;
}
if (Key.isDown(39)) {
dep1_turret._rotation += 6 * _root.speed;
}
if (Key.isDown(37)) {
dep1_turret._rotation -= 6 * _root.speed;
}
if (Key.isDown(32)) {
dep1_turret.play();
dep1_shotflash.gotoAndPlay(2);
fire.start();
if (!fired) {
shoot();
fired = true;
}
}
}
};
}
}
movieClip 5967 {
frame 4 {
_root.gameOutcome(true);
}
frame 85 {
gotoAndPlay(7);
}
}
movieClip 5977 {
}
movieClip 5978 {
}
movieClip 5980 {
}
movieClip 5981 {
}
movieClip 5984 {
}
movieClip 5987 {
}
movieClip 5988 game164 {
frame 1 {
_root.beatClock = true;
_root.rules = 'Start a Fire!';
}
instance wood of movieClip 5978 {
onClipEvent (load) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (onfire) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance stick of movieClip 5981 {
onClipEvent (load) {
point = 0;
Mouse.hide();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
Mouse.hide();
startDrag(this, true);
Xd = _parent.wood._x - _x;
Yd = _parent.wood._y + 200 - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(radAngle * 360 / 6.283185307179586);
curx = _x + 1;
cury = _y + 1;
speedx = _x - oldx;
speedy = _y - oldy;
speed = Math.abs(speedx * speedy);
oldx = _x;
oldy = _y;
if (speed >= 100 && hitter.hitTest(_parent.wood)) {
++point;
}
if (point > 20) {
_parent.wood.onfire = true;
}
}
}
}
}
movieClip 5991 {
}
movieClip 5993 {
}
movieClip 5995 {
}
movieClip 5997 {
}
movieClip 5999 {
frame 19 {
_root.g.prevFrame();
}
}
movieClip 6002 {
}
movieClip 6004 {
frame 31 {
stop();
}
}
movieClip 6007 {
frame 45 {
stop();
this.removeMovieClip();
}
}
movieClip 6008 {
frame 1 {
stop();
var i = 0;
while (i < 10) {
duplicateMovieClip('shard', 'shard' + i, i);
target = eval('shard' + i);
target._x += random(20) - 10;
target._y += random(30) - 15;
++i;
}
}
instance shard of movieClip 6007 {
onClipEvent (load) {
xspeed = random(16) - 8;
yspeed = -random(10) - 5;
_xscale = random(120) + 20;
_yscale = _xscale;
}
onClipEvent (enterFrame) {
yspeed += 0.5;
_rotation = Math.atan2(yspeed, xspeed) * 360 / 3.141593;
_x = _x + xspeed;
_y = _y + yspeed;
if (_y > bv + _height / 2) {
_y = bv + _height / 2;
yspeed = -yspeed * 0.3;
xspeed *= 0.3;
}
}
}
}
movieClip 6009 {
frame 1 {
_root.rules = 'Fill it';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
globostart = true;
}
};
}
frame 1 {
stop();
}
instance tom3_loader of movieClip 5398 {
onClipEvent (load) {
stuff = 'left';
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && stuff == 'left') {
stuff = 'right';
_root.g.g.nextFrame();
}
if (Key.isDown(39) && stuff == 'right') {
stuff = 'left';
_root.g.g.nextFrame();
}
}
}
frame 30 {
stop();
_root.gameOutcome(true);
}
}
movieClip 6012 {
}
movieClip 6013 game165 {
}
movieClip 6017 {
}
movieClip 6019 {
}
movieClip 6020 {
}
movieClip 6021 {
}
movieClip 6023 {
}
movieClip 6025 {
}
movieClip 6027 {
}
button 6028 {
on (release) {
_root.gameOutcome(true);
}
}
button 6029 {
on (release) {
_root.gameOutcome(true);
}
}
button 6030 {
on (release) {
_root.gameOutcome(true);
}
}
movieClip 6032 {
}
movieClip 6033 game166 {
frame 1 {
rageacescursor.startDrag('true');
Mouse.hide();
onEnterFrame = function () {
if (_root.cstatus == 0) {
rageacescursor.stopDrag();
} else {
rageacescursor.startDrag('true');
}
};
stop();
}
frame 1 {
randomnumber = random(4);
if (randomnumber == 1) {
random3._x = 253;
random3._y = 258;
}
if (randomnumber == 2) {
random1._x = 182;
random1._y = 257;
}
if (randomnumber == 3) {
random2._x = 267;
random2._y = 204;
}
if (randomnumber == 0) {
random2._x = 267;
random2._y = 204;
}
stop();
}
frame 1 {
_root.rules = 'Stop The Fires';
_root.beatClock = true;
}
}
movieClip 6034 game167 {
}
movieClip 6036 {
}
movieClip 6049 {
}
movieClip 6060 {
}
movieClip 6062 {
instance elec of movieClip 6060 {
onClipEvent (load) {
oldx = _x;
}
onClipEvent (enterFrame) {
this._x = random(9) - random(10) + oldx;
this._width = this._parent._parent._parent._parent.wheel.Sonic.speed;
}
}
}
movieClip 6063 {
}
movieClip 6065 {
}
movieClip 6066 {
instance of movieClip 6049 {
onClipEvent (enterFrame) {
if (this._parent._parent.wheel.Sonic.speed > 0) {
play();
} else {
stop();
}
}
}
instance of movieClip 6049 {
onClipEvent (enterFrame) {
if (this._parent._parent.wheel.Sonic.speed > 0) {
play();
} else {
stop();
}
}
}
instance of movieClip 6065 {
onClipEvent (enterFrame) {
this._rotation += this._parent._parent.wheel.Sonic.speed;
}
}
instance of movieClip 6065 {
onClipEvent (enterFrame) {
this._rotation += this._parent._parent.wheel.Sonic.speed;
}
}
}
movieClip 6069 {
}
movieClip 6071 {
}
movieClip 6073 {
}
movieClip 6075 {
}
movieClip 6076 {
instance of movieClip 6069 {
onClipEvent (enterFrame) {
this._rotation += _parent.Sonic.speed;
}
}
}
movieClip 6080 {
frame 1 {
stop();
}
frame 60 {
stop();
}
}
movieClip 6083 {
}
movieClip 6084 {
}
movieClip 6086 {
}
movieClip 6089 {
}
movieClip 6092 {
}
movieClip 6093 game168 {
frame 1 {
var power = 0;
_root.rules = 'Fill up the battery';
_root.beatClock = true;
}
instance battery of movieClip 6080 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this.gotoAndStop(_root.g.power);
if (_root.g.power >= 60) {
_root.g.power = 60;
_root.gameOutcome(true);
}
}
}
}
instance thing of movieClip 6086 {
onClipEvent (load) {
_parent.bar._x -= 5;
this._x = _parent.bar._x;
this._y = _parent.bar._y;
_parent.wheel.Sonic.speed = 0;
down = true;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (down) {
this._y += 10;
} else {
this._y -= 10;
}
if (this._y <= _parent.bar._y - _parent.bar._y / 2) {
this._parent.wheel.Sonic.speed -= 3;
down = true;
}
if (this._y >= _parent.bar._y + _parent.bar._y / 2) {
this._parent.wheel.Sonic.speed -= 3;
down = false;
}
dist = Math.abs(this._y - _parent.bar._y);
speed = Math.round(100 - dist);
if (Key.isDown(32) && !kdown) {
if (this.hitTest(this._parent.bar.hitter)) {
_parent.wheel.Sonic.speed += 8;
} else {
_parent.wheel.Sonic.speed -= 2;
}
kdown = true;
}
if (!Key.isDown(32)) {
kdown = false;
}
if (_parent.wheel.Sonic.speed <= 0) {
_parent.wheel.Sonic.speed = 0;
_parent.wheel.Sonic.leg1._rotation = 0;
_parent.wheel.Sonic.leg2._rotation = 0;
_parent.wheel.Sonic.leg3._rotation = 0;
_parent.wheel.Sonic.leg4._rotation = 0;
} else {
_parent.wheel.Sonic.leg1._rotation += 30 + _parent.wheel.Sonic.speed / 2;
_parent.wheel.Sonic.leg2._rotation += 30 + _parent.wheel.Sonic.speed / 2;
_parent.wheel.Sonic.leg3._rotation += 30 + _parent.wheel.Sonic.speed / 2;
_parent.wheel.Sonic.leg4._rotation += 30 + _parent.wheel.Sonic.speed / 2;
}
filter = new flash.filters.BlurFilter(3 + _parent.wheel.Sonic.speed, _parent.wheel.Sonic.speed / _parent.wheel.Sonic.speed, 2);
_parent.wheel.Sonic.filters = [filter];
if (_parent.wheel.Sonic.speed >= 20) {
_parent.wheel.Sonic.speed = 20;
}
if (_parent.wheel.Sonic.speed >= 15) {
trace('hey');
_root.g.power += 2;
}
}
}
}
}
movieClip 6096 {
}
movieClip 6098 {
}
movieClip 6099 {
frame 1 {
stop();
}
}
movieClip 6106 {
}
movieClip 6107 game169 {
frame 1 {
_root.rules = 'Gets teh Gold!';
_root.beatClock = true;
orgin = random(Stage.width - 300);
i = 0;
while (i < 5) {
duplicateMovieClip(gold, 'gold' + i, getNextHighestDepth());
++i;
}
cgold = 0;
onEnterFrame = function () {
if (cgold >= 5) {
_root.gameOutcome(true);
}
};
}
instance gold of movieClip 6098 {
onClipEvent (load) {
this._x = _parent.orgin + random(300);
this._y = -random(500) - 10;
fspeed = 10;
rotation = 10 + random(20) - random(30);
}
onClipEvent (enterFrame) {
if (_name == 'gold') {
this._x = -1000;
} else {
if (_root.cstatus == 1) {
_rotation = _rotation + rotation;
this._y += fspeed;
if (this.hitTest(_parent.char)) {
_parent.cgold += 1;
this.removeMovieClip();
}
}
}
}
}
instance char of movieClip 6106 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
vgold.gotoAndStop(1 + _parent.cgold);
this.swapDepths(100);
if (Key.isDown(39)) {
this._x += 15;
} else {
if (Key.isDown(37)) {
this._x -= 15;
}
}
if (_x <= 0) {
_x = 0;
}
if (_x >= Stage.width) {
_x = Stage.width;
}
}
}
}
}
movieClip 6111 {
}
movieClip 6115 {
}
movieClip 6124 {
frame 9 {
stop();
}
}
movieClip 6125 {
frame 1 {
stop();
}
}
movieClip 6126 {
frame 1 {
stop();
}
frame 2 {
plug.gotoAndStop(1);
}
}
movieClip 6127 {
frame 1 {
stop();
}
}
movieClip 6130 {
frame 1 {
stop();
}
frame 20 {
gotoAndPlay(2);
}
}
movieClip 6133 game170 {
frame 1 {
_root.beatClock = true;
_root.rules = 'Plug it in!';
onEnterFrame = function () {
createEmptyMovieClip('line', 1000);
line.lineStyle(3, 13421772, 100);
line.moveTo(orgin._x, orgin._y);
if (!plug.plugged && !plug.splode) {
line.lineTo(plug._x, plug._y + 5);
} else {
if (plug.plugged && !plug.splode) {
if (outlet.number <= 1) {
line.lineTo(outlet._x, outlet._y + outlet._height / 4 - 5);
} else {
if (outlet.number >= 2) {
line.lineTo(outlet._x, outlet._y - outlet._height / 4 + 5);
}
}
} else {
if (plug.splode) {
removeMovieClip(line);
}
}
}
};
}
instance outlet of movieClip 6127 {
onClipEvent (load) {
number = random(3);
this.gotoAndStop(number);
}
}
instance plug of movieClip 6125 {
onClipEvent (load) {
spd = 10;
plugged = false;
splode = false;
this._x = random(Stage.width);
this._y = random(Stage.height);
}
onClipEvent (enterFrame) {
if (this.hitter.hitTest(_parent.outlet.checkmark)) {
correct = true;
hitting = true;
_parent.text2 = 'Press Space';
} else {
if (this.hitter.hitTest(_parent.outlet.wrong)) {
correct = false;
hitting = true;
_parent.text2 = '';
} else {
correct = false;
hitting = false;
_parent.text2 = '';
}
}
if (!plugged && !splode) {
if (!Key.isDown(32)) {
_x = _x + Key.isDown(39) * spd;
_x = _x - Key.isDown(37) * spd;
_y = _y + Key.isDown(40) * spd;
_y = _y - Key.isDown(38) * spd;
}
if (Key.isDown(32) && correct && hitting) {
plugged = true;
splode = false;
} else {
if (Key.isDown(32) && !correct && hitting) {
plugged = false;
splode = true;
}
}
} else {
if (correct) {
this._alpha = 0;
_parent.outlet.checkmark.gotoAndStop(2);
_parent.outlet.checkmark._alpha = 100;
_parent.speakers.play();
_parent.text2 = 'Woot';
_root.gameOutcome(true);
}
if (splode) {
this.gotoAndStop('explosion');
_parent.text2 = 'Boom, lol';
_root.gameOutcome(false);
}
}
}
}
}
movieClip 6136 {
}
movieClip 6137 {
}
movieClip 6139 {
}
movieClip 6140 {
}
movieClip 6142 {
}
movieClip 6144 {
}
movieClip 6146 {
}
movieClip 6148 {
}
movieClip 6150 {
}
movieClip 6153 {
}
movieClip 6155 {
}
movieClip 6156 {
}
movieClip 6158 {
}
movieClip 6159 {
}
movieClip 6161 {
}
movieClip 6162 {
}
movieClip 6163 {
frame 1 {
function die() {
_root.gameOutcome(false);
}
_root.rules = 'Get to the exit!';
_root.beatClock = true;
enemy0._x = Math.random() * 310 - 190;
enemy0._y = Math.random() * 170 - 120;
enemy0.velocity = 5;
if (Math.random() > 0.5) {
enemy0._rotation = 90;
enemy0.onEnterFrame = function () {
if (_root.cstatus == 1) {
var v3 = 0;
while (v3 <= 2) {
if (this.hitTest(_root.game['wall' + v3].body)) {
this.velocity *= -1;
}
this._y += this.velocity;
v3 += 2;
}
}
};
} else {
enemy0.onEnterFrame = function () {
if (_root.cstatus == 1) {
var v3 = 1;
while (v3 <= 3) {
if (this.hitTest(_root.game['wall' + v3].body)) {
this.velocity *= -1;
}
this._x += this.velocity;
v3 += 2;
}
}
};
}
var i = 1;
while (i < 5) {
duplicateMovieClip(enemy0, 'enemy' + i, this.getNextHighestDepth());
this['enemy' + i]._x = Math.random() * 315 - 180;
this['enemy' + i]._y = Math.random() * 165 - 110;
this['enemy' + i].velocity = 5;
if (Math.random() > 0.5) {
this['enemy' + i]._rotation = 90;
this['enemy' + i].onEnterFrame = function () {
if (_root.cstatus == 1) {
var v3 = 0;
while (v3 <= 2) {
if (this.hitTest(_root.game['wall' + v3].body)) {
this.velocity *= -1;
}
this._y += this.velocity;
v3 += 2;
}
}
};
} else {
this['enemy' + i]._rotation = 0;
this['enemy' + i].onEnterFrame = function () {
if (_root.cstatus == 1) {
var v3 = 1;
while (v3 <= 3) {
if (this.hitTest(_root.game['wall' + v3].body)) {
this.velocity *= -1;
}
this._x += this.velocity;
v3 += 2;
}
}
};
}
++i;
}
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
player._y -= 8;
}
if (Key.isDown(40)) {
player._y += 8;
}
if (Key.isDown(37)) {
player._x -= 8;
}
if (Key.isDown(39)) {
player._x += 8;
}
if (player.hitTest(exit.portal)) {
_root.gameOutcome(true);
}
var v3 = 0;
while (v3 < 4) {
if (player.hitTest(this['wall' + v3].body)) {
die();
}
++v3;
}
v3 = 0;
while (v3 < 5) {
if (player.hitTest(this['enemy' + v3].body)) {
die();
}
++v3;
}
}
};
}
}
movieClip 6164 game171 {
}
movieClip 6167 {
}
movieClip 6169 {
}
movieClip 6171 {
}
movieClip 6172 {
}
movieClip 6175 {
}
movieClip 6177 {
}
movieClip 6178 {
}
movieClip 6180 {
}
movieClip 6181 game172 {
frame 1 {
_root.rules = 'Avoid the spikes';
_root.beatClock = true;
}
instance wheel of movieClip 6172 {
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += speed;
this.wheel._rotation += speed;
if (Key.isDown(39)) {
++speed;
} else {
if (Key.isDown(37)) {
--speed;
}
}
if (Key.isDown(38) && !jumping) {
jumping = true;
vel_y = 15;
}
if (jumping) {
this._y -= vel_y;
vel_y -= 1.3;
if (vel_y <= -10) {
vel_y = -10;
}
}
while (_parent.ground.hitTest(this)) {
vel_y = 0;
jumping = false;
this._y -= 1;
}
if (this.hitTest(_parent.spike._x - speed, _parent.spike._y, true) || this.hitTest(_parent.spike2._x - speed, _parent.spike2._y, true)) {
_root.gameOutcome(false);
}
}
}
}
instance of movieClip 6180 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.wheel)) {
_root.gameOutcome(true);
}
}
}
}
// unknown tag 88 length 192
movieClip 6188 {
}
movieClip 6190 {
}
movieClip 6191 {
}
movieClip 6192 {
}
movieClip 6193 {
}
movieClip 6199 {
}
movieClip 6200 {
frame 1 {
stop();
}
}
movieClip 6201 {
frame 1 {
stop();
}
}
movieClip 6202 {
frame 1 {
stop();
}
}
movieClip 6203 {
frame 1 {
stop();
}
}
movieClip 6204 {
}
movieClip 6205 {
frame 1 {
stop();
}
}
movieClip 6206 {
frame 1 {
stop();
}
}
movieClip 6208 {
}
movieClip 6213 {
}
movieClip 6218 {
}
movieClip 6219 game173 {
frame 1 {
_root.rules = 'Light the Candles';
_root.beatClock = true;
var litCandle1 = false;
var litCandle2 = false;
var litCandle3 = false;
var litCandle4 = false;
var litCandle5 = false;
var litCandle6 = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (litCandle1 == true && litCandle2 == true && litCandle3 == true && litCandle3 == true && litCandle4 == true && litCandle5 == true && litCandle6 == true) {
_root.gameOutcome(true);
}
if (roc1_flame.hitTest(roc1_wick1)) {
litCandle1 = true;
roc1_wick1.gotoAndStop(2);
}
if (roc1_flame.hitTest(roc1_wick2)) {
litCandle2 = true;
roc1_wick2.gotoAndStop(2);
}
if (roc1_flame.hitTest(roc1_wick3)) {
litCandle3 = true;
roc1_wick3.gotoAndStop(2);
}
if (roc1_flame.hitTest(roc1_wick4)) {
litCandle4 = true;
roc1_wick4.gotoAndStop(2);
}
if (roc1_flame.hitTest(roc1_wick5)) {
litCandle5 = true;
roc1_wick5.gotoAndStop(2);
}
if (roc1_flame.hitTest(roc1_wick6)) {
litCandle6 = true;
roc1_wick6.gotoAndStop(2);
}
}
};
}
instance of movieClip 6208 {
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = _x + (endX - _x) / 3;
_y = _y + (endY - _y) / 3;
Mouse.hide();
}
}
instance roc1_flame of movieClip 6213 {
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = _x + (endX - _x) / 3;
_y = _y + (endY - _y) / 3;
Mouse.hide();
}
}
}
movieClip 6221 {
}
movieClip 6224 {
}
movieClip 6228 {
}
movieClip 6229 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6232 {
}
movieClip 6235 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6237 {
}
movieClip 6239 {
frame 6 {
stop();
}
}
movieClip 6240 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6241 game174 {
frame 1 {
_root.rules = 'Lights, Camera...';
_root.beatClock = true;
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
frame 1 {
}
instance light of movieClip 6229 {
onClipEvent (press) {
_parent.light.gotoAndStop(2);
_parent.nextFrame();
}
}
frame 2 {
stop();
}
instance of movieClip 6229 {
onClipEvent (enterFrame) {
gotoAndStop(2);
}
}
instance camera of movieClip 6235 {
onClipEvent (press) {
this.gotoAndStop(2);
_parent.nextFrame();
}
}
frame 3 {
stop();
}
instance of movieClip 6229 {
onClipEvent (enterFrame) {
gotoAndStop(2);
}
}
instance camera of movieClip 6235 {
onClipEvent (enterFrame) {
gotoAndStop(2);
}
}
instance of movieClip 6240 {
onClipEvent (press) {
_root.gameOutcome(true);
this.gotoAndStop(2);
}
}
}
movieClip 6245 {
}
movieClip 6247 {
}
movieClip 6249 {
}
movieClip 6250 {
}
movieClip 6257 {
}
movieClip 6258 {
}
movieClip 6261 {
}
movieClip 6263 {
frame 1 {
stop();
}
frame 2 {
stop();
stop();
_root.gameOutcome(true);
}
}
movieClip 6265 {
frame 1 {
stop();
}
}
movieClip 6268 {
}
movieClip 6269 game175 {
frame 1 {
_root.rules = 'Get his leg back!';
_root.beatClock = true;
time = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
timerunning = true;
}
++time;
if (time == 120) {
_root.g.hombre.gotoAndStop(3);
}
};
}
instance hombre of movieClip 6263 {
onClipEvent (load) {
this._x = random(280);
}
}
instance of movieClip 6265 {
onClipEvent (load) {
this._x = random(450);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
drag = true;
xx = _root._xmouse - _x;
yy = _root._ymouse - _y;
}
}
onClipEvent (mouseUp) {
drag = false;
}
onClipEvent (enterFrame) {
if (drag == true) {
_x = _root._xmouse - xx;
_y = _root._ymouse - yy;
}
}
onClipEvent (enterFrame) {
if (this.hitcoso.hitTest(_root.g.hombre.hitcoso)) {
_root.g.hombre.gotoAndStop(2);
this.gotoAndStop(2);
}
}
}
}
movieClip 6273 {
}
movieClip 6275 {
}
movieClip 6277 {
}
movieClip 6279 {
}
movieClip 6281 {
}
movieClip 6283 {
}
movieClip 6285 {
}
movieClip 6288 {
}
movieClip 6290 game176 {
frame 1 {
_root.rules = 'Pick the Right Book';
_root.beatClock = true;
}
frame 1 {
stop();
onEnterFrame = function () {
if (_root.cstatus == 1) {
nextFrame();
}
};
}
instance of movieClip 6275 {
}
instance of movieClip 6277 {
}
instance of movieClip 6285 {
}
frame 2 {
stop();
Nug10_rand = Math.round(Math.random() * 5);
Nug10_array = new Array('Science', 'Math', 'History', 'Language', 'Art', 'English');
Nug10_array2 = new Array();
Nug10_txt1 = Nug10_array[Nug10_rand];
onMouseDown = function () {
if (_root.cstatus == 1) {
while (Nug10_array2.length > 0) {
Nug10_array2.pop();
}
}
};
Nug10_txt = 'Get Your ' + Nug10_txt1 + ' Book!';
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Nug10_array2[0] != undefined) {
if (Nug10_array2[0] == Nug10_txt1) {
Nug10_out._visible = true;
Nug10_out.gotoAndStop(1);
_root.gameOutcome(true);
} else {
Nug10_out._visible = true;
Nug10_out.gotoAndStop(2);
_root.gameOutcome(false);
}
}
}
};
}
instance of movieClip 6275 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('Science');
}
}
}
instance of movieClip 6277 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('Math');
}
}
}
instance of movieClip 6279 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('History');
}
}
}
instance of movieClip 6281 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('Language');
}
}
}
instance of movieClip 6283 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('Art');
}
}
}
instance of movieClip 6285 {
onClipEvent (release) {
if (_root.cstatus == 1) {
_parent.Nug10_array2.push('English');
}
}
}
}
movieClip 6293 {
}
button 6295 {
on (release) {
gotoAndPlay(2);
}
}
movieClip 6298 {
}
movieClip 6303 {
}
movieClip 6305 {
frame 1 {
stop();
}
instance of movieClip 6298 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
Mouse.hide();
}
onClipEvent (load) {
startDrag('', true);
}
}
frame 56 {
stop();
}
frame 56 {
_root.gameOutcome(true);
stop;
}
}
movieClip 6308 {
}
movieClip 6309 game177 {
frame 1 {
_root.rules = 'Punch The Bag.';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
// unknown tag 88 length 72
button 6316 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(false);
}
}
}
button 6320 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(true);
}
}
}
button 6324 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(false);
}
}
}
button 6330 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(false);
}
}
}
button 6331 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(true);
}
}
}
button 6337 {
on (press) {
if (_root.cstatus == 1) {
_root.gameOutcome(true);
}
}
}
movieClip 6341 {
frame 1 {
stop();
}
}
movieClip 6344 {
}
movieClip 6345 game178 {
frame 1 {
_root.rules = 'Find the color!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance of movieClip 6341 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this.gotoAndStop(random(18));
}
}
onClipEvent (enterFrame) {
if (_root.cstatus != 1) {
this.gotoAndStop(random(18));
}
}
}
}
movieClip 6349 {
}
movieClip 6352 {
}
movieClip 6353 {
}
movieClip 6355 {
}
movieClip 6357 {
}
movieClip 6359 {
}
movieClip 6361 {
}
movieClip 6363 {
}
movieClip 6365 {
}
movieClip 6366 {
}
movieClip 6367 {
}
movieClip 6369 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6372 {
frame 1 {
stop();
}
frame 7 {
i = 0;
while (i < _parent.totalStars) {
_parent[i].gotoAndStop(1);
_parent['act' + i] = false;
++i;
}
stop();
}
}
movieClip 6374 {
}
movieClip 6375 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 6378 {
}
movieClip 6381 {
}
movieClip 6384 {
}
movieClip 6386 {
}
movieClip 6387 {
}
movieClip 6388 {
}
movieClip 6389 {
}
movieClip 6391 {
}
movieClip 6393 {
}
movieClip 6394 {
}
movieClip 6396 {
}
movieClip 6397 game179 {
frame 1 {
_root.beatClock = true;
_root.rules = 'Cut that Godly Thing!';
var totalStars = 7;
var k = 0;
i = 0;
while (i < totalStars) {
this['act' + i] = false;
++i;
}
var starsHit = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
i = 0;
while (i < 7) {
if (this[i].hitTest(_root._xmouse, _root._ymouse) && this['act' + i] == false) {
this[i].play();
j = 0;
while (j < 10) {
shit = attachMovie('evan2_star2', 'evan2_star2' + k, k++);
shit._x = this[i]._x;
shit._y = this[i]._y;
shit._rotation = random(360);
shit._xscale = random(150);
shit._yscale = shit._xscale;
++j;
}
this['act' + i] = true;
++starsHit;
}
++i;
}
}
if (starsHit >= totalStars) {
pizza.play();
starsHit = 0;
if (hitOnce == true) {
nextFrame();
}
pizza.pan.nextFrame();
hitOnce = true;
}
};
stop();
}
frame 2 {
stop();
_root.gameOutcome(true);
trace('win');
}
}
movieClip 6399 {
}
movieClip 6406 {
frame 1 {
stop();
}
}
movieClip 6412 {
}
movieClip 6414 {
}
movieClip 6421 {
frame 1 {
stop();
}
}
movieClip 6426 {
frame 1 {
stop();
}
}
movieClip 6429 {
}
movieClip 6430 game180 {
frame 1 {
_root.rules = 'Inflate!!';
_root.beatClock = true;
left = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (Key.isDown(37) && left && !Key.isDown(39)) {
tire.nextFrame();
pump.play();
left = false;
right = true;
}
if (Key.isDown(39) && right && !Key.isDown(37)) {
tire.nextFrame();
pump.play();
right = false;
left = true;
}
if (tire._currentframe == tire._totalframes) {
cstatus = 0;
tire.prevFrame();
sparkle.play();
_root.gameOutcome(true);
}
}
};
}
}
movieClip 6454 {
}
movieClip 6459 {
}
movieClip 6461 {
}
movieClip 6464 {
}
movieClip 6466 {
}
movieClip 6469 {
}
movieClip 6472 {
}
movieClip 6473 game181 {
frame 1 {
cstatus = 1;
_root.rules = 'Catch the Green!';
_root.beatClock = true;
i = 0;
while (i < 4) {
this['acc' + i] = (random(30) + 1) * 0.01;
this['vel' + i] = 0;
this[i]._x = random(450) + 50;
this['a' + i]._x = this[i]._x;
++i;
}
onEnterFrame = function () {
if (_root.cstatus == 1) {
i = 0;
while (i < 4) {
this[i]._y += this['vel' + i];
this['vel' + i] += this['acc' + i];
++i;
}
i = 0;
while (i < 3) {
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(false);
}
if (this.3.hitTest(_root._xmouse, _root._ymouse)) {
_root.gameOutcome(true);
}
++i;
}
}
};
}
}
movieClip 6476 {
}
button 6477 {
on (release) {
if (_root.cstatus == 1) {
nextFrame();
}
}
}
button 6480 {
on (release) {
if (_root.cstatus == 1) {
prevFrame();
}
}
}
movieClip 6481 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6482 {
}
movieClip 6485 {
}
movieClip 6486 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6487 {
}
movieClip 6490 {
}
// unknown tag 88 length 67
movieClip 6494 {
}
button 6495 {
on (release) {
verify();
}
}
movieClip 6498 {
}
movieClip 6499 game182 {
frame 1 {
function verify() {
var v3 = true;
var v2 = 1;
while (v2 <= 8) {
if (redPad['s' + v2]._currentframe != bluePad['s' + v2]._currentframe) {
v3 = false;
}
++v2;
}
if (v3) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
_root.rules = 'Hole + light = :)';
_root.beatClock = true;
var i = 1;
while (i <= 8) {
if (Math.random() > 0.5) {
this.bluePad['s' + i].nextFrame();
}
++i;
}
}
}
movieClip 6502 {
}
movieClip 6504 {
}
movieClip 6506 {
}
movieClip 6533 {
}
movieClip 6543 {
}
movieClip 6546 {
}
movieClip 6547 {
}
movieClip 6550 {
}
movieClip 6564 {
}
movieClip 6565 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
button 6566 {
on (press) {
if (_root.cstatus == 1) {
startDrag('eye10_drag', false);
}
}
on (release) {
stopDrag();
}
}
movieClip 6569 {
}
movieClip 6578 {
}
movieClip 6586 {
frame 22 {
stop();
}
}
movieClip 6587 game183 {
frame 1 {
_root.rules = 'Drag to the light!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (eye10_dot.hitTest(eye10_exit)) {
_root.gameOutcome(true);
}
if (eye10_dot.hitTest(eye10_ball1) || eye10_dot.hitTest(eye10_ball2) || eye10_dot.hitTest(eye10_ball3) || eye10_dot.hitTest(eye10_ball4) || eye10_dot.hitTest(eye10_ball5) || eye10_dot.hitTest(eye10_ball6) || eye10_dot.hitTest(eye10_ball7) || eye10_dot.hitTest(eye10_ball8) || eye10_dot.hitTest(eye10_ball9) || eye10_dot.hitTest(eye10_ball10) || eye10_dot.hitTest(eye10_ball11) || eye10_dot.hitTest(eye10_ball12) || eye10_dot.hitTest(eye10_ball13) || eye10_dot.hitTest(eye10_ball14) || eye10_dot.hitTest(eye10_ball15) || eye10_dot.hitTest(eye10_ball16) || eye10_dot.hitTest(eye10_ball17)) {
_root.gameOutcome(false);
play();
}
} else {
eye10_drag.stopDrag();
}
};
}
frame 1 {
stop();
}
instance eye10_dot of movieClip 6506 {
onClipEvent (enterFrame) {
this._x = _root.g.eye10_drag._x;
this._y = _root.g.eye10_drag._y;
}
}
instance eye10_ball9 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball7 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball12 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball6 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball14 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball2 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball8 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball1 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball13 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball4 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball11 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball5 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball10 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball15 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball3 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball16 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
instance eye10_ball17 of movieClip 6547 {
onClipEvent (load) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
if (this.hitTest(_root.g.eye10_drag) || this.hitTest(_root.g.eye10_exit)) {
this._x = int(Math.random() * 400);
this._y = int(Math.random() * 400);
}
}
}
}
movieClip 6631 {
}
movieClip 6632 {
}
movieClip 6634 {
}
movieClip 6636 {
}
movieClip 6640 {
}
movieClip 6641 {
}
movieClip 6659 {
}
movieClip 6666 {
}
movieClip 6672 {
}
movieClip 6674 {
}
movieClip 6676 {
}
movieClip 6678 {
}
movieClip 6680 {
}
movieClip 6682 {
}
movieClip 6692 {
frame 14 {
stop();
}
}
movieClip 6700 {
}
movieClip 6708 {
frame 35 {
stop();
}
frame 36 {
stop();
Remove.MovieClip;
}
}
movieClip 6709 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 6711 {
}
movieClip 6713 {
}
movieClip 6714 {
instance rightharborpart of movieClip 6711 {
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.boat1)) {
this._parent._parent.boat1.vx = 0;
this._parent._parent.boat1.vy = 0;
_root.gameOutcome(false);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.boat1)) {
this._parent.boat1.gotoAndStop(5);
this._parent.boat1.vx = 0;
this._parent.boat1.vy = 0;
_root.gameOutcome(false);
}
}
}
instance leftharborpart of movieClip 6713 {
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.boat1)) {
this._parent._parent.boat1.vx = 0;
this._parent._parent.boat1.vy = 0;
_root.gameOutcome(false);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.boat1)) {
this._parent.boat1.gotoAndStop(5);
this._parent.boat1.vx = 0;
this._parent.boat1.vy = 0;
_root.gameOutcome(false);
}
}
}
}
movieClip 6715 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 6718 {
}
movieClip 6719 game184 {
frame 1 {
_root.rules = 'Steal the tankers space!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
Text = 'Four Second Firestorm';
letters = Text.split('');
letterformat = new TextFormat();
letterformat.font = 'Ariala';
letterformat.align = 'left';
letterformat.size = '13';
spacing = 8;
speed = 3;
var LTR = 0;
while (LTR < letters.length) {
mc = _root.g.createEmptyMovieClip(LTR + 'l', LTR);
mc.createTextField(letters[LTR] + 't', LTR, LTR * spacing, 10, 20, 20);
with (mc[letters[LTR] + 't']) {
text = letters[LTR];
setTextFormat(letterformat);
selectable = false;
}
if (LTR) {
mc.prevClip = _root.g[LTR - 1 + 'l'];
mc.onEnterFrame = function () {
this._x += (this.prevClip._x - this._x + 5) / speed;
this._y += (this.prevClip._y - this._y) / speed;
};
} else {
mc.onEnterFrame = function () {
this._x += (_root._xmouse - this._x + 10) / speed;
this._y += (_root._ymouse - this._y) / speed;
};
}
++LTR;
}
}
};
}
instance tanker1 of movieClip 6659 {
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.boat1)) {
this._parent.boat1.gotoAndStop(5);
this._parent.boat1.vx = 0;
this._parent.boat1.vy = 0;
_parent.boat1.gotoAndStop(5);
_root.gameOutcome(false);
}
}
onClipEvent (load) {
speed = 1;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x += speed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tankerbeam) and this._parent.boat1.hitTest(this._parent.portthing)) {
speed = 0;
}
}
}
instance mine1 of movieClip 6666 {
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.boat1)) {
this._parent.boat1.gotoAndStop(5);
this._parent.boat1.vx = 0;
this._parent.boat1.vy = 0;
_root.gameOutcome(false);
}
}
onClipEvent (enterFrame) {
if (this._parent.boat1.hitTest(this._parent.portthing) and this._parent.tanker1._x < 475) {
_root.gameOutcome(true);
this._parent.gamewin11.gotoAndStop(2);
}
}
}
instance boat1 of movieClip 6709 {
onClipEvent (load) {
vx = 5;
vy = 5;
friction = 0.7;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
vx *= friction;
vy *= friction;
this._x += vx;
this._y += vy;
if (Key.isDown(39)) {
vx += 3;
this.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
vx *= friction;
vy *= friction;
this._x += vx;
this._y += vy;
if (Key.isDown(37)) {
vx -= 3;
this.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
vx *= friction;
vy *= friction;
this._x += vx;
this._y += vy;
if (Key.isDown(38)) {
vy -= 3;
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
vx *= friction;
vy *= friction;
this._x += vx;
this._y += vy;
if (Key.isDown(40)) {
vy += 3;
this.gotoAndStop(4);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
vx = 0;
vy = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.armor == 0) {
_root.gotoAndPlay(6);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_root.fuel == 0) {
_root.gotoAndPlay(6);
}
}
}
}
}
movieClip 6722 {
frame 1 {
stop();
}
frame 21 {
stop();
}
}
movieClip 6724 {
}
movieClip 6726 {
}
movieClip 6728 {
}
movieClip 6731 {
frame 10 {
gotoAndPlay(1);
}
}
movieClip 6734 {
}
movieClip 6735 game186 {
frame 1 {
this.attachMovie('coin', 'coin1', 6);
}
frame 1 {
_root.rules = 'Avoid!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.coin1.hitTest(_root.g.cur)) {
_root.gameOutcome(false);
_root.g.avoider.gotoAndStop('YOULOSE');
_root.g.bg.gotoAndPlay(2);
_root.g.coin1.unloadMovie();
}
}
};
}
instance rand2 of movieClip 6724 {
onClipEvent (load) {
this._visible = false;
}
}
instance rand of movieClip 6724 {
onClipEvent (load) {
this._visible = false;
}
}
instance rand3 of movieClip 6724 {
onClipEvent (load) {
this._visible = false;
}
}
instance rand4 of movieClip 6724 {
onClipEvent (load) {
this._visible = false;
}
}
instance cur of movieClip 6728 {
onClipEvent (load) {
startDrag(this, true, 223, 170, 327, 231);
Mouse.hide();
}
}
}
movieClip 6737 {
}
movieClip 6739 {
}
movieClip 6743 {
frame 14 {
stop();
}
}
movieClip 6744 {
frame 1 {
stop();
}
frame 2 {
hit += 1;
}
}
movieClip 6746 {
frame 1 {
stop();
}
frame 2 {
hit += 1;
}
}
movieClip 6748 {
frame 1 {
stop();
}
frame 2 {
hit += 1;
}
}
movieClip 6751 {
}
movieClip 6752 game187 {
frame 1 {
_root.rules = 'Hit all the planets';
_root.beatClock = true;
speed = 1;
pla._y = random(200) + 10;
plb._y = random(200) + 10;
plc._y = random(200) + 10;
onEnterFrame = function () {
if (_root.cstatus == 1) {
speed += speed / 35;
meteor._rotation += 3;
meteor._x += speed;
if (Key.isDown(38)) {
meteor._y -= 5;
}
if (Key.isDown(40)) {
meteor._y += 5;
}
if (meteor.hitTest(pla)) {
pla.gotoAndStop(2);
hit = 1;
}
if (meteor.hitTest(plb)) {
plb.gotoAndStop(2);
if (hit == 1) {
hit = 2;
}
}
if (meteor.hitTest(plc)) {
plc.gotoAndStop(2);
if (hit == 2) {
hit = 3;
meteor._alpha = 0;
}
}
if (hit == 3) {
_root.gameOutcome(true);
}
}
};
}
}
movieClip 6755 {
}
movieClip 6757 {
}
movieClip 6759 {
frame 21 {
stop();
}
}
movieClip 6762 {
frame 45 {
stop();
this.removeMovieClip();
}
}
movieClip 6763 {
frame 1 {
stop();
var i = 0;
while (i < 5) {
duplicateMovieClip('shard', 'shard' + i, i);
target = eval('shard' + i);
target._x += random(20) - 10;
target._y += random(30) - 15;
++i;
}
}
instance shard of movieClip 6762 {
onClipEvent (load) {
xspeed = random(16) - 8;
yspeed = -random(10) - 5;
_xscale = random(120) + 20;
_yscale = _xscale;
}
onClipEvent (enterFrame) {
yspeed += 0.5;
_rotation = Math.atan2(yspeed, xspeed) * 360 / 3.141593;
_x = _x + xspeed;
_y = _y + yspeed;
if (_y > bv + _height / 2) {
_y = bv + _height / 2;
yspeed = -yspeed * 0.3;
xspeed *= 0.3;
}
}
}
}
movieClip 6764 {
frame 1 {
stop();
}
instance of movieClip 6757 {
onClipEvent (press) {
if (_root.g.tom6_calculador.encendido == true) {
this._parent.gotoAndStop(2);
}
}
}
frame 2 {
_root.g.tom6_counter += 1;
}
}
movieClip 6766 {
}
movieClip 6769 {
}
movieClip 6772 {
}
movieClip 6773 game188 {
frame 1 {
_root.rules = 'Shoot all coins';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
_root.g.tom6_calculador.encendido = true;
}
};
}
frame 1 {
stop();
_root.g.tom6_counter = 0;
}
instance of movieClip 6764 {
onClipEvent (load) {
this._x = random(520);
}
}
instance of movieClip 6764 {
onClipEvent (load) {
this._x = random(520);
}
}
instance of movieClip 6764 {
onClipEvent (load) {
this._x = random(520);
}
}
instance of movieClip 6764 {
onClipEvent (load) {
this._x = random(520);
}
}
instance of movieClip 6764 {
onClipEvent (load) {
this._x = random(520);
}
}
instance of movieClip 6766 {
onClipEvent (load) {
this._x = random(520);
}
}
instance tom6_calculador of movieClip 6769 {
onClipEvent (load) {
encendido = false;
}
onClipEvent (enterFrame) {
if (_root.g.tom6_counter == 6) {
_root.gameOutcome(true);
}
}
}
}
movieClip 6776 {
}
movieClip 6777 {
frame 1 {
stop();
}
}
movieClip 6779 {
}
movieClip 6782 {
}
movieClip 6788 {
frame 32 {
_root.g.tom6_personaje.gotoAndStop(1);
}
}
movieClip 6790 {
frame 46 {
stop();
}
}
movieClip 6791 {
frame 1 {
stop();
}
frame 3 {
_root.gameOutcome(false);
}
}
movieClip 6796 {
}
movieClip 6797 game189 {
frame 1 {
_root.rules = 'Jump the flower';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
_root.g.tom6_flor.gotoAndStop(2);
}
};
}
frame 1 {
}
instance tom6_personaje of movieClip 6791 {
onClipEvent (load) {
tom6_grav = 0;
tom6_jumpHeight = 16;
tom6_muere = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
++tom6_grav;
_y = _y + tom6_grav;
while (_root.g.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
tom6_grav = 0;
}
if (Key.isDown(32) && _root.g.ground.hitTest(_x, _y + 3, true) && tom6_muere == false) {
tom6_grav = -tom6_jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.g.tom6_flor.tom6_animacion._currentframe == 25) {
this._xscale = -57;
}
if (_root.g.tom6_flor.tom6_animacion._currentframe == 90) {
this._xscale = 57;
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.tom6_unhit.hitTest(_root.g.tom6_flor)) {
tom6_muere = true;
this.gotoAndStop(3);
}
}
}
}
}
movieClip 6801 {
}
movieClip 6805 {
}
movieClip 6814 {
frame 7 {
stop();
}
}
movieClip 6815 {
frame 1 {
stop();
}
}
movieClip 6823 {
}
movieClip 6824 {
frame 5 {
stop();
}
}
movieClip 6828 {
}
movieClip 6829 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 6833 {
}
movieClip 6837 {
}
movieClip 6850 {
}
movieClip 6851 {
frame 1 {
stop();
}
frame 14 {
stop();
}
}
movieClip 6854 {
}
movieClip 6857 {
}
movieClip 6858 game190 {
instance of movieClip 6851 {
onClipEvent (load) {
tim = random(80) + 16;
_root.rules = 'Space to Dodge';
_root.beatClock = true;
down = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
tim -= 1;
if (_parent.kid._currentframe == 1) {
if (Key.isDown(32) && tim <= 0 && !down) {
_parent.kid.gotoAndStop(2);
down = true;
}
if (Key.isDown(32) && tim > 0 && !down) {
_parent.kid.xc.gotoAndStop(2);
down = true;
}
}
if (tim == 0) {
play();
}
if (tim == -12) {
if (_parent.kid._currentframe == 1) {
_parent.kid.gotoAndStop(3);
_root.gameOutcome(false);
} else {
_root.gameOutcome(true);
}
}
}
}
}
}
movieClip 6860 {
}
movieClip 6863 {
}
movieClip 6865 {
}
movieClip 6867 {
}
movieClip 6869 {
}
movieClip 6871 {
}
movieClip 6872 {
}
movieClip 6874 {
}
movieClip 6875 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 6886 {
frame 1 {
stop();
}
frame 11 {
_parent.Spells0.gotoAndStop(Scy1_Magic + 2);
_parent.play();
}
frame 30 {
stop();
}
}
movieClip 6900 {
frame 2 {
stop();
}
frame 11 {
gotoAndPlay('Death0');
}
frame 28 {
gotoAndPlay('Monster1');
}
frame 37 {
gotoAndPlay('Death1');
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
}
movieClip 6905 {
frame 1 {
stop();
}
}
movieClip 6908 {
}
movieClip 6909 game191 {
frame 1 {
_root.rules = 'Use the right spell';
_root.beatClock = true;
stop();
_global.Scy1_Monster = Math.floor(Math.random() * 4);
_global.Scy1_Spell = new Array(4);
var DirList = new Array(0, 1, 2, 3);
var SymList = new Array(0, 1, 2, 3);
var DirRand;
var SymRand;
var Cnt = 0;
while (Cnt < 4) {
DirRand = Math.floor(Math.random() * (4 - Cnt));
SymRand = Math.floor(Math.random() * (4 - Cnt));
SpellBook0['Arrow' + Cnt]._rotation = DirList[DirRand] * 90;
SpellBook0['Symbol' + SymList[SymRand]]._x = SpellBook0['Arrow' + Cnt]._x - 25;
SpellBook0['Symbol' + SymList[SymRand]]._y = SpellBook0['Arrow' + Cnt]._y - 25;
Scy1_Spell[DirList[DirRand]] = SymList[SymRand];
var Cnt2 = DirRand;
while (Cnt2 < 3 - Cnt) {
DirList[Cnt2] = DirList[Cnt2 + 1];
++Cnt2;
}
var Cnt2 = SymRand;
while (Cnt2 < 3 - Cnt) {
SymList[Cnt2] = SymList[Cnt2 + 1];
++Cnt2;
}
++Cnt;
}
}
instance Curtain0 of movieClip 6875 {
onClipEvent (keyUp) {
if (Key.getCode() > 36 and Key.getCode() < 41 and _currentframe == 1 and _root.cstatus == 1) {
_global.Scy1_Magic = Scy1_Spell[Key.getCode() - 37];
play();
_parent.Wizard0.play();
if (Scy1_Magic == Scy1_Monster) {
_root.beatClock = false;
}
}
}
}
instance Monsters0 of movieClip 6900 {
onClipEvent (load) {
gotoAndPlay('Monster' + Scy1_Monster);
}
}
frame 17 {
Spells0.gotoAndStop(1);
if (Scy1_Magic == Scy1_Monster) {
Monsters0.gotoAndPlay('Death' + Scy1_Monster);
} else {
stop();
_root.gameOutcome(false);
}
}
frame 48 {
stop();
_root.gameOutcome(true);
}
}
movieClip 6913 {
}
movieClip 6914 {
}
movieClip 6917 {
}
movieClip 6919 {
}
movieClip 6922 {
}
movieClip 6931 {
}
movieClip 6938 {
}
movieClip 6946 {
}
movieClip 6954 {
}
movieClip 6961 {
}
movieClip 6962 {
}
movieClip 6964 {
frame 1 {
stop();
}
frame 64 {
_root.gameOutcome(true);
}
}
movieClip 7007 {
}
movieClip 7009 {
}
movieClip 7011 {
}
movieClip 7012 game192 {
frame 1 {
_root.rules = 'Put out the fire!';
_root.beatClock = true;
adm1_fireDoused = 0;
fire = 0;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (_root.g.adm1_hose.adm1_douser.hitTest(_root.g.adm1_buildingFire)) {
_root.g.adm1_buildingFire.nextFrame();
++fire;
}
}
};
}
instance adm1_hose of movieClip 7011 {
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = _x + (endX - _x) / 10;
_y = _y + (endY - _y) / 10;
Mouse.hide();
}
}
}
movieClip 7022 {
frame 1 {
stop();
}
frame 30 {
_root.g.gotoAndStop(2);
}
}
movieClip 7024 {
}
movieClip 7028 {
}
movieClip 7031 {
instance of movieClip 7028 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.g.tom8_florcita)) {
_root.g.tom8_florcita.nextFrame();
}
}
}
}
movieClip 7034 {
}
movieClip 7038 {
}
movieClip 7041 {
}
movieClip 7043 {
frame 35 {
stop();
}
}
movieClip 7046 {
frame 1 {
stop();
}
}
movieClip 7047 game195 {
frame 1 {
_root.rules = 'Water the plant';
_root.beatClock = true;
secorre = false;
started = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
started = true;
secorre = false;
}
if (_root.cstatus == 0 && started == true) {
gotoAndStop(3);
}
};
}
frame 1 {
stop();
}
instance of movieClip 7031 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (release) {
stopDrag();
}
}
frame 2 {
stop();
_root.gameOutcome(true);
started = false;
}
frame 3 {
stop();
_root.gameOutcome(true);
}
}
movieClip 7050 {
}
movieClip 7051 {
}
movieClip 7058 {
}
movieClip 7065 {
}
movieClip 7072 {
}
movieClip 7073 {
}
button 7075 {
on (press) {
chosen(1);
}
}
button 7076 {
on (press) {
chosen(2);
}
}
button 7077 {
on (press) {
chosen(3);
}
}
movieClip 7080 {
}
movieClip 7081 game196 {
frame 1 {
function chosen(creatureNumber) {
if (creatureNumber == oddest) {
_root.gameOutcome(true);
} else {
_root.gameOutcome(false);
}
}
function setupSimilarity(oddest) {
var bodyPart = Math.ceil(Math.random() * 3);
trace('oddest: ' + oddest);
if (bodyPart == 1) {
(eval('creature' + wrapAround(oddest + 1))).head.gotoAndStop(wrapAround(headPicked + wrapAround(oddest + 2) * headDirection));
} else {
if (bodyPart == 2) {
(eval('creature' + wrapAround(oddest + 1))).body.gotoAndStop(wrapAround(bodyPicked + wrapAround(oddest + 2) * bodyDirection));
} else {
if (bodyPart == 3) {
(eval('creature' + wrapAround(oddest + 1))).legs.gotoAndStop(wrapAround(legsPicked + wrapAround(oddest + 2) * legsDirection));
} else {
trace('ERROR! when setting up similarity.bodyPart==' + bodyPart);
}
}
}
}
function generateCreature(creatureNumber) {
(eval('creature' + creatureNumber)).head.gotoAndStop(wrapAround(headPicked + creatureNumber * headDirection));
(eval('creature' + creatureNumber)).body.gotoAndStop(wrapAround(bodyPicked + creatureNumber * bodyDirection));
(eval('creature' + creatureNumber)).legs.gotoAndStop(wrapAround(legsPicked + creatureNumber * legsDirection));
trace('creature' + creatureNumber + ':' + wrapAround(headPicked + creatureNumber * headDirection) + wrapAround(bodyPicked + creatureNumber * bodyDirection) + wrapAround(legsPicked + creatureNumber * legsDirection));
}
function wrapAround(variableName) {
var v2 = 3;
if (variableName > v2) {
variableName -= v2;
}
if (variableName < 1) {
variableName += v2;
}
return variableName;
}
_root.rules = 'Spot the oddest!';
_root.beatClock = true;
var oddest = Math.ceil(Math.random() * 3);
var headPicked = Math.ceil(Math.random() * 3);
var headDirection = Math.ceil(Math.random() * 2) - 1;
var bodyPicked = Math.ceil(Math.random() * 3);
var bodyDirection = Math.ceil(Math.random() * 2) - 1;
var legsPicked = Math.ceil(Math.random() * 3);
var legsDirection = Math.ceil(Math.random() * 2) - 1;
if (headDirection == 0) {
headDirection = -1;
}
if (bodyDirection == 0) {
bodyDirection = -1;
}
if (legsDirection == 0) {
legsDirection = -1;
}
trace('headDirection: ' + headDirection);
generateCreature(1);
generateCreature(2);
generateCreature(3);
setupSimilarity(oddest);
stop();
}
}
movieClip 7085 {
}
movieClip 7087 {
}
movieClip 7089 {
}
button 7090 {
on (press) {
_root.gameOutcome(false);
}
}
movieClip 7092 {
}
button 7093 {
on (press) {
_root.gameOutcome(true);
}
}
movieClip 7095 {
}
movieClip 7097 {
}
movieClip 7100 {
}
movieClip 7102 {
}
movieClip 7104 {
}
movieClip 7106 {
}
movieClip 7108 {
}
movieClip 7110 {
}
movieClip 7112 {
}
button 7113 {
on (press) {
_root.gameOutcome(true);
}
}
button 7114 {
on (press) {
_root.gameOutcome(false);
}
}
movieClip 7115 game197 {
frame 1 {
_root.rules = 'Which is heavier?';
_root.beatClock = true;
var selectedSetup = Math.ceil(Math.random() * 8);
gotoAndStop('bez08_' + selectedSetup);
}
}
movieClip 7118 {
}
movieClip 7132 {
}
movieClip 7135 game198 {
frame 1 {
var spendingTarget = 15 + 5 * Math.ceil(Math.random() * 9);
_root.rules = 'Spend £' + spendingTarget + '!';
_root.beatClock = true;
var moneyToSpend = 350 + Math.ceil(Math.random() * 100);
var moneySpent = spendingTarget * 100 - moneyToSpend;
var moneySpent_Ones = moneySpent % 10;
var moneySpent_Tens = ((moneySpent - moneySpent_Ones) % 100) / 10;
var moneySpent_Hundreds = ((moneySpent - moneySpent % 100) % 1000) / 100;
var moneySpent_Thousands = (moneySpent - moneySpent % 1000) / 1000;
stop();
}
instance of movieClip 7118 {
onClipEvent (load) {
var charging = false;
var chargingRate = 1;
var chargingStartTime;
var chargingDuration = 0;
var MAXCHARGINGSPEED = 9;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
charging = true;
_parent.gotoAndStop('charging');
chargingStartTime = getTimer();
}
}
onClipEvent (mouseUp) {
charging = false;
_parent.gotoAndStop('waiting');
if (_root.cstatus == 1) {
if (_parent.moneySpent_Thousands * 10 + _parent.moneySpent_Hundreds == _parent.spendingTarget) {
_root.gameOutcome(true);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus != 1) {
charging = false;
_parent.gotoAndStop('waiting');
}
if (charging == true) {
chargingDuration = getTimer() - chargingStartTime;
if (chargingDuration > 500) {
chargingrate += 1;
chargingStartTime -= 500;
}
if (chargingRate > MAXCHARGINGSPEED) {
chargingrate = MAXCHARGINGSPEED;
}
_parent.moneySpent += chargingRate;
} else {
chargingRate = 1;
}
_parent.moneySpent_Ones = _parent.moneySpent % 10;
_parent.moneySpent_Tens = ((_parent.moneySpent - _parent.moneySpent_Ones) % 100) / 10;
_parent.moneySpent_Hundreds = ((_parent.moneySpent - _parent.moneySpent % 100) % 1000) / 100;
_parent.moneySpent_Thousands = (_parent.moneySpent - _parent.moneySpent % 1000) / 1000;
}
}
}
movieClip 7145 game199 {
frame 1 {
var spendingTarget = 15 + 5 * Math.ceil(Math.random() * 9);
_root.rules = 'Spend £' + spendingTarget + '!';
_root.beatClock = true;
var moneyToSpend = 700 + Math.ceil(Math.random() * 100);
var moneySpent = spendingTarget * 100 - moneyToSpend;
var moneySpent_Ones = moneySpent % 10;
var moneySpent_Tens = ((moneySpent - moneySpent_Ones) % 100) / 10;
var moneySpent_Hundreds = ((moneySpent - moneySpent % 100) % 1000) / 100;
var moneySpent_Thousands = (moneySpent - moneySpent % 1000) / 1000;
}
instance of movieClip 7118 {
onClipEvent (load) {
var charging = false;
var chargingRate = 1;
var chargingStartTime;
var chargingDuration = 0;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
charging = true;
chargingStartTime = getTimer();
}
}
onClipEvent (mouseUp) {
charging = false;
if (_root.cstatus == 1) {
if (_parent.moneySpent_Thousands * 10 + _parent.moneySpent_Hundreds == _parent.spendingTarget) {
_root.gameOutcome(true);
}
}
}
onClipEvent (enterFrame) {
if (_root.cstatus != 1) {
charging = false;
}
if (charging == true) {
chargingDuration = getTimer() - chargingStartTime;
if (chargingDuration > 500) {
chargingrate += 1;
chargingStartTime -= 500;
}
if (chargingRate > 17) {
chargingrate = 17;
}
_parent.moneySpent += chargingRate;
} else {
chargingRate = 1;
}
_parent.moneySpent_Ones = _parent.moneySpent % 10;
_parent.moneySpent_Tens = ((_parent.moneySpent - _parent.moneySpent_Ones) % 100) / 10;
_parent.moneySpent_Hundreds = ((_parent.moneySpent - _parent.moneySpent % 100) % 1000) / 100;
_parent.moneySpent_Thousands = (_parent.moneySpent - _parent.moneySpent % 1000) / 1000;
}
}
}
movieClip 7148 {
}
button 7149 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.shoeLenience && this._x < clickx + _root.g.shoeLenience && this._y > clicky - _root.g.shoeLenience && this._y < clicky + _root.g.shoeLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7150 {
}
movieClip 7152 {
}
button 7153 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.trouserLenience && this._x < clickx + _root.g.trouserLenience && this._y > clicky - _root.g.trouserLenience && this._y < clicky + _root.g.trouserLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7154 {
}
movieClip 7156 {
}
button 7157 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.topLenience && this._x < clickx + _root.g.topLenience && this._y > clicky - _root.g.topLenience && this._y < clicky + _root.g.topLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7158 {
}
movieClip 7160 {
}
button 7161 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.trouserLenience && this._x < clickx + _root.g.trouserLenience && this._y > clicky - _root.g.trouserLenience && this._y < clicky + _root.g.trouserLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7162 {
}
movieClip 7164 {
}
button 7165 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.shoeLenience && this._x < clickx + _root.g.shoeLenience && this._y > clicky - _root.g.shoeLenience && this._y < clicky + _root.g.shoeLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7166 {
}
movieClip 7168 {
}
button 7169 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.topLenience && this._x < clickx + _root.g.topLenience && this._y > clicky - _root.g.topLenience && this._y < clicky + _root.g.topLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7170 {
}
movieClip 7172 {
}
button 7173 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.shoeLenience && this._x < clickx + _root.g.shoeLenience && this._y > clicky - _root.g.shoeLenience && this._y < clicky + _root.g.shoeLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7174 {
}
movieClip 7176 {
}
button 7177 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.trouserLenience && this._x < clickx + _root.g.trouserLenience && this._y > clicky - _root.g.trouserLenience && this._y < clicky + _root.g.trouserLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7178 {
}
movieClip 7180 {
}
button 7181 {
on (press) {
this.startDrag();
clicked = false;
}
on (release) {
this.stopDrag();
if (this._x > clickx - _root.g.topLenience && this._x < clickx + _root.g.topLenience && this._y > clicky - _root.g.topLenience && this._y < clicky + _root.g.topLenience) {
this._x = clickx;
this._y = clicky;
trace('clicked');
clicked = true;
}
trace(this._x + ',' + this._y);
}
}
movieClip 7182 {
}
movieClip 7186 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 7188 {
}
movieClip 7191 {
}
movieClip 7194 {
}
movieClip 7195 game201 {
frame 1 {
_root.rules = 'Dress up!';
_root.beatClock = true;
var generalLenience = 85;
var shoeLenience = generalLenience;
var trouserLenience = generalLenience + 40;
var topLenience = generalLenience + 20;
var outfit = Math.ceil(Math.random() * 3);
gotoAndStop('outfit1');
if (outfit == 1) {
gotoAndStop('outfit1');
} else {
if (outfit == 2) {
gotoAndStop('outfit2');
} else {
if (outfit == 3) {
gotoAndStop('outfit3');
} else {
trace('ERROR!!!!!! - outfit wrongly selected.');
}
}
}
stop();
}
instance of movieClip 7150 {
onClipEvent (load) {
var clickx = 241.3;
var clicky = 331.4;
var clicked = false;
}
}
instance of movieClip 7154 {
onClipEvent (load) {
var clickx = 238.3;
var clicky = 244.6;
var clicked = false;
}
}
instance of movieClip 7158 {
onClipEvent (load) {
var clickx = 227.8;
var clicky = 177.3;
var clicked = false;
}
}
instance of movieClip 7162 {
onClipEvent (load) {
var clickx = 238.7;
var clicky = 255.3;
var clicked = false;
}
}
instance of movieClip 7166 {
onClipEvent (load) {
var clickx = 240.4;
var clicky = 309.8;
var clicked = false;
}
}
instance of movieClip 7170 {
onClipEvent (load) {
var clickx = 228.8;
var clicky = 188.3;
var clicked = false;
}
}
instance shoes of movieClip 7174 {
onClipEvent (load) {
var clickx = 241.1;
var clicky = 322.1;
var clicked = false;
}
}
instance trousers of movieClip 7178 {
onClipEvent (load) {
var clickx = 239.9;
var clicky = 259.1;
var clicked = false;
}
}
instance top of movieClip 7182 {
onClipEvent (load) {
var clickx = 228.2;
var clicky = 177.6;
var clicked = false;
}
}
instance of movieClip 7191 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.top.clicked == true && _parent.trousers.clicked == true && _parent.shoes.clicked == true) {
_parent.face.gotoAndStop('smile');
_root.gameOutcome(true);
}
}
}
}
instance of movieClip 7174 {
onClipEvent (load) {
var clickx = 241.1;
var clicky = 322.1;
var clicked = false;
}
}
instance of movieClip 7178 {
onClipEvent (load) {
var clickx = 239.9;
var clicky = 259.1;
var clicked = false;
}
}
instance of movieClip 7182 {
onClipEvent (load) {
var clickx = 228.2;
var clicky = 177.6;
var clicked = false;
}
}
instance shoes of movieClip 7150 {
onClipEvent (load) {
var clickx = 241.3;
var clicky = 331.4;
var clicked = false;
}
}
instance trousers of movieClip 7154 {
onClipEvent (load) {
var clickx = 238.3;
var clicky = 244.6;
var clicked = false;
}
}
instance top of movieClip 7158 {
onClipEvent (load) {
var clickx = 227.8;
var clicky = 177.3;
var clicked = false;
}
}
instance of movieClip 7150 {
onClipEvent (load) {
var clickx = 241.3;
var clicky = 331.4;
var clicked = false;
}
}
instance of movieClip 7154 {
onClipEvent (load) {
var clickx = 238.3;
var clicky = 244.6;
var clicked = false;
}
}
instance of movieClip 7158 {
onClipEvent (load) {
var clickx = 227.8;
var clicky = 177.3;
var clicked = false;
}
}
instance trousers of movieClip 7162 {
onClipEvent (load) {
var clickx = 238.7;
var clicky = 255.3;
var clicked = false;
}
}
instance shoes of movieClip 7166 {
onClipEvent (load) {
var clickx = 240.4;
var clicky = 309.8;
var clicked = false;
}
}
instance top of movieClip 7170 {
onClipEvent (load) {
var clickx = 228.8;
var clicky = 188.3;
var clicked = false;
}
}
}
movieClip 7200 {
}
movieClip 7203 {
}
movieClip 7206 {
}
movieClip 7209 {
}
movieClip 7210 {
}
movieClip 7213 {
}
movieClip 7216 {
}
movieClip 7219 {
}
movieClip 7222 {
}
button 7224 {
on (press) {
perform('LADY');
}
}
button 7225 {
on (press) {
perform('TREE');
}
}
button 7226 {
on (press) {
perform('MONK');
}
}
button 7227 {
on (press) {
perform('BIRD');
}
}
movieClip 7228 game202 {
frame 1 {
function perform(actionString) {
var v2;
if (_root.cstatus == 1) {
achieved += actionString;
trace('_' + achieved);
if (achieved == goal) {
_root.gameOutcome(true);
}
v2 = goal.substr(0, achieved.length);
trace(v2);
if (achieved != v2) {
_root.gameOutcome(false);
}
}
}
function someGoal() {
var v1 = Math.ceil(Math.random() * 6);
if (v1 == 1) {
return 'GIVE WIG TO MONK';
} else {
if (v1 == 2) {
return 'GIVE BIKE TO BIRD';
} else {
if (v1 == 3) {
return 'GIVE FISH TO LADY';
} else {
if (v1 == 4) {
return 'TALK TO TREE';
} else {
if (v1 == 5) {
return 'PUNCH TREE';
} else {
if (v1 == 6) {
return 'TALK TO BIRD';
} else {
trace('ERROR! error in \'someGoal\' function');
}
}
}
}
}
}
}
var goal = someGoal();
_root.rules = goal;
_root.beatClock = true;
var achieved = '';
stop();
}
instance of movieClip 7200 {
onClipEvent (load) {
var active = false;
var startingX = 67.5;
var startingY = 267.5;
var lenienceX = 35;
var lenienceY = 20;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1 && _parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY) {
_parent.perform('LOOK AT ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7203 {
onClipEvent (load) {
var active = false;
var startingX = 65;
var startingY = 320;
var lenienceX = 30;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1 && _parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY) {
_parent.perform('PUNCH ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7206 {
onClipEvent (load) {
var active = false;
var startingX = 167.5;
var startingY = 322.5;
var lenienceX = 35;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1 && _parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY) {
_parent.perform('TALK TO ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance give of movieClip 7210 {
onClipEvent (load) {
var active = false;
var startingX = 167.5;
var startingY = 270;
var lenienceX = 35;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1 && _parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY) {
_parent.perform('GIVE ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7213 {
onClipEvent (load) {
var active = false;
var startingX = 297.5;
var startingY = 267.5;
var lenienceX = 25;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY && _parent.give.active == true) {
_parent.perform('BALL TO ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7216 {
onClipEvent (load) {
var active = false;
var startingX = 295;
var startingY = 322.5;
var lenienceX = 35;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY && _parent.give.active == true) {
_parent.perform('FISH TO ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7219 {
onClipEvent (load) {
var active = false;
var startingX = 397.5;
var startingY = 267.5;
var lenienceX = 35;
var lenienceY = 25;
}
onClipEvent (mouseDown) {
if (_parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY && _parent.give.active == true) {
_parent.perform('BIKE TO ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
instance of movieClip 7222 {
onClipEvent (load) {
var active = false;
var startingX = 397.5;
var startingY = 325;
var lenienceX = 35;
var lenienceY = 20;
}
onClipEvent (mouseDown) {
if (_parent._xmouse > startingX - lenienceX && _parent._xmouse < startingX + lenienceX && _parent._ymouse > startingY - lenienceY && _parent._ymouse < startingY + lenienceY && _parent.give.active == true) {
_parent.perform('WIG TO ');
active = true;
} else {
active = false;
this._x = startingX;
this._y = startingY;
}
}
onClipEvent (enterFrame) {
if (active == true) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
}
}
movieClip 7235 {
}
movieClip 7238 {
}
movieClip 7241 {
}
movieClip 7242 {
frame 1 {
stop();
}
}
movieClip 7243 game203 {
frame 1 {
_root.rules = 'Click in time!';
_root.beatClock = true;
}
instance of movieClip 7242 {
onClipEvent (load) {
var previousFrameTime = getTimer();
var currentFrameTime = previousFrameTime;
var timeCounter = 0;
var lenience = 95;
var beatTime = 500;
var score = 0;
var goal = 5;
var i;
}
onClipEvent (enterFrame) {
currentFrameTime = getTimer();
timeCounter += currentFrameTime - previousFrameTime;
previousFrameTime = currentFrameTime;
if (timeCounter > beatTime) {
timeCounter -= beatTime;
this.gotoAndPlay('bang');
i = 1;
while (i <= 8) {
(eval('_parent.monkey' + i)).gotoAndPlay('bang');
++i;
}
}
}
onClipEvent (mouseDown) {
if (_root.cstatus == 1) {
if (timeCounter < lenience || timeCounter > beatTime - lenience) {
++score;
if (score == goal) {
score = 8;
_root.gameOutcome(true);
}
trace('clicked in time');
} else {
trace('not in time');
}
i = 1;
while (i <= score) {
(eval('_parent.monkey' + i))._alpha = 100;
++i;
}
}
}
}
instance monkey4 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey3 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey2 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey1 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey7 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey8 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey6 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
instance monkey5 of movieClip 7242 {
onClipEvent (load) {
this._alpha = 0;
}
}
}
movieClip 7246 {
}
// unknown tag 88 length 62
movieClip 7255 {
}
movieClip 7258 {
}
movieClip 7259 {
}
movieClip 7262 {
}
movieClip 7263 {
}
movieClip 7265 {
}
movieClip 7266 {
}
movieClip 7267 {
instance of movieClip 7265 {
onClipEvent (enterFrame) {
this._visible = false;
if (_root.player.hitTest(this)) {
_root.player._x -= 15;
}
}
}
}
movieClip 7269 {
}
movieClip 7271 {
}
movieClip 7277 {
}
movieClip 7278 {
}
movieClip 7280 {
}
movieClip 7282 {
}
movieClip 7283 {
instance timer of movieClip 7255 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 129) {
this.stop();
}
}
}
}
instance of movieClip 7258 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 7259 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
instance left of movieClip 7266 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.player.hitTest(this)) {
_parent.player._x += 15;
}
}
}
instance right of movieClip 7267 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.player.hitTest(this)) {
_parent.player._x -= 15;
}
}
}
instance player of movieClip 7278 {
onClipEvent (load) {
stop();
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this.gotoAndStop(2);
_parent.player._x += 15;
}
if (Key.isDown(37)) {
this.gotoAndStop(3);
_parent.player._x -= 15;
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 37) {
this.gotoAndStop(4);
}
}
}
}
instance enemy1 of movieClip 308 ducka {
onClipEvent (load) {
function reset() {
this._x = 550;
this._y = math.random() * 200;
enemySpeed = Math.random() * 8 + 1;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x -= enemySpeed;
if (this._x < -100) {
reset();
}
}
}
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.99;
ground = 310;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_y < ground) {
ySpeed += gravity;
} else {
if (ySpeed > gravity * 4) {
_y = ground;
ySpeed *= -bounce;
} else {
ySpeed = 0;
_y = ground;
}
}
_y = _y + ySpeed;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.player.shad.hitTest(this)) {
_root.gameOutcome(false);
}
}
}
}
instance enemy2 of movieClip 7280 {
onClipEvent (load) {
function reset() {
this._x = 550;
this._y = math.random() * 200;
enemySpeed = Math.random() * 8 + 1;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x -= enemySpeed;
if (this._x < -100) {
reset();
}
}
}
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.99;
ground = 310;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_y < ground) {
ySpeed += gravity;
} else {
if (ySpeed > gravity * 4) {
_y = ground;
ySpeed *= -bounce;
} else {
ySpeed = 0;
_y = ground;
}
}
_y = _y + ySpeed;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.player.shad.hitTest(this)) {
_root.gameOutcome(false);
}
}
}
}
instance enemy3 of movieClip 7282 {
onClipEvent (load) {
function reset() {
this._x = 550;
this._y = math.random() * 200;
enemySpeed = Math.random() * 8 + 1;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x -= enemySpeed;
if (this._x < -100) {
reset();
}
}
}
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.99;
ground = 310;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_y < ground) {
ySpeed += gravity;
} else {
if (ySpeed > gravity * 4) {
_y = ground;
ySpeed *= -bounce;
} else {
ySpeed = 0;
_y = ground;
}
}
_y = _y + ySpeed;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.player.shad.hitTest(this)) {
_root.gameOutcome(false);
}
}
}
}
}
movieClip 7286 {
}
movieClip 7287 game204 {
frame 1 {
stop();
}
frame 1 {
_root.rules = 'Dodge the Ducks!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
}
movieClip 7288 {
}
movieClip 7289 {
}
movieClip 7290 {
instance of movieClip 7288 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
movieClip 7291 {
instance of movieClip 7288 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
}
}
}
}
movieClip 7292 {
instance of movieClip 7288 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
}
}
}
}
movieClip 7295 {
}
movieClip 7298 {
}
movieClip 7301 {
}
movieClip 7304 {
}
movieClip 7307 {
}
// unknown tag 88 length 68
movieClip 7312 {
}
movieClip 7313 {
}
movieClip 7315 {
}
movieClip 7317 {
frame 1 {
stop();
}
frame 2 {
_parent.mykey = true;
}
}
movieClip 7320 {
}
movieClip 7321 game205 {
frame 1 {
_root.rules = 'Open the Door!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
frame 1 {
mykey = false;
stop();
}
instance of movieClip 7289 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y -= 10;
}
}
}
}
instance of movieClip 7289 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y -= 10;
}
}
}
}
instance of movieClip 7289 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y -= 10;
}
}
}
}
instance of movieClip 7289 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y -= 10;
}
}
}
}
instance of movieClip 7289 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y -= 10;
}
}
}
}
instance of movieClip 7290 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
instance of movieClip 7290 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
instance of movieClip 7290 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
instance of movieClip 7291 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
_parent.walkClip.gotoAndStop(3);
}
}
}
}
instance of movieClip 7291 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
_parent.walkClip.gotoAndStop(3);
}
}
}
}
instance of movieClip 7291 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
_parent.walkClip.gotoAndStop(3);
}
}
}
}
instance of movieClip 7291 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
_parent.walkClip.gotoAndStop(3);
}
}
}
}
instance of movieClip 7291 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x += 10;
_parent.walkClip.gotoAndStop(3);
}
}
}
}
instance of movieClip 7290 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
instance of movieClip 7292 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
_parent.walkClip.gotoAndStop(1);
}
}
}
}
instance of movieClip 7292 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
_parent.walkClip.gotoAndStop(1);
}
}
}
}
instance of movieClip 7292 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
_parent.walkClip.gotoAndStop(1);
}
}
}
}
instance of movieClip 7292 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
_parent.walkClip.gotoAndStop(1);
}
}
}
}
instance of movieClip 7292 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._x -= 10;
_parent.walkClip.gotoAndStop(1);
}
}
}
}
instance of movieClip 7290 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.walkClip.feet.hitTest(this)) {
_parent.walkClip._y += 10;
}
}
}
}
instance of movieClip 7298 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 38) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7301 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 40) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7304 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7307 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7312 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
this.gotoAndStop(1);
}
}
}
instance timer of movieClip 7313 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 129) {
this.stop();
}
}
}
}
instance testdoor of movieClip 7315 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.walkClip.hitTest(this) && Key.isDown(32) && _parent.mykey == true) {
_root.gameOutcome(true);
}
}
}
instance walkClip of movieClip 304 player {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this.gotoAndStop(2);
_parent.walkClip._x += 10;
}
if (Key.isDown(37)) {
this.gotoAndStop(4);
_parent.walkClip._x -= 10;
}
if (this._currentframe == 1 && Key.isDown(40)) {
this.gotoAndStop(2);
}
if (this._currentframe == 2 && Key.isDown(40)) {
_parent.walkClip._y += 10;
}
if (this._currentframe == 3 && Key.isDown(40)) {
this.gotoAndStop(4);
}
if (this._currentframe == 4 && Key.isDown(40)) {
_parent.walkClip._y += 10;
}
if (this._currentframe == 1 && Key.isDown(38)) {
this.gotoAndStop(2);
}
if (this._currentframe == 2 && Key.isDown(38)) {
_parent.walkClip._y -= 10;
}
if (this._currentframe == 3 && Key.isDown(38)) {
this.gotoAndStop(4);
}
if (this._currentframe == 4 && Key.isDown(38)) {
_parent.walkClip._y -= 10;
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
if (Key.getCode() == 37) {
this.gotoAndStop(3);
}
if (this._currentframe == 2 && Key.getCode(40)) {
this.gotoAndStop(1);
}
if (this._currentframe == 4 && Key.getCode(40)) {
this.gotoAndStop(3);
}
if (this._currentframe == 2 && Key.getCode(38)) {
this.gotoAndStop(1);
}
if (this._currentframe == 4 && Key.getCode(38)) {
this.gotoAndStop(3);
}
}
}
}
instance key of movieClip 7317 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.walkClip.hitTest(this) && Key.isDown(32)) {
this.nextFrame();
}
}
}
}
}
movieClip 7323 {
}
movieClip 7325 {
}
movieClip 7329 {
}
movieClip 7330 {
instance middle of movieClip 7329 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
}
}
}
}
movieClip 7332 {
}
movieClip 7333 {
}
movieClip 7334 {
}
movieClip 7335 {
}
movieClip 7336 {
}
movieClip 7337 {
}
movieClip 7340 {
}
// unknown tag 88 length 68
movieClip 7345 {
}
movieClip 7349 {
}
movieClip 7350 {
}
movieClip 7352 {
}
movieClip 7353 {
}
movieClip 7354 {
}
movieClip 7360 {
frame 14 {
stop();
}
}
movieClip 7361 {
frame 1 {
stop();
}
instance of movieClip 7360 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 14) {
_root.gameOutcome(true);
}
}
}
}
}
movieClip 7362 game206 {
frame 1 {
_root.rules = 'Cut On The Dotted Line!';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance shad of movieClip 7325 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
_parent.shad._y += 7;
}
if (Key.isDown(38)) {
_parent.shad._y -= 7;
}
}
}
}
instance masktest of movieClip 7330 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
_parent.masktest._y += 7;
}
if (Key.isDown(38)) {
_parent.masktest._y -= 7;
}
}
}
}
instance scissor of movieClip 7332 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.masktest.middle.hitTest(this) && Key.isDown(32)) {
_parent.axe.gotoAndStop(2);
}
}
}
}
instance btmplt of movieClip 7334 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.masktest.hitTest(this)) {
_parent.masktest._y += 7;
}
}
}
}
instance btmshd of movieClip 7335 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.shad.hitTest(this)) {
_parent.shad._y += 7;
}
}
}
}
instance of movieClip 7336 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.masktest.hitTest(this)) {
_parent.masktest._y -= 7;
}
}
}
}
instance of movieClip 7337 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._visible = false;
if (_parent.shad.hitTest(this)) {
_parent.shad._y -= 7;
}
}
}
}
instance of movieClip 7340 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 38) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7350 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(32)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 32) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7353 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(40)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 40) {
this.gotoAndStop(1);
}
}
}
}
instance timer of movieClip 7354 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 129) {
this.stop();
}
}
}
}
}
movieClip 7364 {
}
movieClip 7367 {
}
movieClip 7374 {
}
movieClip 7392 {
}
movieClip 7394 {
}
movieClip 7401 {
}
movieClip 7403 {
}
movieClip 7404 {
frame 1 {
stop();
}
}
movieClip 7406 {
}
movieClip 7408 {
}
movieClip 7409 {
}
movieClip 7411 {
frame 1 {
stop();
_parent.kizuo.hitwalll = false;
_parent.kizuo.hitwallr = false;
}
}
movieClip 7412 {
frame 1 {
stop();
_parent.kizuo.hitwalll = false;
_parent.kizuo.hitwallr = false;
}
}
movieClip 7414 {
}
movieClip 7416 {
}
movieClip 7425 {
}
movieClip 7427 {
}
movieClip 7428 {
frame 1 {
stop();
}
instance body of movieClip 7414 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 7431 {
}
movieClip 7434 {
}
movieClip 7437 {
}
movieClip 7439 {
}
movieClip 7440 {
}
movieClip 7441 game207 {
frame 1 {
_root.rules = 'Avoid the Snowballs!';
_root.beatClock = false;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
};
}
instance slide of movieClip 7392 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.timer._currentframe > 60) {
this._x -= 17;
if (this._x < -100) {
reset();
}
}
}
}
}
instance enemy of movieClip 7406 {
onClipEvent (load) {
function reset() {
this._x = 330;
this._y = math.random() * 200;
enemySpeed = Math.random() * 8 + 1;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x -= enemySpeed;
if (this._x < -100) {
reset();
}
}
}
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.99;
ground = 345;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_y < ground) {
ySpeed += gravity;
} else {
if (ySpeed > gravity * 4) {
_y = ground;
ySpeed *= -bounce;
} else {
ySpeed = 0;
_y = ground;
}
}
_y = _y + ySpeed;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.kizuo.body.hitTest(this)) {
_root.gameOutcome(false);
}
}
}
}
instance enemy2 of movieClip 7408 {
onClipEvent (load) {
function reset() {
this._x = 330;
this._y = math.random() * 200;
enemySpeed = Math.random() * 8 + 1;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this._x -= enemySpeed;
if (this._x < -100) {
reset();
}
}
}
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.99;
ground = 345;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_y < ground) {
ySpeed += gravity;
} else {
if (ySpeed > gravity * 4) {
_y = ground;
ySpeed *= -bounce;
} else {
ySpeed = 0;
_y = ground;
}
}
_y = _y + ySpeed;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (_parent.kizuo.body.hitTest(this)) {
_root.gameOutcome(false);
}
}
}
}
instance ground of movieClip 7409 {
onClipEvent (load) {
if (_root.cstatus == 1) {
this._visible = false;
active = false;
}
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this.hitTest(_parent.kizuo)) {
active = true;
} else {
active = false;
}
if (active) {
xmin = (getBounds(_parent)).xMin;
xmax = (getBounds(_parent)).xMax;
ymin = (getBounds(_parent)).yMin;
ymax = (getBounds(_parent)).yMax;
pymax = (_parent.kizuo.body.getBounds(_parent)).yMax;
px = _parent.kizuo._x;
if (px < xmax and px > xmin and pymax < ymax and pymax > ymin and _parent.kizuo.grav <= 0) {
_parent.kizuo.jumping = false;
_parent.kizuo.grav = 0;
} else {
_parent.kizuo.jumping = true;
}
}
}
}
}
instance wall of movieClip 7411 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.kizuo.body.hitTest(this)) {
_parent.kizuo._x += 9;
}
}
}
instance of movieClip 7412 {
onClipEvent (enterFrame) {
this._visible = false;
if (_parent.kizuo.body.hitTest(this)) {
_parent.kizuo._x -= 9;
}
}
}
instance kizuo of movieClip 7428 {
onClipEvent (load) {
stop();
hitwallr = false;
hitwalll = false;
grav = 0;
jumping = true;
running = false;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
gotoAndStop(2);
if (!hitwallr) {
this._x += 9;
running = true;
}
} else {
if (Key.isDown(37)) {
gotoAndStop(2);
if (!hitwalll) {
this._x -= 9;
running = true;
}
} else {
running = false;
if (!jumping) {
this.gotoAndStop(1);
}
}
}
if (Key.isDown(38) and !jumping) {
if (!running) {
jumping = true;
grav = 30;
this.gotoAndStop(3);
} else {
if (Key.isDown(39) and !hitwallr) {
this.gox = 11;
jumping = true;
grav = 30;
this.gotoAndStop(3);
} else {
if (Key.isDown(37) and !hitwalll) {
this.gox = -11;
jumping = true;
grav = 30;
this.gotoAndStop(3);
}
}
}
}
if (jumping) {
this.gotoAndStop(3);
this._y -= grav;
grav -= 2;
if (!hitwallr and !hitwalll) {
}
} else {
gox = 0;
}
}
}
}
instance of movieClip 7431 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(37)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7434 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(39)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 7437 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (Key.isDown(38)) {
this.gotoAndStop(2);
}
}
}
onClipEvent (keyUp) {
if (_root.cstatus == 1) {
if (Key.getCode() == 38) {
this.gotoAndStop(1);
}
}
}
}
instance timer of movieClip 7440 {
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
if (this._currentframe == 129) {
this.stop();
}
}
}
}
}
movieClip 7445 {
}
movieClip 7447 {
}
movieClip 7448 {
frame 1 {
stop();
}
}
movieClip 7450 {
}
movieClip 7456 {
frame 1 {
stop();
}
}
movieClip 7462 {
}
movieClip 7463 {
frame 1 {
stop();
}
frame 2 {
_root.insultMC.gotoAndStop(Math.round(Math.random() * 4));
}
instance insultMC of movieClip 7456 {
onClipEvent (load) {
this.gotoAndStop(Math.round(Math.random() * 3));
}
}
}
movieClip 7466 {
}
movieClip 7467 game208 {
frame 1 {
score = 0;
_root.rules = 'Insult n00b! (space bar)';
_root.beatClock = true;
onEnterFrame = function () {
if (_root.cstatus == 1) {
}
if (pirate._currentframe == 2) {
score += 1;
if (score == 4) {
_root.gameOutcome(true);
}
}
};
}
instance of movieClip 7448 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
play();
}
}
}
instance pirate of movieClip 7463 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
play();
}
}
}
}
movieClip 7471 {
}
movieClip 7473 {
}
movieClip 7482 {
}
movieClip 7483 {
}
movieClip 7484 {
}
movieClip 7490 {
}
movieClip 7492 {
}
movieClip 7497 {
}
movieClip 7503 {
}
movieClip 7504 {
}
movieClip 7506 {
}
movieClip 7508 {
}
movieClip 7513 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 7515 {
frame 1 {
stop();
}
}
movieClip 7518 {
}
movieClip 7519 game209 {
frame 1 {
function randomNumber(l, h) {
var v1 = Math.round(Math.random() * (h - l)) + l;
return v1;
}
function addPlayer(pT, pX, pY, uK, pC) {
players.push({'name': nextDepth, 'type': pT, 'ySpeed': 0, 'xSpeed': 0, 'goingFor': 2000, 'view': 2000, 'hitNum': -1, 'useKeys': uK, 'cView': -1});
attachMovie('obj_player_' + pC, 'p_' + nextDepth, nextDepth);
_root.g['p_' + nextDepth].sumo.anim.stop();
_root.g['p_' + nextDepth]._x = pX;
_root.g['p_' + nextDepth]._y = pY;
makeProp(_root.g['p_' + nextDepth]);
++numberPlayers;
++nextDepth;
}
function killPlayer(pN) {
if (_root.g['p_' + players[pN].name]._y >= levels_info[currentLevel][4]) {
_root.g['p_' + players[pN].name].sumo.gotoAndStop(9);
} else {
removeMovieClip(_root.g['p_' + players[pN].name]);
}
players.splice(pN, 1);
--numberPlayers;
}
function makeProp(p) {
var v4 = boardMax - boardMin;
var v3 = p._y - boardMin;
var v1 = v3 * 80 / v4 + 60;
p._xscale = v1;
p._yscale = v1;
}
function getMakeView(rA) {
if (rA <= 310 && rA >= 274) {
return 8;
}
if (rA <= 275 && rA >= 262) {
return 7;
}
if (rA <= 263 && rA >= 248) {
return 6;
}
if (rA <= 247 && rA >= 129) {
return 5;
}
if (rA <= 128 && rA >= 109) {
return 4;
}
if (rA <= 108 && rA >= 91 || rA <= 449 && rA >= 438) {
return 3;
}
if (rA <= 437 && rA >= 418) {
return 2;
}
if (rA <= 417 && rA >= 309) {
return 1;
}
}
function setUpPlayers() {
var v3 = new Array(_root.g.bounds._x + 11, _root.g.bounds._x + 11, _root.g.bounds._x - 213, _root.g.bounds._x + 219);
var v4 = new Array(_root.g.bounds._y + 47, _root.g.bounds._y - 73, _root.g.bounds._y - 4, _root.g.bounds._y - 4);
var v2 = 0;
v2 = randomNumber(0, v3.length - 1);
addPlayer('player', v3[v2], v4[v2], -1, 0);
attachMovie('you_arrow', 'y_a', 202);
y_a._x = v3[v2] - 62;
y_a._y = v4[v2] - 125;
v3.splice(v2, 1);
v4.splice(v2, 1);
v2 = randomNumber(0, v3.length - 1);
addPlayer('computer', v3[v2], v4[v2], -1, 1);
v3.splice(v2, 1);
v4.splice(v2, 1);
v2 = randomNumber(0, v3.length - 1);
addPlayer('computer', v3[v2], v4[v2], -1, 2);
v3.splice(v2, 1);
v4.splice(v2, 1);
v2 = 0;
addPlayer('computer', v3[v2], v4[v2], -1, 3);
v3.splice(v2, 1);
v4.splice(v2, 1);
showCountdown();
}
function moveWorld() {
var v5 = 0;
var v2 = 0;
while (v2 < numberPlayers) {
switch (players[v2].type) {
case 'player':
if (Key.isDown(38) && !Key.isDown(40)) {
if (players[v2].ySpeed <= 0) {
players[v2].ySpeed -= 0.13;
v5 += 1;
if (players[v2].ySpeed < -maxPlayerSpeed) {
players[v2].ySpeed = -maxPlayerSpeed;
}
}
} else {
if (players[v2].ySpeed < 0) {
players[v2].ySpeed += 0.31;
if (players[v2].ySpeed > 0) {
players[v2].ySpeed = 0;
players[v2].hitNum = -1;
}
}
}
if (!Key.isDown(38) && Key.isDown(40)) {
if (players[v2].ySpeed >= 0) {
players[v2].ySpeed += 0.13;
v5 += 10;
if (players[v2].ySpeed > maxPlayerSpeed) {
players[v2].ySpeed = maxPlayerSpeed;
}
}
} else {
if (players[v2].ySpeed > 0) {
players[v2].ySpeed -= 0.31;
if (players[v2].ySpeed < 0) {
players[v2].ySpeed = 0;
players[v2].hitNum = -1;
}
}
}
if (Key.isDown(37) && !Key.isDown(39)) {
if (players[v2].xSpeed <= 0) {
players[v2].xSpeed -= 0.85;
v5 += 7;
if (players[v2].xSpeed < -maxPlayerSpeed) {
players[v2].xSpeed = -maxPlayerSpeed;
}
}
} else {
if (players[v2].xSpeed < 0) {
players[v2].xSpeed += 0.43;
if (players[v2].xSpeed > 0) {
players[v2].xSpeed = 0;
players[v2].hitNum = -1;
}
}
}
if (!Key.isDown(37) && Key.isDown(39)) {
if (players[v2].xSpeed >= 0) {
players[v2].xSpeed += 0.85;
v5 += 5;
if (players[v2].xSpeed > maxPlayerSpeed) {
players[v2].xSpeed = maxPlayerSpeed;
}
}
} else {
if (players[v2].xSpeed > 0) {
players[v2].xSpeed -= 0.43;
if (players[v2].xSpeed < 0) {
players[v2].xSpeed = 0;
players[v2].hitNum = -1;
}
}
}
break;
case 'computer':
var v6 = 0;
var v7 = 0;
var v9 = 0;
var v4 = 0;
var v8 = players[v2].goingFor;
var v10 = 0;
v6 = _root.g['p_' + players[v8].name]._x - _root.g['p_' + players[v2].name]._x;
v7 = _root.g['p_' + players[v8].name]._y - _root.g['p_' + players[v2].name]._y;
v9 = Math.atan2(v7, v6);
v4 = int(v9 * 360 / 6.283185307179586 + 90) + 180;
v10 = getMakeView(v4);
v4 = Math.atan2(v7, v6);
v4 = int(v4 * 360 / 6.283185307179586 + 90);
var v11 = Math.abs(players[v2].xSpeed) + Math.abs(players[v2].ySpeed);
Xdf = v11 * Math.sin(0.0174532925199433 * v4) / 5;
Ydf = -(v11 * Math.cos(0.0174532925199433 * v4)) / 5;
if (Xdf > 0) {
if (players[v2].xSpeed > 0) {
players[v2].xSpeed += Xdf;
if (players[v2].xSpeed > maxCompSpeed) {
players[v2].xSpeed = maxCompSpeed;
}
} else {
players[v2].xSpeed += computerSlow;
}
}
if (Ydf > 0) {
if (players[v2].ySpeed > 0) {
players[v2].ySpeed += Ydf;
if (players[v2].ySpeed > maxCompSpeed) {
players[v2].ySpeed = maxCompSpeed;
}
} else {
players[v2].ySpeed += computerSlow;
}
}
if (Xdf < 0) {
if (players[v2].xSpeed < 0) {
players[v2].xSpeed += Xdf;
if (players[v2].xSpeed < -maxCompSpeed) {
players[v2].xSpeed = -maxCompSpeed;
}
} else {
players[v2].xSpeed -= computerSlow;
}
}
if (Ydf < 0) {
if (players[v2].ySpeed < 0) {
players[v2].ySpeed += Ydf;
if (players[v2].ySpeed < -maxCompSpeed) {
players[v2].ySpeed = -maxCompSpeed;
}
} else {
players[v2].ySpeed -= computerSlow;
}
}
if (players[v2].xSpeed == 0 && v6 != 0) {
if (v6 >= 0) {
players[v2].xSpeed = 0.05;
} else {
players[v2].xSpeed = -0.05;
}
}
if (players[v2].ySpeed == 0 && v7 != 0) {
if (v7 >= 0) {
players[v2].ySpeed = 0.05;
} else {
players[v2].ySpeed = -0.05;
}
}
_root.g['p_' + players[v2].name].sumo.gotoAndStop(v10);
_root.g['p_' + players[v2].name].sumo.anim.play();
}
if (v5 != currentView) {
switch (v5) {
case 1:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(5);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 10:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(1);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 7:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(3);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 5:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(7);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 8:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(4);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 6:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(6);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 17:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(2);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 15:
_root.g['p_' + players[v2].name].sumo.gotoAndStop(8);
_root.g['p_' + players[v2].name].sumo.anim.play();
break;
case 0:
_root.g['p_' + players[v2].name].sumo.anim.stop();
}
currentView = v5;
}
_root.g['p_' + players[v2].name]._y += players[v2].ySpeed;
_root.g['p_' + players[v2].name]._x += players[v2].xSpeed;
makeProp(_root.g['p_' + players[v2].name]);
if (players[v2].ySpeed != 0 || players[v2].xSpeed != 0) {
var v16 = 0;
var v17 = 0;
var v13 = 0;
var v12 = 0;
var v15 = 0;
var v14 = 0;
var v3 = 0;
while (v3 < numberPlayers) {
if (v3 != v2) {
if (_root.g['p_' + players[v2].name].hit.hitTest(_root.g['p_' + players[v3].name].hit) && players[v2].hitNum != v3) {
tempSpeedXJ = players[v3].xSpeed;
tempSpeedYJ = players[v3].ySpeed;
tempSpeedXI = players[v2].xSpeed;
tempSpeedYI = players[v2].ySpeed;
if (players[v2].type == 'computer') {
tempSpeedXI *= 2.5;
tempSpeedYI *= 2.5;
} else {
tempSpeedXI *= 2;
tempSpeedYI *= 2;
}
if (players[v3].type == 'computer') {
tempSpeedXJ *= 2.5;
tempSpeedYJ *= 2.5;
} else {
tempSpeedXJ *= 2;
tempSpeedYJ *= 2;
}
players[v3].xSpeed += tempSpeedXI;
players[v3].ySpeed += tempSpeedYI;
players[v2].xSpeed += tempSpeedXJ;
players[v2].ySpeed += tempSpeedYJ;
players[v2].hitNum = v3;
players[v3].hitNum = v2;
}
if (_root.g['p_' + players[v2].name].hitTest(_root.g['p_' + players[v3].name])) {
if (_root.g['p_' + players[v2].name]._y > _root.g['p_' + players[v3].name]._y) {
if (_root.g['p_' + players[v2].name].getDepth() < _root.g['p_' + players[v3].name].getDepth()) {
_root.g['p_' + players[v2].name].swapDepths(_root.g['p_' + players[v3].name]);
}
} else {
if (_root.g['p_' + players[v2].name].getDepth() > _root.g['p_' + players[v3].name].getDepth()) {
_root.g['p_' + players[v2].name].swapDepths(_root.g['p_' + players[v3].name]);
}
}
}
}
++v3;
}
}
if (players[v2].type == 'computer') {
players[v2].goingFor = 0;
}
if (!_root.g.bounds.hitTest(_root.g['p_' + players[v2].name]._x, _root.g['p_' + players[v2].name]._y + 15, true)) {
if (players[v2].type == 'player') {
killPlayer(v2);
_root.gameOutcome(false);
return undefined;
}
if (players[v2].type == 'computer' && numberPlayers <= 3) {
killPlayer(v2);
_root.gameOutcome(true);
return undefined;
} else {
killPlayer(v2);
}
}
++v2;
}
}
stop();
_root.rules = 'Knock 2 Sumos off!';
_root.beatClock = true;
currentLevel = 0;
levels_info = [['mountain', 323, 145, 263, 228, 2, 0.1]];
nextDepth = 1;
boardMax = _root.g.levels_info[_root.g.currentLevel][1];
boardMin = _root.g.levels_info[_root.g.currentLevel][2];
maxPlayerSpeed = 7;
maxCompSpeed = levels_info[_root.g.currentLevel][5];
currentView = -1;
numberPlayers = 0;
ridArrow = false;
computerSlow = levels_info[_root.g.currentLevel][6];
players = new Array();
_root.g.cstatus = 1;
bounds._x = _root.g.levels_info[_root.g.currentLevel][3];
bounds._y = _root.g.levels_info[_root.g.currentLevel][4];
level_display.gotoAndStop(_root.g.currentLevel + 1);
onEnterFrame = function () {
if (_root.g.cstatus == 1) {
moveWorld();
if (!ridArrow) {
removeMovieClip(y_a);
ridArrow = true;
}
}
};
initializeGame();
setUpPlayers();
}
}
movieClip 7526 {
}
movieClip 7527 {
}
movieClip 7533 {
}
movieClip 7536 {
}
movieClip 7539 {
}
movieClip 7540 {
}
movieClip 7541 {
}
movieClip 7543 {
}
movieClip 7548 {
}
movieClip 7549 {
frame 20 {
stop();
}
}
movieClip 7550 {
}
movieClip 7553 {
}
movieClip 7556 {
}
movieClip 7557 game210 {
frame 1 {
function copterControl() {
if (Key.isDown(39)) {
dip += 2;
travel += 2;
} else {
if (Key.isDown(37)) {
dip -= 2;
travel -= 2;
}
}
copter._rotation *= 0.9;
copter._rotation += dip;
dip = 0;
copter._x += travel;
if (travel < 0) {
++travel;
} else {
if (travel > 0) {
--travel;
}
}
if (copter._x < 25) {
copter._x = 25;
}
if (copter._x > 385) {
copter._x = 385;
}
}
_root.rules = 'Save from the fire!';
_root.beatClock = true;
var dip = 0;
var lives = 100;
var travel = 0;
var acc = 0.5;
var stiff = 10;
released = 0;
copter._x = random(200) + 200;
onEnterFrame = function () {
if (_root.cstatus == 1) {
if (released == 1) {
werg._y -= stiff;
stiff -= acc;
bg._y -= 2;
copter._y += 4;
spikes._y -= 6;
if (werg.hitTest(spikes.matress)) {
released = 2;
trace('WIN');
_root.gameOutcome(true);
werg.gotoAndStop(4);
}
if (werg.hitTest(spikes.spikes)) {
released = 2;
trace('LOSE');
_root.gameOutcome(false);
werg.gotoAndStop(3);
}
}
}
if (released == 2) {
copter._y += 4;
}
if (released == 0) {
copterControl();
if (Key.isDown(40)) {
copter._y += 3;
bg._y -= 1;
spikes._y -= 3;
}
if (Key.isDown(38)) {
copter._y -= 3;
bg._y += 1;
spikes._y += 3;
}
if (Key.isDown(39)) {
copter._x += 3;
bg._x -= 0.5;
spikes._x -= 1.5;
}
if (Key.isDown(37)) {
copter._x -= 3;
bg._x += 0.5;
spikes._x += 1.5;
}
if (Key.isDown(32)) {
tag = attachMovie('mog1_bloke1', 'werg', _root.getNextHighestDepth());
tag._x = copter._x + copter.copter2._x + copter.copter2.copter3._x + copter.copter2.copter3.bloke._x - 45;
tag._y = copter._y + copter.copter2._y + copter.copter2.copter3._y + copter.copter2.copter3.bloke._y - 90;
tag._xscale = 55.9;
tag._yscale = 55.9;
tag.gotoAndPlay(2);
copter.copter2.copter3.bloke._visible = false;
released = 1;
}
}
};
}
}
movieClip 7561 {
}
movieClip 7571 {
}
movieClip 7573 {
}
movieClip 7577 {
}
movieClip 7581 {
frame 5 {
_root.gameOutcome(true);
}
frame 26 {
stop();
}
}
movieClip 7585 {
frame 7 {
_root.gameOutcome(false);
}
frame 26 {
stop();
}
}
movieClip 7586 {
frame 1 {
stop();
}
}
movieClip 7590 {
}
movieClip 7605 {
frame 11 {
stop();
}
}
movieClip 7606 {
frame 5 {
stop();
_root.g.states.gotoAndStop(2);
}
}
movieClip 7609 {
frame 5 {
stop();
}
}
movieClip 7610 {
frame 5 {
stop();
_root.g.states.gotoAndStop(3);
}
}
movieClip 7611 {
frame 26 {
stop();
}
}
movieClip 7612 {
frame 5 {
stop();
_root.g.states.gotoAndStop(3);
}
}
movieClip 7613 {
frame 5 {
stop();
_root.g.states.gotoAndStop(3);
}
}
movieClip 7614 {
frame 5 {
stop();
_root.g.states.gotoAndStop(3);
}
}
movieClip 7615 {
frame 1 {
stop();
}
}
movieClip 7618 {
frame 35 {
stop();
}
frame 48 {
stop();
}
}
movieClip 7620 {
}
movieClip 7621 {
frame 1 {
side = 'a';
}
frame 1 {
shock = 'lose2';
}
frame 10 {
side = 'a';
}
frame 10 {
shock = 'lose1';
}
frame 13 {
shock = 'lose1';
}
frame 14 {
shock = 'win';
}
frame 16 {
side = 'b';
}
frame 16 {
shock = 'win';
}
frame 17 {
shock = 'lose1';
}
frame 20 {
shock = 'lose1';
}
frame 21 {
shock = 'lose2';
}
frame 40 {
side = 'b';
}
frame 40 {
shock = 'lose1';
}
frame 43 {
shock = 'lose1';
}
frame 44 {
shock = 'win';
}
frame 45 {
side = 'a';
}
frame 46 {
shock = 'win';
}
frame 47 {
shock = 'lose1';
}
frame 50 {
shock = 'lose2';
}
}
movieClip 7624 {
}
movieClip 7625 game211 {
frame 1 {
_root.beatClock = true;
_root.rules = 'Finish off the mod!';
thrown = false;
onEnterFrame = function () {
if (Key.isDown(32) && thrown == false) {
meter.stop();
thrown = true;
arm.play();
if (meter.side == 'a') {
if (meter.shock == 'lose2') {
knives.gotoAndStop(6);
}
if (meter.shock == 'lose1') {
knives.gotoAndStop(5);
}
}
if (meter.side == 'b') {
if (meter.shock == 'lose1') {
knives.gotoAndStop(3);
}
if (meter.shock == 'lose2') {
knives.gotoAndStop(4);
}
}
if (meter.shock == 'win') {
knives.gotoAndStop(2);
}
}
};
}
}
movieClip 7642 {
frame 1 {
stop();
}
}
button 7646 {
on (release) {
onEnterFrame = function () {};
gotoAndPlay(4);
}
}
movieClip 7649 {
}
button 7650 {
on (release) {
getURL('http://www.armorgames.com', 'blank');
}
}
movieClip 7652 {
}
movieClip 7654 {
}
movieClip 7656 {
}
movieClip 7657 {
frame 81 {
_root.play();
}
}
movieClip 7658 {
}
movieClip 7661 {
}
movieClip 7662 {
}
movieClip 7663 {
}
movieClip 7664 {
}
button 7671 {
on (release) {
_parent.gotoAndPlay(675);
}
}
movieClip 7672 {
frame 27 {
stop();
}
}
movieClip 7674 {
}
movieClip 7675 {
}
movieClip 7677 {
}
movieClip 7678 {
}
movieClip 7679 {
}
movieClip 7681 {
}
movieClip 7683 {
}
movieClip 7685 {
}
movieClip 7687 {
}
movieClip 7688 {
}
movieClip 7689 {
}
frame 676 {
_quality = 'LOW';
}
frame 676 {
k = 5;
i = 0;
while (i < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = random(550);
tt._y = random(400);
tt._xscale = 100 + random(600);
tt._yscale = tt._xscale;
++i;
}
}
frame 677 {
i = 0;
while (i < 30) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = random(550);
tt._y = random(400);
tt._xscale = 100 + random(600);
tt._yscale = tt._xscale;
++i;
}
}
movieClip 7691 {
}
button 7697 {
on (release) {
_root.storyMode = 'short';
play();
}
}
movieClip 7701 {
}
button 7706 {
on (release) {
_root.goto(1);
}
}
button 7709 {
on (release) {
_root.goto(1);
}
}
button 7710 {
on (release) {
_root.globalMode = 'original';
_root.storyMode = 'short';
_root.goto(1);
}
}
button 7711 {
on (release) {
_root.globalMode = 'mouse';
_root.storyMode = 'short';
_root.goto(6);
}
}
movieClip 7712 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
button 7717 {
on (release) {
_root.storyMode = 'endurance';
play();
}
}
movieClip 7721 {
}
button 7723 {
on (release) {
_root.globalMode = 'original';
_root.storyMode = 'endurance';
_root.goto(1);
}
}
button 7724 {
on (release) {
_root.globalMode = 'mouse';
_root.storyMode = 'endurance';
_root.goto(6);
}
}
movieClip 7725 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
frame 687 {
_quality = 'HIGH';
}
button 7730 {
on (release) {
_root.storyMode = 'suddenDeath';
play();
}
}
movieClip 7734 {
}
button 7736 {
on (release) {
_root.globalMode = 'original';
_root.storyMode = 'suddenDeath';
_root.goto(1);
}
}
button 7737 {
on (release) {
_root.globalMode = 'mouse';
_root.storyMode = 'suddenDeath';
_root.goto(6);
}
}
movieClip 7738 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
button 7743 {
on (release) {
_root.storyMode = 'sandbox';
_root.globalMode = 'original';
_root.goto(4);
}
}
movieClip 7744 {
}
button 7749 {
on (release) {
getURL('http://www.armorgames.com/', '_blank');
}
}
movieClip 7750 {
}
button 7755 {
on (release) {
_root.goto(7);
}
}
movieClip 7756 {
}
movieClip 7760 {
}
frame 711 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
movieClip 7761 {
frame 5 {
stop();
}
}
button 7762 {
on (release) {
getURL('http://www.armorgames.com/', '_blank');
}
}
frame 733 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
frame 753 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
frame 773 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
frame 798 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
frame 824 {
onEnterFrame = function () {
i = 0;
while (i < 7) {
x1 = this[i]._x;
y1 = this[i]._y;
x2 = _root._xmouse;
y2 = _root._ymouse;
this[i]._xscale = 150 - Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)) * 1.5;
this[i]._yscale = this[i]._xscale;
if (this[i].hitTest(_root._xmouse, _root._ymouse)) {
j = 0;
while (j < 10) {
tt = attachMovie('circ', 'circ' + getNextHighestDepth(), getNextHighestDepth());
tt._x = this[i]._x - this[i]._width / 2 + random(this[i]._width);
tt._y = this[i]._y - this[i]._height / 2 + random(this[i]._height);
tt._xscale = random(50);
tt._yscale = tt._xscale;
tt._alpha = 19;
++j;
}
}
if (this[i]._xscale <= 100) {
this[i]._xscale = 100;
this[i]._yscale = 100;
}
++i;
}
};
}
frame 2227 {
stop();
}
movieClip 7764 {
}
movieClip 7766 {
}
movieClip 7768 {
}
movieClip 7770 {
}
movieClip 7772 {
}
movieClip 7773 {
frame 50 {
_root.initialBar();
this.removeMovieClip();
}
}
movieClip 7775 {
}
movieClip 7777 {
}
movieClip 7779 {
}
frame 2412 {
stopAllSounds();
}
frame 2413 {
_root.goto(5);
}
movieClip 7781 {
}
frame 2598 {
stopAllSounds();
}
frame 2599 {
_root.goto(5);
}
frame 2600 {
function hearts() {
if (storyMode == 'short') {
trace('short MODE');
totGames = 20;
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
lives = 7;
}
if (storyMode == 'endurance') {
trace('endurance MODE');
totGames = 50;
lives = 10;
}
if (storyMode == 'suddenDeath') {
trace('sudden death MODE');
totGames = 50;
bar.heart2._alpha = 0;
bar.heart3._alpha = 0;
bar.heart4._alpha = 0;
bar.heart5._alpha = 0;
bar.heart6._alpha = 0;
bar.heart7._alpha = 0;
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
lives = 1;
}
if (storyMode == 'sandbox') {
bar.heart1._alpha = 0;
bar.heart2._alpha = 0;
bar.heart3._alpha = 0;
bar.heart4._alpha = 0;
bar.heart5._alpha = 0;
bar.heart6._alpha = 0;
bar.heart7._alpha = 0;
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
lives = 1000000000;
}
}
function runFinal() {
cstatus = 10;
subsub.removeMovieClip();
stopAllSounds();
gotoAndStop('win');
runFine = true;
}
function initialBar() {
trace('bar initialized!!!');
if (gameMode == 'boss') {
Mouse.show();
}
bar._visible = true;
b = bar.bar._width;
bwidth = b / frameRate * timeGiven;
counter = timeGiven * frameRate;
tcounter = 100;
bar.swapDepths(barLevel);
bar.bar._x = ibx;
bar.bar._y = iby;
callRules();
bar.bar.cautionBar._alpha = 0;
bar.four.gotoAndStop(1);
bar.two.gotoAndStop(1);
bar.zero.gotoAndStop(1);
chooseGame();
callTransIn();
bar.progressBar._xscale = barActual;
}
function runningBar() {
if (tcounter <= 50) {
bar.bar.cautionBar._alpha += bwidth / 2;
}
if (tcounter == 100) {
bar.four.play();
}
if (tcounter == 65) {
bar.two.play();
}
if (tcounter == 15) {
bar.zero.play();
}
bar.bar._x -= bwidth;
--tcounter;
if (tcounter == 0 && beatClock == true) {
gameOutcome(false);
}
if (tcounter == 0 && beatClock == false) {
gameOutcome(true);
}
}
function callRules() {
rls = attachMovie('loadrules', 'l' + k, rulesLevel);
rls._x = 275;
rls._y = 125;
}
function callResponse(cr) {
if (cr == true) {
rls = attachMovie('loadResponse', 'l', k, responsesLevel);
rls._x = 275;
rls._y = 125;
responses = typeResponses[random(typeResponses.length)];
if (combo > combo4) {
w4.start();
trace('Level 4 Sound');
} else {
if (combo > combo3) {
w3.start();
trace('Level 3 Sound');
} else {
if (combo > combo2) {
w2.start();
trace('Level 2 Sound');
} else {
if (combo > combo1) {
w1.start();
trace('Level 1 Sound');
} else {
if (combo < combo1) {
trace('Level 0 Sound');
}
}
}
}
}
}
if (cr == false) {
rls = attachMovie('loadResponse', 'l', k, responsesLevel);
rls._x = 275;
rls._y = 125;
responses = typeBadResponses[random(typeBadResponses.length)];
l1.start();
}
}
function callTransIn() {
temp = random(xtransin) + 1;
trace('--Transition ' + temp + ' In-->');
g.attachMovie('Transition_' + temp, 'transrans', translevel);
}
function callTransOut() {
temp = random(xtransout) + 1;
g.attachMovie('transOut_' + temp, 't' + k + 10, translevel);
trace('--Transition ' + temp + 'Out-->');
}
function switchScreens() {
g.onEnterFrame = function () {};
g.removeMovieClip();
bar._visible = false;
Mouse.show();
if (games.length <= 0 && bbpran == false) {
gotoAndPlay(2601);
gameMode = 'boss';
bbpran = true;
trace('====Switched to Boss Mode=====');
} else {
if (bbpran == true) {
subsub._visible = true;
_root.continuedBoss = true;
trace('====Switched - Continued Boss Mode=====');
} else {
rls = attachMovie('switcher', 's' + k + 10, switcherLevel);
trace('====Switched - Regular=====');
}
}
}
function gameOutcome(gib) {
jumpX = 3;
if (cstatus == 1) {
++gamesRan;
bar.progressBar._xscale = gamesRan / tinyInc;
if (bar.progressBar._xscale > 100) {
bar.progressBar._xscale = 100;
}
if (gameMode != 'finalBoss') {
barActual += barInc;
}
trace('You have completed ' + barActual + '%');
if (gib == true) {
if (_root.gameMode == 'boss') {
coverScreen.play();
++combo;
callResponse(true);
callTransOut();
cstatus = 0;
g.removeMovieClip();
}
if (_root.gameMode == 'finalBoss') {
if (bossMode == 'final') {
_root['finalGame' + currentlyOn] = true;
trace('finalGame' + currentlyOn + ' = ' + _root['finalGame' + currentlyOn]);
}
subsub.boss.top[currentlyOn].gotoAndStop(2);
subsub.boss.bottom[currentlyOn].gotoAndStop(2);
}
if (finalGame1 == true && finalGame2 == true && finalGame3 == true && finalGame4 == true && finalGame5 == true && finalGame6 == true && finalGame7 == true && finalGame8 == true) {
trace('teethDone');
subsub.nextFrame();
finalGame1 = false;
++combo;
callResponse(true);
callTransOut();
cstatus = 0;
} else {
++combo;
callResponse(true);
callTransOut();
cstatus = 0;
}
}
if (gib == false) {
coverScreen.play();
combo = 0;
loseLife();
if (lives == 0) {
cstatus = 10;
subsub.removeMovieClip();
stopAllSounds();
runFine = true;
trace('DEAD');
_root.g.removeMovieClip();
_root.bar.removeMovieClip();
gotoAndPlay(2892);
} else {
callResponse(false);
callTransOut();
cstatus = 0;
if (gameMode == 'boss') {
g.removeMovieClip();
}
}
}
}
}
function loseLife() {
--lives;
if (_root.lives == 0 && _root.gameMode == 'boss') {
_root.cstatus = 10;
subsub.removeMovieClip();
stopAllSounds();
runFine = true;
trace('DEAD');
_root.g.removeMovieClip();
_root.bar.removeMovieClip();
_root.imaloser = true;
_root.goto(9);
}
switch (lives) {
case 0:
bar.heart.nextFrame();
break;
case 1:
bar.heart2.nextFrame();
break;
case 2:
bar.heart3.nextFrame();
break;
case 3:
bar.heart4.nextFrame();
break;
case 4:
bar.heart5.nextFrame();
break;
case 5:
bar.heart6.nextFrame();
break;
case 6:
bar.heart7.nextFrame();
break;
case 7:
bar.heart8.nextFrame();
break;
case 8:
bar.heart9.nextFrame();
break;
case 9:
bar.heart10.nextFrame();
}
}
function chooseGame() {
if (gameMode == 'boss') {
i = random(megaArray.length);
trace('------------------');
trace('Length of array: ' + megaArray.length);
trace('Array Choice: ' + i + ' (Game #' + megaArray[i] + ')');
trace('Element ' + i + ' removed...');
gameChoice = megaArray[i];
trace('Game loaded: game' + gameChoice);
attachMovie('game' + gameChoice, 'g', gameLevel);
megaArray.splice(i, 1);
trace('Elements ' + megaArray + ' left');
} else {
i = random(games.length);
trace('------------------');
trace('Length of array: ' + games.length);
trace('Array Choice: ' + i + ' (Game #' + games[i] + ')');
trace('Element ' + i + ' removed...');
gameChoice = games[i];
trace('Game loaded: game' + gameChoice);
attachMovie('game' + gameChoice, 'g', gameLevel);
games.splice(i, 1);
trace('Elements ' + games + ' left');
}
}
stop();
trace('///////////////////////////////////////////////////////////');
trace('//4 Second Firestorm //');
trace('//By jmtb02, protected by copyright and the CC license //');
trace('//For more information, visit http://www.jmtb02.com/ //');
trace('//Contact John Cooney, jmtb02@gmail.com //');
trace('///////////////////////////////////////////////////////////');
trace(' ');
trace(' ');
dicko = _root.attachMovie('bar', 'bar', 7);
dicko._x = -10;
var i = 0;
var frameRate = 30;
var timeGiven = 4;
var b;
var bwidth;
var counter;
var tcounter;
var k = 10;
var temp = 0;
var speed = 1;
var jumpX = 1;
var cstatus = 0;
var rules;
var responses;
var typeResponses = new Array('Bodacious!', 'Great!', 'Awesome!', 'Fantastic!', 'Brilliant!', 'Wicked!', 'Rockin!', 'Far Out!', ':)');
var badResponses;
var typeBadResponses = new Array('Lame...', 'Boo!!!', 'No Good!', 'Awww...', 'How sad!', 'Pshhhhh!', 'You lose!', 'You awake?', ':*(');
var gameLevel = 2;
var transLevel = 3;
var rulesLevel = 4;
var transOutLevel = 5;
var responsesLevel = 6;
var barLevel = 7;
var switcherLevel = 8;
var selecto = 0;
var imaloser = false;
var ibx = bar.bar._x;
var iby = bar.bar._y;
var beatClock;
var lives;
var totGames;
bbpran = false;
var w1 = new Sound();
w1.attachSound('good1');
var w2 = new Sound();
w2.attachSound('good2');
var w3 = new Sound();
w3.attachSound('good3');
var w4 = new Sound();
w4.attachSound('good4');
var l1 = new Sound();
l1.attachSound('bad');
var combo = 0;
var combo1 = 1;
var combo2 = 3;
var combo3 = 5;
var combo4 = 10;
var bossLife = 300;
var gameMode = '';
var runFine = false;
var totalTime = 0;
var currentlyOn = 1;
var pp = 300;
hearts();
var bottomNum = 1;
var curGame;
var curGameDisp;
if (_root.globalMode == 'original') {
trace('================ORIGINAL MODE=================');
var games = new Array(1, 2, 3, 4, 6, 9, 12, 14, 16, 17, 18, 19, 20, 21, 26, 32, 33, 34, 38, 39, 41, 42, 43, 45, 49, 54, 55, 56, 57, 58, 59, 60, 61, 63, 66, 67, 68, 69, 70, 72, 74, 78, 79, 80, 81, 82, 83, 84, 85, 88, 89, 92, 93, 101, 104, 105, 106, 115, 116, 118, 119, 120, 122, 123, 124, 125, 127, 132, 133, 134, 135, 136, 138, 139, 141, 142, 143, 146, 147, 148, 149, 150, 151, 152, 153, 156, 158, 159, 160, 162, 165, 168, 169, 170, 180, 184, 187, 190, 191, 204, 205, 206, 207, 208, 209, 210, 211);
var maxLength = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
trace(games);
}
if (_root.globalMode == 'mouse') {
trace('================MOUSE MODE=================');
var games = new Array(5, 7, 8, 10, 11, 13, 15, 31, 35, 36, 37, 40, 47, 50, 52, 53, 64, 71, 73, 77, 86, 90, 91, 94, 96, 97, 98, 99, 100, 102, 103, 107, 117, 121, 128, 131, 137, 140, 144, 154, 157, 161, 164, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 186, 188, 192, 195, 196, 197, 201, 202, 203);
var maxLength = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
}
var megaArray = new Array(5, 7, 8, 10, 11, 13, 15, 31, 35, 36, 37, 40, 47, 50, 52, 53, 64, 71, 73, 77, 86, 90, 91, 94, 96, 97, 98, 99, 100, 102, 103, 107, 117, 121, 128, 131, 137, 140, 144, 154, 157, 161, 164, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 186, 188, 192, 195, 196, 197, 201, 202, 203);
if (globalMode == 'original') {
triggerOriginal();
trace('triggering Original');
} else {
if (globalMode == 'mouse') {
triggerMouse();
trace('triggering Mouse');
}
}
var xtransin = 3;
var xtransout = 2;
var sn = 1;
text;
Array.prototype.randomize = function () {
var v2 = this.length;
if (v2 == 0) {
return undefined;
}
while (--v2) {
var v3 = Math.floor(Math.random() * (v2 + 1));
var v5 = this[v2];
var v4 = this[v3];
this[v2] = v4;
this[v3] = v5;
}
return this;
};
games.randomize();
trace(games.length + ' games total.');
trace('Popping ' + (games.length - totGames) + ' games.');
games.splice(1, games.length - totGames);
trace(games.length + ' games left.');
trace('Loading games: ' + games);
trace(' ');
trace('Begin Game----------------->');
tinyInc = games.length;
gamesRan = 0;
initialBar();
var barInc = 100 / xgames;
bar.progressBar._xscale = 0;
var barActual = 0;
onEnterFrame = function () {
if (cstatus == 1) {
runningBar();
}
if (gameMode == 'finalBoss' && runFine == false) {
_root.subsub.chump.life.bar._height = bossLife;
if (bossLife <= 0) {
runFinal();
}
}
if (runFine == false) {
++totalTime;
}
};
stop();
}
button 7788 {
on (press) {
if (_quality == 'HIGH') {
_quality = 'MEDIUM';
} else {
if (_quality == 'MEDIUM') {
_quality = 'LOW';
} else {
if (_quality == 'LOW') {
_quality = 'HIGH';
}
}
}
}
}
movieClip 7789 {
}
instance of movieClip 7789 {
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth() + 1000);
}
}
frame 2601 {
stopAllSounds();
}
movieClip 7791 {
}
movieClip 7794 {
}
movieClip 7796 {
}
movieClip 7798 {
}
movieClip 7801 {
frame 1 {
stop();
}
}
movieClip 7804 {
}
movieClip 7806 {
}
movieClip 7809 {
}
movieClip 7811 {
}
movieClip 7812 {
}
frame 2890 {
gotoAndPlay(2891);
}
frame 2891 {
gspeed = 5;
macDir = 'up';
cheers = 0;
k = 15;
Mouse.hide();
var ffg = false;
cursor.startDrag(true);
onMouseDown = function () {
if (fightMode == true) {
tt = attachMovie('troub', '56jh7', _root.k++);
tt._x = truck._x + truck.cannon._x;
tt._y = truck._y + truck.cannon._y;
tt._rotation = truck.cannon._rotation + 90;
}
};
onEnterFrame = function () {
if (cstatus == 1) {
bar.progressBar._xscale = barActual;
runningBar();
}
if (bar.progressBar._xscale < barActual) {
++bar.progressBar._xscale;
}
if (gameMode == 'finalBoss' && runFine == false) {
_root.subsub.chump.life.bar._height = bossLife;
if (bossLife <= 0) {
runFinal();
}
}
if (runFine == false) {
++totalTime;
}
if (meta.gg._xscale <= 0) {
coverScreen.stop();
coverScreen.removeMovieClip();
gotoAndPlay(2993);
}
if (fightMode == true) {
if (ffg == true) {
ffg = false;
}
sdv._x += 0.1;
++cheers;
if (cheers == 70) {
cheers = 0;
tt = attachMovie('wafer', 'werwe', _root.k++);
tt._x = machine._x + machine.head._x + machine.head.turret._x + 45;
tt._y = machine._y + machine.head._y + machine.head.turret._y + 40;
tt._rotation = machine.head.turret._rotation + 90;
}
if (macDir == 'up') {
machine._x += 3;
if (machine._x >= 600) {
macDir = 'down';
}
}
if (macDir == 'down') {
machine._x -= 3;
if (machine._x <= 400) {
macDir = 'up';
}
}
circx = _root.truck._x;
circy = _root.truck._y;
prevx = _root.machine._x + _root.machine.head._x + _root.machine.head.turret._x;
prevy = _root.machine._y + _root.machine.head._y + _root.machine.head.turret._y;
if (circx < prevx && circy < prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.machine.head.turret._rotation = degrees + 90;
} else {
if (circx < prevx && circy > prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.machine.head.turret._rotation = 90 - degrees;
} else {
if (circx > prevx && circy < prevy) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = angle * 180 / Math.PI;
_root.machine.head.turret._rotation = -(180 - degrees);
} else {
if (circx > prevx && circy > prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.machine.head.turret._rotation = -(90 - degrees);
}
}
}
}
if (Key.isDown(37)) {
truck._x -= gspeed;
if (truck._x < -30) {
truck._x = -30;
}
} else {
if (Key.isDown(39)) {
truck._x += gspeed;
if (truck._x > 220) {
truck._x = 220;
}
}
}
circx = _root.cursor._x;
circy = _root.cursor._y;
prevx = _root.truck._x + _root.truck.cannon._x;
prevy = _root.truck._y + _root.truck.cannon._y;
if (circx < prevx && circy < prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.truck.cannon._rotation = degrees + 90;
} else {
if (circx < prevx && circy > prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.truck.cannon._rotation = 90 - degrees;
} else {
if (circx > prevx && circy < prevy) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = angle * 180 / Math.PI;
_root.truck.cannon._rotation = -(180 - degrees);
} else {
if (circx > prevx && circy > prevy) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = angle * 180 / Math.PI;
_root.truck.cannon._rotation = -(90 - degrees);
}
}
}
}
}
};
stop();
}
movieClip 7815 {
}
movieClip 7819 {
}
movieClip 7822 {
}
movieClip 7823 {
}
movieClip 7825 {
}
movieClip 7827 {
}
movieClip 7828 {
frame 1 {
stop();
}
}
movieClip 7830 {
}
movieClip 7831 {
}
movieClip 7835 {
}
movieClip 7836 {
}
movieClip 7838 {
}
movieClip 7839 {
frame 1 {
stop();
_root.fightMode = true;
}
frame 2 {
_root.fightMode = 'false';
}
frame 3 {
_root.fightMode = 'false';
}
frame 4 {
_root.fightMode = 'false';
}
frame 10 {
stop();
_root.initialBar();
}
frame 11 {
_root.cursor.startDrag(true);
_root.bar._visible = false;
}
frame 12 {
_root.cursor.startDrag(true);
_root.bar._visible = false;
}
frame 13 {
_root.cursor.startDrag(true);
_root.bar._visible = false;
}
frame 20 {
_root.fightMode = true;
}
}
movieClip 7842 {
}
movieClip 7843 {
}
movieClip 7846 {
frame 60 {
this.stop();
_root.fightMode = true;
}
}
frame 2892 {
stopAllSounds();
Mouse.show();
if (_root.storyMode == 'short' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestorm', 0);
}
if (_root.storyMode == 'short' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestorm', 0);
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestormEndurance', 0);
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestormEndurance', 0);
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestormSD1', 0);
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestormSD1', 0);
}
}
movieClip 7849 {
}
frame 2946 {
_root.endTime = Math.floor(_root.totalTime / 30);
}
button 7853 {
on (release) {
if (_root.storyMode == 'short' && _root.globalMode == 'original') {
getURL('http://www.armorbot.com/mytable/?id=451', '_blank');
}
if (_root.storyMode == 'short' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=452', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'original') {
getURL('http://www.armorbot.com/mytable/?id=450', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=449', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'original') {
getURL('http://www.armorbot.com/mytable/?id=454', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=453', '_blank');
}
}
}
movieClip 7855 {
}
movieClip 7858 {
}
button 7862 {
on (release) {
gotoAndPlay(728);
}
}
frame 2992 {
stop();
}
frame 2993 {
if (_root.imaloser == true) {
gotoAndPlay(2892);
}
Mouse.show();
}
frame 2993 {
stopAllSounds();
_root.bar.removeMovieClip();
_root.g.removeMovieClip();
_root.fightMode = false;
onEnterFrame = function () {};
onMouseDown = function () {};
}
frame 3172 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
instance machine of movieClip 7812 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 3180 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3182 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3186 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3194 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3196 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3198 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3200 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3201 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3203 {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
}
frame 3204 {
onEnterFrame = function () {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
};
}
instance machine of movieClip 7812 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 3214 {
onEnterFrame = function () {
tt = attachMovie('circlecircle', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
tt = attachMovie('circlecircle2', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(machine._width) + (machine._x - machine._width / 2);
tt._y = random(machine._height) + (machine._y - machine._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
};
}
frame 3242 {
onEnterFrame = function () {};
i = 0;
while (i < 15) {
tt = attachMovie('circlecircle2', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(head._width) + (head._x - head._width / 2);
tt._y = random(head._height) + (head._y - head._height / 2);
tt._xscale = 100 + random(500);
tt._yscale = tt._xscale;
++i;
}
i = 0;
while (i < 15) {
tt = attachMovie('circlecircle3', 'c' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
tt._x = random(head._width) + (head._x - head._width / 2);
tt._y = random(head._height) + (head._y - head._height / 2);
tt._xscale = 100 + random(300);
tt._yscale = tt._xscale;
tt._rotation = random(180);
++i;
}
}
movieClip 7874 {
}
movieClip 7876 {
}
movieClip 7877 {
}
frame 3372 {
if (_root.storyMode == 'short' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestorm', 1);
}
if (_root.storyMode == 'short' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestorm', 1);
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestormEndurance', 1);
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestormEndurance', 1);
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'original') {
_root.kongregateStats.submit('beatFirestormSD1', 1);
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'mouse') {
_root.kongregateStats.submit('beatFirestormSD1', 1);
}
}
movieClip 7879 {
}
frame 3634 {
_root.endTime = Math.floor(_root.totalTime / 30);
}
frame 3634 {
_root.endTime = Math.floor(_root.totalTime / 30);
}
movieClip 7881 {
}
movieClip 7882 {
frame 1000 {
stop();
}
}
button 7885 {
on (release) {
if (_root.storyMode == 'short' && _root.globalMode == 'original') {
ab20_09 = new LoadVars();
ab20_09.z = mynamevar;
ab20_09.x = ab20.encodeNum(myscorevar);
ab20_09.c = 451;
ab20_09.v = 'RGPCHI';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=451', '_blank');
}
if (_root.storyMode == 'short' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=452', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'original') {
getURL('http://www.armorbot.com/mytable/?id=450', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=449', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'original') {
getURL('http://www.armorbot.com/mytable/?id=454', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'mouse') {
getURL('http://www.armorbot.com/mytable/?id=453', '_blank');
}
}
}
movieClip 7888 {
}
movieClip 7890 {
}
button 7891 {
on (release) {
stopAllSounds();
gotoAndPlay(728);
}
}
button 7892 {
on (release) {
if (_root.storyMode == 'short' && _root.globalMode == 'original') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 451;
ab20_09.v = 'RGPCHI';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=451', '_blank');
}
if (_root.storyMode == 'short' && _root.globalMode == 'mouse') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 452;
ab20_09.v = 'AXVBHS';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=452', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'original') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 450;
ab20_09.v = 'NKAMYW';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=450', '_blank');
}
if (_root.storyMode == 'endurance' && _root.globalMode == 'mouse') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 449;
ab20_09.v = 'PCIPMN';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=449', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'original') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 454;
ab20_09.v = 'EQTJFQ';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=454', '_blank');
}
if (_root.storyMode == 'suddenDeath' && _root.globalMode == 'mouse') {
ab20_09 = new LoadVars();
ab20_09.z = _root.myName;
ab20_09.x = ab20.encodeNum(_root.endTime);
ab20_09.c = 453;
ab20_09.v = 'VGWFIV';
ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST');
getURL('http://www.armorbot.com/mytable/?id=453', '_blank');
}
_root.thisButton._x = 500000;
}
}
frame 5208 {
stop();
}
frame 5210 {
function hearts() {
if (storyMode == 'short') {
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
var v1 = 7;
}
if (storyMode == 'endurance') {
v1 = 10;
}
if (storyMode == 'suddenDeath') {
bar.heart2._alpha = 0;
bar.heart3._alpha = 0;
bar.heart4._alpha = 0;
bar.heart5._alpha = 0;
bar.heart6._alpha = 0;
bar.heart7._alpha = 0;
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
v1 = 1;
}
if (storyMode == 'sandbox') {
bar.heart1._alpha = 0;
bar.heart2._alpha = 0;
bar.heart3._alpha = 0;
bar.heart4._alpha = 0;
bar.heart5._alpha = 0;
bar.heart6._alpha = 0;
bar.heart7._alpha = 0;
bar.heart8._alpha = 0;
bar.heart9._alpha = 0;
bar.heart10._alpha = 0;
v1 = 1000000000;
}
}
function callOriginal() {
trace('================ORIGINAL MODE=================');
var v1 = 1;
games = Array(1, 2, 3, 4, 6, 9, 12, 14, 16, 17, 18, 19, 20, 21, 26, 32, 33, 34, 38, 39, 41, 42, 43, 45, 49, 54, 55, 56, 57, 58, 59, 60, 61, 63, 66, 67, 68, 69, 70, 72, 74, 78, 79, 80, 81, 82, 83, 84, 85, 88, 89, 92, 93, 101, 104, 105, 106, 115, 116, 118, 119, 120, 122, 123, 124, 125, 127, 132, 133, 134, 135, 136, 138, 139, 141, 142, 143, 146, 147, 148, 149, 150, 151, 152, 153, 156, 158, 159, 160, 161, 162, 165, 168, 169, 170, 180, 184, 187, 190, 191, 204, 205, 206, 207, 208, 209, 210, 211);
var v2 = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
trace(games);
}
function callMouse() {
trace('================MOUSE MODE=================');
var v1 = 1;
games = Array(5, 7, 8, 10, 11, 13, 15, 31, 35, 36, 37, 40, 47, 50, 52, 53, 64, 71, 73, 77, 86, 90, 91, 94, 96, 97, 98, 99, 100, 102, 103, 107, 117, 121, 128, 131, 137, 140, 144, 154, 157, 161, 164, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 186, 188, 192, 195, 196, 197, 201, 202, 203);
var v2 = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
}
function runFinal() {
cstatus = 10;
subsub.removeMovieClip();
stopAllSounds();
gotoAndStop('win');
runFine = true;
}
function initialBar() {
bar._visible = true;
b = bar.bar._width;
bwidth = b / frameRate * timeGiven;
counter = timeGiven * frameRate;
tcounter = 100;
bar.swapDepths(barLevel);
bar.bar._x = ibx;
bar.bar._y = iby;
callRules();
bar.bar.cautionBar._alpha = 0;
bar.four.gotoAndStop(1);
bar.two.gotoAndStop(1);
bar.zero.gotoAndStop(1);
chooseGame();
callTransIn();
bar.progressBar._xscale = barActual;
}
function runningBar() {
if (tcounter <= 50) {
bar.bar.cautionBar._alpha += bwidth / 2;
}
if (tcounter == 100) {
bar.four.play();
}
if (tcounter == 65) {
bar.two.play();
}
if (tcounter == 15) {
bar.zero.play();
}
bar.bar._x -= bwidth;
--tcounter;
if (tcounter == 0 && beatClock == true) {
gameOutcome(false);
}
if (tcounter == 0 && beatClock == false) {
gameOutcome(true);
}
}
function callRules() {
rls = attachMovie('loadrules', 'l' + k, rulesLevel);
rls._x = 275;
rls._y = 125;
}
function callResponse(cr) {
if (cr == true) {
rls = attachMovie('loadResponse', 'l', k, responsesLevel);
rls._x = 275;
rls._y = 125;
responses = typeResponses[random(typeResponses.length)];
if (combo > combo4) {
w4.start();
trace('Level 4 Sound');
} else {
if (combo > combo3) {
w3.start();
trace('Level 3 Sound');
} else {
if (combo > combo2) {
w2.start();
trace('Level 2 Sound');
} else {
if (combo > combo1) {
w1.start();
trace('Level 1 Sound');
} else {
if (combo < combo1) {
trace('Level 0 Sound');
}
}
}
}
}
}
if (cr == false) {
rls = attachMovie('loadResponse', 'l', k, responsesLevel);
rls._x = 275;
rls._y = 125;
responses = typeBadResponses[random(typeBadResponses.length)];
l1.start();
}
}
function callTransIn() {
temp = random(xtransin) + 1;
trace('--Transition ' + temp + ' In-->');
g.attachMovie('Transition_' + temp, 'transrans', translevel);
}
function callTransOut() {
temp = random(xtransout) + 1;
g.attachMovie('transOut_' + temp, 'transrans', translevel);
trace('--Transition ' + temp + 'Out-->');
}
function switchScreens() {
g.removeMovieClip();
bar._visible = false;
Mouse.show();
if (games.length <= 0 && bbpran == false) {
rls = attachMovie('finalswitcher', 'subsub', switcherLevel);
gameMode = 'finalBoss';
bbpran = true;
trace('====Switched to Boss Mode=====');
} else {
if (bbpran == true) {
subsub._visible = true;
_root.continuedBoss = true;
trace('====Switched - Continued Boss Mode=====');
} else {
rls = attachMovie('switcher', 'ssss', switcherLevel);
trace('====Switched - Regular=====');
}
}
}
function gameOutcome(gib) {
jumpX = 3;
if (cstatus == 1) {
if (gameMode != 'finalBoss') {
barActual += barInc;
}
trace('You have completed ' + barActual + '%');
if (gib == true) {
if (_root.gameMode == 'finalBoss') {
if (bossMode == 'final') {
_root['finalGame' + currentlyOn] = true;
trace('finalGame' + currentlyOn + ' = ' + _root['finalGame' + currentlyOn]);
}
subsub.boss.top[currentlyOn].gotoAndStop(2);
subsub.boss.bottom[currentlyOn].gotoAndStop(2);
}
if (finalGame1 == true && finalGame2 == true && finalGame3 == true && finalGame4 == true && finalGame5 == true && finalGame6 == true && finalGame7 == true && finalGame8 == true) {
trace('teethDone');
subsub.nextFrame();
finalGame1 = false;
++combo;
callResponse(true);
callTransOut();
cstatus = 0;
} else {
++combo;
callResponse(true);
callTransOut();
cstatus = 0;
}
}
if (gib == false) {
combo = 0;
loseLife();
if (lives == 0) {
cstatus = 10;
subsub.removeMovieClip();
stopAllSounds();
runFine = true;
trace('DEAD');
_root.g.removeMovieClip();
_root.bar.removeMovieClip();
gotoAndStop('died');
} else {
callResponse(false);
callTransOut();
cstatus = 0;
}
}
}
}
function loseLife() {
--lives;
switch (lives) {
case 0:
bar.heart.nextFrame();
break;
case 1:
bar.heart2.nextFrame();
break;
case 2:
bar.heart3.nextFrame();
break;
case 3:
bar.heart4.nextFrame();
break;
case 4:
bar.heart5.nextFrame();
break;
case 5:
bar.heart6.nextFrame();
break;
case 6:
bar.heart7.nextFrame();
break;
case 7:
bar.heart8.nextFrame();
break;
case 8:
bar.heart9.nextFrame();
break;
case 9:
bar.heart10.nextFrame();
}
}
function chooseGame() {
if (gameMode == 'finalBoss') {
attachMovie('game' + (random(totGames) + 1), 'g', gameLevel);
} else {
i = random(games.length);
attachMovie('game' + games[curGame], 'g', gameLevel);
}
}
function increment() {
++_root.curGame;
if (_root.curGame >= _root.games.length) {
_root.curGame = 0;
}
_root.curGameDisp = _root.games[_root.curGame];
}
function decrement() {
--_root.curGame;
if (_root.curGame < 0) {
_root.curGame = _root.games.length - 1;
}
_root.curGameDisp = _root.games[_root.curGame];
}
stop();
trace('///////////////////////////////////////////////////////////');
trace('//4 Second Firestorm //');
trace('//By jmtb02, protected by copyright and the CC license //');
trace('//For more information, visit http://www.jmtb02.com/ //');
trace('//Contact John Cooney, jmtb02@gmail.com //');
trace('///////////////////////////////////////////////////////////');
trace(' ');
trace(' ');
dicko = _root.attachMovie('bar', 'bar', 7);
dicko._x = -10;
var i = 0;
var frameRate = 30;
var timeGiven = 4;
var b;
var bwidth;
var counter;
var tcounter;
var k = 10;
var temp = 0;
var speed = 1;
var storyMode;
var jumpX = 1;
var cstatus = 0;
var rules;
var responses;
var typeResponses = new Array('Bodacious!', 'Great!', 'Awesome!', 'Fantastic!', 'Brilliant!', 'Wicked!', 'Rockin!', 'Far Out!', ':)');
var badResponses;
var typeBadResponses = new Array('Lame...', 'Boo!!!', 'No Good!', 'Awww...', 'How sad!', 'Pshhhhh!', 'You lose!', 'You awake?', ':*(');
var gameLevel = 2;
var transLevel = 3;
var rulesLevel = 4;
var transOutLevel = 5;
var responsesLevel = 6;
var barLevel = 7;
var switcherLevel = 8;
var selecto = 0;
var ibx = bar.bar._x;
var iby = bar.bar._y;
var beatClock;
bbpran = false;
var w1 = new Sound();
w1.attachSound('good1');
var w2 = new Sound();
w2.attachSound('good2');
var w3 = new Sound();
w3.attachSound('good3');
var w4 = new Sound();
w4.attachSound('good4');
var l1 = new Sound();
l1.attachSound('bad');
var combo = 0;
var combo1 = 1;
var combo2 = 3;
var combo3 = 5;
var combo4 = 10;
var bossLife = 300;
var gameMode = '';
var runFine = false;
var totalTime = 0;
var currentlyOn = 1;
var pp = 300;
var bottomNum = 1;
var curGame;
var curGameDisp;
if (_root.globalMode == 'original') {
trace('================ORIGINAL MODE=================');
var totGames = 1;
var games = new Array(1, 2, 3, 4, 6, 9, 12, 14, 16, 17, 18, 19, 20, 21, 26, 32, 33, 34, 38, 39, 41, 42, 43, 45, 49, 54, 55, 56, 57, 58, 59, 60, 61, 63, 66, 67, 68, 69, 70, 72, 74, 78, 79, 80, 81, 82, 83, 84, 85, 88, 89, 92, 93, 101, 104, 105, 106, 115, 116, 118, 119, 120, 122, 123, 124, 125, 127, 132, 133, 134, 135, 136, 138, 139, 141, 142, 143, 146, 147, 148, 149, 150, 151, 152, 153, 156, 158, 159, 160, 162, 165, 168, 169, 170, 180, 184, 187, 190, 191, 204, 205, 206, 207, 208, 209, 210, 211);
var maxLength = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
trace(games);
}
if (_root.globalMode == 'mouse') {
trace('================MOUSE MODE=================');
var totGames = 1;
var games = new Array(5, 7, 8, 10, 11, 13, 15, 31, 35, 36, 37, 40, 47, 50, 52, 53, 64, 71, 73, 77, 86, 90, 91, 94, 96, 97, 98, 99, 100, 102, 103, 107, 117, 121, 128, 131, 137, 140, 144, 154, 157, 161, 164, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 186, 188, 192, 195, 196, 197, 201, 202, 203);
var maxLength = games.length - 1;
curGame = 0;
curGameDisp = games[curGame];
}
var xtransin = 3;
var xtransout = 2;
var sn = 1;
text;
Array.prototype.randomize = function () {
var v2 = this.length;
if (v2 == 0) {
return undefined;
}
while (--v2) {
var v3 = Math.floor(Math.random() * (v2 + 1));
var v5 = this[v2];
var v4 = this[v3];
this[v2] = v4;
this[v3] = v5;
}
return this;
};
trace(games);
trace('Loading games: ' + games);
trace(' ');
trace('Begin Game----------------->');
initialBar();
var barInc = 100 / xgames;
bar.progressBar._xscale = 0;
var barActual = 0;
onEnterFrame = function () {
if (cstatus == 1) {
bar.progressBar._xscale = barActual;
runningBar();
hearts();
}
if (bar.progressBar._xscale < barActual) {
++bar.progressBar._xscale;
}
if (gameMode == 'finalBoss' && runFine == false) {
_root.subsub.chump.life.bar._height = bossLife;
if (bossLife <= 0) {
runFinal();
}
}
if (runFine == false) {
++totalTime;
}
};
stop();
}
instance of movieClip 7789 {
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth() + 1000);
}
}
button 7899 {
on (release) {
_root.callOriginal();
_root.ddhigh = 211;
_root.ddlow = 1;
}
}
button 7903 {
on (release) {
_root.callMouse();
_root.ddhigh = 203;
_root.ddlow = 5;
}
}
button 7906 {
on (release) {
_root.decrement();
}
}
button 7907 {
on (release) {
_root.increment();
}
}
button 7911 {
on (release) {
stopAllSounds();
_root.cstatus = 0;
_root.g.removeMovieClip();
_root.ssss.removeMovieClip();
_root.transrans.removeMovieClip();
_root.bar.removeMovieClip();
_root.subsub.removeMovieClip();
_root.goto(8);
_root.helpy._visible = false;
}
}
movieClip 7912 {
frame 1 {
_root.ddhigh = 211;
_root.ddlow = 1;
}
}
instance helpy of movieClip 7912 {
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
}
frame 5212 {
stop();
}
frame 5212 {
onEnterFrame = function () {
Mouse.show();
};
}
movieClip 7917 {
}
button 7918 {
on (release) {
nextFrame();
}
}
movieClip 7920 {
}
button 7922 {
on (release) {
gotoAndPlay(723);
onEnterFrame = function () {};
}
}
movieClip 7924 {
}
movieClip 7930 {
}
movieClip 7933 {
}
button 7934 {
on (release) {
_root.getURL('http://www.jmtb02.com/', '_blank');
}
}
button 7939 {
on (release) {
prevFrame();
}
}
button 7942 {
on (release) {
_root.getURL('http://www.newgrounds.com/audio/view.php?id=525830', '_blank');
}
}
button 7949 {
on (release) {
_root.getURL('http://www.wonchop.net/', '_blank');
}
}
button 7955 {
on (release) {
_root.getURL('http://re2deemer.deviantart.com/', '_blank');
}
}
button 7959 {
on (release) {
_root.getURL('http://rageace.jconserv.net/index.php', '_blank');
}
}
button 7963 {
on (release) {
_root.getURL('http://www.glaielgames.com', '_blank');
}
}
button 7968 {
on (release) {
_root.getURL('http://www.breakthechair.com', '_blank');
}
}
button 7981 {
on (release) {
_root.getURL('http://www.dingoeatingfuzz.com', '_blank');
}
}
button 7986 {
on (release) {
_root.getURL('http://www.freewebs.com/rakoslabs', '_blank');
}
}
button 7991 {
on (release) {
_root.getURL('http://www.tastylamp.tehelite.org/', '_blank');
}
}
button 7996 {
on (release) {
_root.getURL('http://floobieflash.43i.net/', '_blank');
}
}
button 8001 {
on (release) {
_root.getURL('http://www.eyefusionproductions.com', '_blank');
}
}
button 8007 {
on (release) {
_root.getURL('http://www.doodle-flash.co.uk', '_blank');
}
}
button 8014 {
on (release) {
_root.getURL('http://chumba1.sheezyart.com', '_blank');
}
}
button 8019 {
on (release) {
_root.getURL('http://ciph3rzer0.blogspot.com/', '_blank');
}
}
button 8030 {
on (release) {
_root.getURL('http://www.c404.net/', '_blank');
}
}
button 8035 {
on (release) {
_root.getURL('http://www.topaz-games.com/', '_blank');
}
}
button 8042 {
on (release) {
_root.getURL('http://maxto.bdsflash.com/', '_blank');
}
}
button 8050 {
on (release) {
_root.getURL('http://www.geocities.com/bradnstuff/', '_blank');
}
}
button 8054 {
on (release) {
_root.getURL('http://www.moglytom.com', '_blank');
}
}
button 8057 {
on (release) {
_root.getURL('http://www.zmarzian.com', '_blank');
}
}
button 8061 {
on (release) {
_root.getURL('http://www.jmtb02.com', '_blank');
}
}
button 8067 {
on (release) {
_root.getURL('http://www.rtsanimation.com', '_blank');
}
}
button 8071 {
on (release) {
_root.getURL('http://www.calyptica.com', '_blank');
}
}
button 8075 {
on (release) {
_root.getURL('http://www.sonic-cult.org', '_blank');
}
}
button 8082 {
on (release) {
_root.getURL('http://www.freewebs.com/donumaster', '_blank');
}
}
button 8086 {
on (release) {
_root.getURL('http://www.orangefoxgames.com', '_blank');
}
}
button 8093 {
on (release) {
_root.getURL('http://www.brainwashstudios.com', '_blank');
}
}
button 8099 {
on (release) {
_root.getURL('http://www.aciddica.com', '_blank');
}
}
button 8103 {
on (release) {
_root.getURL('http://www.bdsflash.com', '_blank');
}
}
button 8107 {
on (release) {
_root.getURL('http://www.ra-entertainment.com', '_blank');
}
}
button 8111 {
on (release) {
_root.getURL('http://www.bomtoons.com', '_blank');
}
}
button 8123 {
on (release) {
_root.getURL('http://www.skinthecow.tk', '_blank');
}
}
button 8127 {
on (release) {
_root.getURL('http://www.davidzhut.co.nr', '_blank');
}
}