[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (42.87 KiB) ● ● ● ●
movieClip 2 {
}
movieClip 4 done {
frame 15 {
this.unloadMovie();
stop();
}
}
movieClip 6 {
}
movieClip 8 dead {
#initclip
Object.registerClass('dead', dead);
#endinitclip
frame 19 {
_root.gotoAndStop('game_over');
}
frame 20 {
stop();
this.unloadMovie();
}
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 13 box_6 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 16 {
}
movieClip 25 {
}
movieClip 27 box2 {
#initclip
Object.registerClass('box2', box2);
#endinitclip
frame 1 {
stop();
}
frame 18 {
this.unloadMovie();
stop();
}
}
movieClip 29 {
}
movieClip 30 {
instance of movieClip 29 {
onClipEvent (enterFrame) {
this._rotation += 30;
}
}
}
movieClip 36 {
}
movieClip 37 jump {
#initclip
Object.registerClass('jump', jump);
#endinitclip
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 39 obstacles {
#initclip
Object.registerClass('obstacles', obstacles);
#endinitclip
}
movieClip 41 door {
#initclip
Object.registerClass('door', door);
#endinitclip
}
movieClip 50 {
}
movieClip 55 {
frame 7 {
stop();
}
}
movieClip 56 character {
#initclip
Object.registerClass('character', character);
#endinitclip
}
movieClip 58 tint {
#initclip
Object.registerClass('tint', tint);
#endinitclip
}
movieClip 60 {
}
movieClip 62 box {
#initclip
Object.registerClass('box', box);
#endinitclip
frame 1 {
stop();
}
frame 10 {
this.removeMovieClip();
}
frame 11 {
this.unloadMovie();
stop();
}
}
movieClip 64 obstacles2 {
#initclip
Object.registerClass('obstacles2', obstacles2);
#endinitclip
}
frame 1 {
function itemHandler1(obj, item) {
getURL('http://www.maxgames.com', '');
}
function itemHandler2(obj, item) {
getURL('http://www.maxgames.com', '');
}
function itemHandler3(obj, item) {
getURL('http://www.spoonybrad.newgrounds.com', '');
}
stop();
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem('MaxGames.com', itemHandler1);
item2 = new ContextMenuItem('Progamming & Graphics: Sandeep Saha', itemHandler2);
item3 = new ContextMenuItem('Music: Spoony Brad', itemHandler3);
myMenu.customItems.push(item1);
myMenu.customItems.push(item2);
myMenu.customItems.push(item3);
_root.menu = myMenu;
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 77 {
}
// unknown tag 88 length 127
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 87 {
}
movieClip 91 {
}
// unknown tag 88 length 68
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
}
movieClip 103 {
}
movieClip 106 {
}
button 108 {
on (release) {
getURL('http://www.maxgames.com/', '_blank');
}
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
// unknown tag 88 length 69
button 119 {
on (press) {
_root.play();
}
}
movieClip 120 {
frame 1 {
function loading() {
if (_root.getBytesLoaded() / _root.getBytesTotal() >= 1) {
play();
loadLeft.text = '0';
loadBar.scaleX = 1;
delete this.onEnterFrame;
loadLeft.text = '0';
loadBar._xscale = 100;
} else {
loadBar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
loadLeft.text = String(Math.ceil((_root.getBytesTotal() - _root.getBytesLoaded()) / 100000) / 10);
}
}
_root.stop();
stop();
this.onEnterFrame = loading;
}
frame 40 {
stop();
}
}
movieClip 327 __Packages.box2 {
#initclip
if (!_global.box2) {
var v1 = function () {
super();
};
_global.box2 = v1;
_global.box2 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this.hitTest(_root.char)) {
this.gotoAndPlay(2);
}
};
v2.onLoad = function () {
this.cacheAsBitmap = true;
};
ASSetPropFlags(_global.box2.prototype, null, 1);
}
#endinitclip
}
movieClip 328 __Packages.jump {
#initclip
if (!_global.jump) {
var v1 = function () {
super();
};
_global.jump = v1;
_global.jump extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.char.gotoAndStop(2);
_root.char.grav = -_root.char.jumpHeight * 1.15;
_root.char._y -= 1;
}
};
ASSetPropFlags(_global.jump.prototype, null, 1);
}
#endinitclip
}
movieClip 329 __Packages.obstacles {
#initclip
if (!_global.obstacles) {
var v1 = function () {
super();
};
_global.obstacles = v1;
_global.obstacles extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this.hitTest(_root.char)) {
var v3 = _root.attachMovie('dead', 'dead' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = _root.char._x;
v3._y = _root.char._y;
_root.char.unloadMovie();
if (_root.speed.multi > 1) {
}
}
};
v2.onLoad = function () {};
ASSetPropFlags(_global.obstacles.prototype, null, 1);
}
#endinitclip
}
movieClip 330 __Packages.door {
#initclip
if (!_global.door) {
var v1 = function () {
super();
};
_global.door = v1;
_global.door extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {};
v2.onEnterFrame = function () {
if (this.hitTest(_root.char)) {
this.unloadMovie();
var v3 = _root.attachMovie('done', 'done' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = _root.char._x;
v3._y = _root.char._y;
_root.nextFrame();
}
};
ASSetPropFlags(_global.door.prototype, null, 1);
}
#endinitclip
}
movieClip 331 __Packages.character {
#initclip
if (!_global.character) {
var v1 = function () {
super();
};
_global.character = v1;
_global.character extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.a = 3;
this.b = 0;
this.grav = 0;
this.speed = 2.25;
this.jumpHeight = 7.15;
this.slow = 0.7;
this.slowspd = this.speed * 0.125;
this.setspeed = this.speed;
this.scale = this._xscale;
this.ex = 1;
this.gotoAndStop(2);
};
v2.onEnterFrame = function () {
if (Key.isDown(82)) {
_root.gotoAndStop('game_over');
}
if (this._y > 850 || this._y < -50 || this._x > 850 || this._x < -50) {
_root.gotoAndStop('game_over');
}
if (this.hitTest(_root.ball_mc) && _root.yes == true || Key.isDown(32)) {
if (this.a == 3) {
this.a = 0;
}
}
this.grav += 0.4;
this._y += this.grav / 1.5;
while (_root.ground.hitTest(this._x, this._y, true)) {
--this._y;
this.grav = 0;
}
while (_root.ground2.hitTest(this._x, this._y, true)) {
--this._y;
this.grav = 0;
}
if (_root.water.hitTest(this._x, this._y, true)) {
if (this.grav > 0) {
this.grav *= this.slow;
}
this.speed = this.slowspd;
} else {
this.speed = this.setspeed;
}
if (this.a == 0) {
this._x += this.speed;
this._xscale = this.scale;
if (_root.ground.hitTest(this._x, this._y + 3, true) || _root.ground2.hitTest(this._x, this._y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (this.a == 1) {
this._x -= this.speed;
this._xscale = -this.scale;
if (_root.ground.hitTest(this._x, this._y + 3, true) || _root.ground2.hitTest(this._x, this._y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (this.a == 3) {
this.gotoAndStop(3);
}
}
}
if (_root.ground.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height / 2, true) || _root.ground.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height / 6, true) || _root.ground.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height, true) || _root.ground2.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height / 2, true) || _root.ground2.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height / 6, true) || _root.ground2.hitTest(this._x + this._width / 2 + this.ex, this._y - this._height, true)) {
this.a = 1;
}
if (_root.ground.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height / 2, true) || _root.ground.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height / 6, true) || _root.ground.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height, true) || _root.ground2.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height / 2, true) || _root.ground2.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height / 6, true) || _root.ground2.hitTest(this._x - this._width / 2 - this.ex, this._y - this._height, true)) {
this.a = 0;
}
if (_root.ground.hitTest(this._x, this._y - this._height - 15, true) || _root.ground2.hitTest(this._x, this._y - this._height - 15, true)) {
this.grav = 0.5;
}
};
ASSetPropFlags(_global.character.prototype, null, 1);
}
#endinitclip
}
movieClip 332 __Packages.tint {
#initclip
if (!_global.tint) {
var v1 = function () {
super();
};
_global.tint = v1;
_global.tint extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.myColor = Math.round(Math.random() * 16777215);
this.myColoredObject = new Color(this);
this.myColoredObject.setRGB(this.myColor);
this._alpha = 30;
};
v2.onEnterFrame = function () {
this.cacheAsBitmap = true;
};
ASSetPropFlags(_global.tint.prototype, null, 1);
}
#endinitclip
}
movieClip 333 __Packages.box {
#initclip
if (!_global.box) {
var v1 = function () {
super();
};
_global.box = v1;
_global.box extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this.hitTest(_root.ball_mc) && _root.yes == true) {
this.gotoAndPlay(2);
}
};
v2.onLoad = function () {
this.cacheAsBitmap = true;
};
ASSetPropFlags(_global.box.prototype, null, 1);
}
#endinitclip
}
movieClip 334 __Packages.obstacles2 {
#initclip
if (!_global.obstacles2) {
var v1 = function () {
super();
};
_global.obstacles2 = v1;
_global.obstacles2 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this.hitTest(_root.char)) {
var v3 = _root.attachMovie('dead', 'dead' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = _root.char._x;
v3._y = _root.char._y;
_root.char.unloadMovie();
if (_root.speed.multi > 1) {
}
}
};
v2.onLoad = function () {};
ASSetPropFlags(_global.obstacles2.prototype, null, 1);
}
#endinitclip
}
movieClip 335 __Packages.dead {
#initclip
if (!_global.dead) {
var v1 = function () {
super();
};
_global.dead = v1;
_global.dead extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {};
v2.onEnterFrame = function () {
if (this._currentframe == this._totalframes) {
}
};
ASSetPropFlags(_global.dead.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
}
movieClip 140 {
}
movieClip 141 {
}
movieClip 142 {
}
movieClip 143 {
}
movieClip 144 {
frame 186 {
stop();
}
}
movieClip 146 {
}
movieClip 147 {
}
movieClip 148 {
}
movieClip 149 {
}
movieClip 150 {
}
movieClip 151 {
}
movieClip 154 {
frame 1 {
_root.stop();
}
frame 192 {
_root.play();
}
}
movieClip 156 {
}
movieClip 157 {
frame 421 {
stop();
}
}
frame 3 {
stop();
}
movieClip 158 {
}
movieClip 159 {
}
// unknown tag 88 length 120
movieClip 163 {
}
instance of movieClip 163 {
onClipEvent (release) {
var savefile = SharedObject.getLocal('prototype');
if (savefile.data.level == undefined) {
_root.level = 1;
gotoAndStop('intro');
} else {
if (savefile.data.level == 1) {
_root.gotoAndStop('level1');
} else {
if (savefile.data.level == 2) {
_root.gotoAndStop('level2');
} else {
if (savefile.data.level == 3) {
_root.gotoAndStop('level3');
} else {
if (savefile.data.level == 4) {
_root.gotoAndStop('level4');
} else {
if (savefile.data.level == 5) {
_root.gotoAndStop('level5');
} else {
if (savefile.data.level == 6) {
_root.gotoAndStop('level6');
} else {
if (savefile.data.level == 7) {
_root.gotoAndStop('level7');
} else {
if (savefile.data.level == 8) {
_root.gotoAndStop('level8');
} else {
if (savefile.data.level == 9) {
_root.gotoAndStop('level9');
} else {
if (savefile.data.level == 10) {
_root.gotoAndStop('level10');
} else {
if (savefile.data.level == 11) {
_root.gotoAndStop('level11');
} else {
if (savefile.data.level == 12) {
_root.gotoAndStop('level12');
} else {
if (savefile.data.level == 13) {
_root.gotoAndStop('level13');
} else {
if (savefile.data.level == 14) {
_root.gotoAndStop('level14');
} else {
if (savefile.data.level == 15) {
_root.gotoAndStop('level15');
} else {
if (savefile.data.level == 16) {
_root.gotoAndStop('level16');
} else {
if (savefile.data.level == 17) {
_root.gotoAndStop('level17');
} else {
if (savefile.data.level == 18) {
_root.gotoAndStop('level18');
} else {
if (savefile.data.level == 19) {
_root.gotoAndStop('level19');
} else {
if (savefile.data.level == 20) {
_root.gotoAndStop('level20');
} else {
if (savefile.data.level == 21) {
_root.gotoAndStop('level21');
} else {
if (savefile.data.level == 22) {
_root.gotoAndStop('level22');
} else {
if (savefile.data.level == 23) {
_root.gotoAndStop('level23');
} else {
if (savefile.data.level == 24) {
_root.gotoAndStop('level24');
} else {
if (savefile.data.level == 36) {
_root.gotoAndStop('intro');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 166 {
}
instance of movieClip 166 {
onClipEvent (release) {
_root.nextFrame();
}
}
movieClip 169 {
}
instance of movieClip 169 {
onClipEvent (release) {
_root.gotoAndStop('credits');
}
}
movieClip 171 {
}
movieClip 175 {
}
movieClip 176 {
instance of movieClip 175 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball_mc) && _root.yes == true) {
_root.music.play();
}
}
onClipEvent (release) {
_root.music.play();
}
}
instance of movieClip 175 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball_mc) && _root.yes == true) {
_root.music.stop();
}
}
onClipEvent (release) {
_root.music.stop();
}
}
}
instance music of movieClip 176 {
}
instance of movieClip 106 {
onClipEvent (release) {
getURL('http://www.maxgames.com', _blank);
}
}
frame 4 {
stop();
stop();
var savefile = SharedObject.getLocal('prototype');
_root.oldlevel = savefile.data.level;
if (savefile.data.score == undefined) {
_root.oldlevel = 1;
}
_root.level = 1;
}
movieClip 177 {
}
movieClip 186 {
}
movieClip 191 {
frame 7 {
stop();
}
}
movieClip 193 {
}
movieClip 194 {
}
movieClip 196 {
}
movieClip 198 {
frame 7 {
stop();
}
}
movieClip 199 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 203 {
}
movieClip 205 {
}
movieClip 216 {
frame 711 {
_root.nextFrame();
}
}
movieClip 219 {
}
instance of movieClip 219 {
onClipEvent (release) {
_root.nextFrame();
}
}
button 220 {
on (release) {
getURL('http://www.maxgames.com', _blank);
}
}
frame 5 {
stop();
_root.level = 1;
savefile.data.level = _root.level;
savefile.flush();
}
frame 5 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 222 {
}
movieClip 223 {
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 224 {
}
movieClip 226 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
movieClip 230 {
}
instance of movieClip 230 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball_mc) && _root.yes == true) {
_root.gotoAndStop('game_over');
}
}
}
movieClip 233 {
}
instance of movieClip 233 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball_mc) && _root.yes == true) {
_root.gotoAndStop('menu');
}
}
}
movieClip 241 {
}
frame 6 {
_root.nextFrame();
}
frame 7 {
stop();
_root.level = 2;
savefile.data.level = _root.level;
savefile.flush();
}
frame 7 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 242 {
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 243 {
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 244 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 8 {
_root.nextFrame();
}
frame 9 {
stop();
_root.level = 3;
savefile.data.level = _root.level;
savefile.flush();
}
frame 9 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 248 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 10 {
_root.nextFrame();
}
frame 11 {
stop();
_root.level = 4;
savefile.data.level = _root.level;
savefile.flush();
}
frame 11 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 249 {
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 250 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 12 {
_root.nextFrame();
}
frame 13 {
stop();
_root.level = 5;
savefile.data.level = _root.level;
savefile.flush();
}
frame 13 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 253 {
frame 1 {
stop();
}
frame 10 {
this.unloadMovie();
}
}
movieClip 254 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 14 {
_root.nextFrame();
}
frame 15 {
stop();
_root.level = 6;
savefile.data.level = _root.level;
savefile.flush();
}
frame 15 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 257 {
}
movieClip 258 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 16 {
_root.nextFrame();
}
frame 17 {
stop();
_root.level = 7;
savefile.data.level = _root.level;
savefile.flush();
}
frame 17 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 259 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 18 {
_root.nextFrame();
}
frame 19 {
stop();
_root.level = 8;
savefile.data.level = _root.level;
savefile.flush();
}
frame 19 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 260 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 20 {
_root.nextFrame();
}
frame 21 {
stop();
_root.level = 9;
savefile.data.level = _root.level;
savefile.flush();
}
frame 21 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 261 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 22 {
_root.nextFrame();
}
frame 23 {
stop();
_root.level = 10;
savefile.data.level = _root.level;
savefile.flush();
}
frame 23 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 262 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 24 {
_root.nextFrame();
}
frame 25 {
stop();
_root.level = 11;
savefile.data.level = _root.level;
savefile.flush();
}
frame 25 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 263 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 26 {
_root.nextFrame();
}
frame 27 {
stop();
_root.level = 12;
savefile.data.level = _root.level;
savefile.flush();
}
frame 27 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 266 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 28 {
_root.nextFrame();
}
frame 29 {
stop();
_root.level = 13;
savefile.data.level = _root.level;
savefile.flush();
}
frame 29 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 267 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 30 {
_root.nextFrame();
}
frame 31 {
stop();
_root.level = 14;
savefile.data.level = _root.level;
savefile.flush();
}
frame 31 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 268 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 32 {
_root.nextFrame();
}
frame 33 {
stop();
_root.level = 15;
savefile.data.level = _root.level;
savefile.flush();
}
frame 33 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 269 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 34 {
_root.nextFrame();
}
frame 35 {
stop();
_root.level = 16;
savefile.data.level = _root.level;
savefile.flush();
}
frame 35 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 270 {
}
movieClip 271 {
}
movieClip 272 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 36 {
_root.nextFrame();
}
frame 37 {
stop();
_root.level = 17;
savefile.data.level = _root.level;
savefile.flush();
}
frame 37 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 273 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 38 {
_root.nextFrame();
}
frame 39 {
stop();
_root.level = 18;
savefile.data.level = _root.level;
savefile.flush();
}
frame 39 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 274 {
}
movieClip 275 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 40 {
_root.nextFrame();
}
frame 41 {
stop();
_root.level = 19;
savefile.data.level = _root.level;
savefile.flush();
}
frame 41 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 276 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 42 {
_root.nextFrame();
}
frame 43 {
stop();
_root.level = 20;
savefile.data.level = _root.level;
savefile.flush();
}
frame 43 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 277 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 44 {
_root.nextFrame();
}
frame 45 {
stop();
_root.level = 21;
savefile.data.level = _root.level;
savefile.flush();
}
frame 45 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 278 {
frame 1 {
stop();
}
}
movieClip 279 {
frame 1 {
stop();
}
frame 11 {
stop();
_root.p = 1;
}
frame 11 {
this.unloadMovie();
}
}
movieClip 280 {
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box2.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box3.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box4.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box5.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 46 {
_root.nextFrame();
}
frame 47 {
stop();
_root.level = 22;
savefile.data.level = _root.level;
savefile.flush();
}
frame 47 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 283 {
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box2.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box3.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box4.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box5.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 48 {
_root.nextFrame();
}
frame 49 {
stop();
_root.level = 23;
savefile.data.level = _root.level;
savefile.flush();
}
frame 49 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 284 {
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box2.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box3.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 50 {
_root.nextFrame();
}
frame 51 {
stop();
_root.level = 24;
savefile.data.level = _root.level;
savefile.flush();
}
frame 51 {
_root.yes = false;
ball_mc.onEnterFrame = function () {
var v3 = _root._xmouse;
var v4 = _root._ymouse;
if (Math.abs(v3 - this._x) < 1) {
this._x = v3;
this._y = v4;
} else {
this._x -= this._x - v3;
this._y -= this._y - v4;
}
ball_mc.useHandCursor = false;
};
ball_mc.onPress = function () {
_root.yes = true;
};
ball_mc.onRelease = function () {
_root.yes = false;
};
ball_mc.onReleaseOutside = function () {
_root.yes = false;
};
}
movieClip 285 {
}
movieClip 286 {
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box2.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box3.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box4.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
instance of movieClip 13 box_6 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y + 3, true)) {
_root.ground.box5.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
this._rotation += 15;
}
}
frame 52 {
_root.nextFrame();
}
frame 53 {
stop();
stop();
_root.level = 36;
savefile.data.level = _root.level;
savefile.flush();
}
movieClip 287 {
}
movieClip 288 {
}
movieClip 289 {
}
movieClip 290 {
}
movieClip 291 {
}
movieClip 292 {
}
movieClip 293 {
}
movieClip 295 {
}
movieClip 296 {
frame 7 {
stop();
}
}
movieClip 297 {
}
movieClip 298 {
}
movieClip 300 {
}
movieClip 302 {
frame 7 {
stop();
}
}
movieClip 303 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 307 {
}
movieClip 308 {
}
movieClip 315 {
frame 540 {
_root.nextFrame();
}
}
instance of movieClip 219 {
onClipEvent (release) {
_root.nextFrame();
}
}
frame 54 {
stop();
}
movieClip 317 {
}
movieClip 318 {
frame 260 {
_root.nextFrame();
}
}
instance of movieClip 318 {
onClipEvent (release) {
_root.nextFrame();
}
}
frame 55 {
stop();
}
movieClip 319 {
}
movieClip 326 {
}
instance of movieClip 326 {
onClipEvent (release) {
_root.gotoAndStop('menu');
}
}
frame 56 {
stop();
var savefile = SharedObject.getLocal('prototype');
if (savefile.data.level == 1) {
_root.gotoAndStop('level1');
} else {
if (savefile.data.level == 2) {
_root.gotoAndStop('level2');
} else {
if (savefile.data.level == 3) {
_root.gotoAndStop('level3');
} else {
if (savefile.data.level == 4) {
_root.gotoAndStop('level4');
} else {
if (savefile.data.level == 5) {
_root.gotoAndStop('level5');
} else {
if (savefile.data.level == 6) {
_root.gotoAndStop('level6');
} else {
if (savefile.data.level == 7) {
_root.gotoAndStop('level7');
} else {
if (savefile.data.level == 8) {
_root.gotoAndStop('level8');
} else {
if (savefile.data.level == 9) {
_root.gotoAndStop('level9');
} else {
if (savefile.data.level == 10) {
_root.gotoAndStop('level10');
} else {
if (savefile.data.level == 11) {
_root.gotoAndStop('level11');
} else {
if (savefile.data.level == 12) {
_root.gotoAndStop('level12');
} else {
if (savefile.data.level == 13) {
_root.gotoAndStop('level13');
} else {
if (savefile.data.level == 14) {
_root.gotoAndStop('level14');
} else {
if (savefile.data.level == 15) {
_root.gotoAndStop('level15');
} else {
if (savefile.data.level == 16) {
_root.gotoAndStop('level16');
} else {
if (savefile.data.level == 17) {
_root.gotoAndStop('level17');
} else {
if (savefile.data.level == 18) {
_root.gotoAndStop('level18');
} else {
if (savefile.data.level == 19) {
_root.gotoAndStop('level19');
} else {
if (savefile.data.level == 20) {
_root.gotoAndStop('level20');
} else {
if (savefile.data.level == 21) {
_root.gotoAndStop('level21');
} else {
if (savefile.data.level == 22) {
_root.gotoAndStop('level22');
} else {
if (savefile.data.level == 23) {
_root.gotoAndStop('level23');
} else {
if (savefile.data.level == 24) {
_root.gotoAndStop('level24');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 326 {
onClipEvent (release) {
_root.gotoAndStop('menu');
}
}