Frame 1
gamename = "snowboardboy";
furl = "www.gamesonly.com.cn";
_root.mccreatc = 0;
var myGame = this;
var createSound = function (mcName, sndName, sndVolume) {
var _local3 = myGame.createEmptyMovieClip(mcName, (myGame.getNextHighestDepth() + 50000) + _root.mccreatc);
_root.mccreatc++;
var _local2 = new Sound(_local3);
_local2.setVolume(sndVolume);
_local2.attachSound(sndName);
return(_local2);
};
_root.sndmax = 60;
var game = createSound("\u80CC\u666F\u97F3\u6548", "\u80CC\u666F\u97F3\u6548", 30);
var banner_s = createSound("\u9519\u8FC7\u65D7\u5B50", "\u9519\u8FC7\u65D7\u5B50", _root.sndmax);
var gameover = createSound("\u56DE\u5408\u7ED3\u675F", "\u56DE\u5408\u7ED3\u675F", _root.sndmax);
var daoju = createSound("\u83B7\u5F97\u5956\u54C1", "\u83B7\u5F97\u5956\u54C1", _root.sndmax);
var mouse = createSound("\u9F20\u6807\u97F3\u6548", "\u9F20\u6807\u97F3\u6548", _root.sndmax);
var Rampe = createSound("\u649E\u5012\u969C\u788D", "\u649E\u5012\u969C\u788D", _root.sndmax);
var left_right = createSound("\u5DE6\u6ED1\u53F3\u6ED1\u97F3\u6548", "\u5DE6\u6ED1\u53F3\u6ED1\u97F3\u6548", _root.sndmax);
var count = createSound("count", "count", _root.sndmax);
var start_go = createSound("\u5F00\u59CB", "\u5F00\u59CB", _root.sndmax);
var clock = createSound("clock", "clock", _root.sndmax);
var intro = createSound("\u7247\u5934intro", "\u7247\u5934intro", 30);
Frame 2
stop();
onEnterFrame = function () {
totalsize = getBytesTotal();
loadsize = getBytesLoaded();
loadper = Math.round((loadsize / totalsize) * 100) + "%";
if (((loadsize >= 1) && (totalsize >= 1)) && (loadsize == totalsize)) {
load_Mc.nextFrame();
delete onEnterFrame;
}
};
Frame 3
_root.playname = "";
Stage.showMenu = false;
stop();
_root.round_num = 1;
_root.score_txt = 0;
stopAllSounds();
myGame.intro.start(0, 4444);
Frame 5
stop();
Frame 6
stop();
time = 4320;
_root.n = 1;
_root.dj__1 = 0;
_root.dj__2 = 0;
_root.dj__3 = 0;
_root.banner_name = [];
_root.tree_n = -1;
_root.ren_n = -1;
_root.score = 0;
_root.score_t.text = 0;
_root.over = false;
_root.ba._alpha = 0;
_root.banner = 0;
if (_root.playname == "play_1") {
_root.play_2._alpha = 0;
}
if (_root.playname == "play_2") {
_root.play_1._alpha = 0;
}
_root.spe._alpha = 0;
hhh = "";
sss = "";
play_1.onEnterFrame = function () {
if (_root.score <= 0) {
_root.score = 0;
}
_root.score_t.text = _root.score;
if (!over) {
time--;
Msec = Math.floor(time / 36);
if (Math.floor((time / 36) % 60) <= 9) {
hhh = 0;
} else {
hhh = "";
}
if (Math.floor(((time / 36) * 100) % 60) <= 9) {
sss = 0;
} else {
sss = "";
}
_root.timer.text = (((((("0" + Math.floor(time / 2160)) + ":") + hhh) + Math.floor((time / 36) % 60)) + ":") + sss) + Math.floor(((time / 36) * 100) % 60);
if (time == 4319) {
_root.n = 1 - _root.n;
var _local2 = _root.map.getNextHighestDepth();
_root.map.attachMovie("banner", "banner" + _local2, _local2, {_x:411, _y:random(100), _xscale:1, _yscale:1});
_root.banner_name.push("banner" + _local2);
}
if (((time % 4) == 1) and (time > 1)) {
var _local2 = _root.map.getNextHighestDepth();
_root.map.attachMovie("tree", "tree" + _local2, _local2, {_x:411, _y:random(100), _xscale:1, _yscale:1});
} else if ((time % 20) == random(20)) {
var _local2 = _root.map.getNextHighestDepth();
_root.map.attachMovie("ren_mcmc", "ren_mcmc" + _local2, _local2, {_x:411, _y:random(100), _xscale:1, _yscale:1});
}
}
};
stopAllSounds();
myGame.game.start(0, 4444);
Instance of Symbol 305 MovieClip in Frame 6
on (release) {
if (sound) {
stopAllSounds();
_root.myGame.game.start(0, 4444);
sound = !sound;
this.gotoAndStop(1);
} else {
stopAllSounds();
sound = !sound;
this.gotoAndStop(2);
}
}
Instance of Symbol 88 MovieClip [play_1] "play_1" in Frame 6
onClipEvent (load) {
jump = true;
_root.jump_d = false;
_root.jump_f = false;
xspeed = 0;
yspeed = 0;
g = 0.98;
_root.bike_speed = 1;
this.gotoAndStop("one");
s = 0;
yes = true;
leftright = false;
l_r = 12;
}
onClipEvent (enterFrame) {
if (yes) {
if ((Key.isDown(37) or Key.isDown(39)) and (_root.bike_speed >= 0.3)) {
l_r = l_r + 1;
if (l_r >= 13) {
leftright = true;
l_r = 0;
}
} else {
l_r = 12;
leftright = false;
}
if (leftright) {
leftright = false;
_root.myGame.left_right.start(0, 1);
}
if (jump) {
_root.myGame.left_right.stop();
}
var xscale = _root.speed.speed1._xscale;
_root.speed.speed1._xscale = (_root.bike_speed * 100) / 4;
if (_root.speed.speed1._xscale > xscale) {
_root.spe._alpha = 100;
} else {
_root.spe._alpha = 0;
}
if (_root.bike_speed <= 3) {
_root.bike_speed = _root.bike_speed + 0.01;
}
if (Key.isDown(38) and (_root.bike_speed <= 4)) {
if (s <= 0.03) {
s = s + 0.001;
}
_root.bike_speed = _root.bike_speed + s;
} else if (Key.isDown(40) and (_root.bike_speed >= 0.9)) {
if (s <= 0.03) {
s = s + 0.002;
}
_root.bike_speed = _root.bike_speed - s;
} else if ((Key.isDown(37) or Key.isDown(39)) and (_root.bike_speed >= 0.3)) {
if (s <= 0.03) {
s = s + 0.001;
}
_root.bike_speed = _root.bike_speed - s;
} else {
s = 0;
}
if (Key.isDown(37) and (this._currentframe < 22)) {
this.nextFrame();
xspeed = xspeed - 0.5;
} else if ((this._currentframe > 10) and (this._currentframe <= 22)) {
this.prevFrame();
xspeed = xspeed / 1.06;
}
if ((Key.isDown(39) and (this._currentframe > 1)) and (this._currentframe < 11)) {
this.prevFrame();
xspeed = xspeed + 0.5;
_root.bike_speed = _root.bike_speed - 0.02;
} else if (((this._currentframe < 10) and (this._currentframe >= 1)) and (this._currentframe < 11)) {
this.nextFrame();
xspeed = xspeed / 1.06;
}
if (((Key.isDown(32) and (!_root.jump_d)) and (!_root.jump_f)) and (jump == false)) {
jump = true;
g = 0.98;
if (this._currentframe == 10) {
this.gotoAndPlay("two");
}
}
if (jump) {
yspeed = yspeed + g;
if (yspeed >= 15) {
yspeed = 15;
}
this._y = this._y + yspeed;
if (this._y >= 350) {
jump = false;
yspeed = -15;
if (((this._currentframe >= 30) and (!_root.jump_d)) and (!_root.jump_f)) {
this.gotoAndPlay("two_1");
}
}
}
if (((Key.isDown(68) and (_root.jump_f == false)) and (_root.jump_d == false)) and (jump == false)) {
_root.jump_d = true;
}
if (((Key.isDown(70) and (_root.jump_f == false)) and (_root.jump_d == false)) and (jump == false)) {
_root.jump_f = true;
}
if ((_root.jump_d == true) and (this._currentframe == 10)) {
_root.play_1.gotoAndPlay("three");
}
if ((_root.jump_f == true) and (this._currentframe == 10)) {
_root.play_1.gotoAndPlay("four");
}
if ((!Key.isDown(37)) or (!Key.isDown(39))) {
xspeed = xspeed / 1.06;
speed = speed * 0.98;
}
_root.map.a1._x = _root.map.a1._x - xspeed;
}
}
Instance of Symbol 342 MovieClip "ba" in Frame 6
/* no clip actions */
Frame 7
function md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * strsize)));
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(Array(_local4, _local3, _local2, _local1));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local2 = Array();
var _local4 = (1 << strsize) - 1;
var _local1 = 0;
while (_local1 < (str.length * strsize)) {
_local2[_local1 >> 5] = _local2[_local1 >> 5] | ((str.charCodeAt(_local1 / strsize) & _local4) << (_local1 % 32));
_local1 = _local1 + strsize;
}
return(_local2);
}
function binl2hex(binarray) {
if (hexcase) {
}
var _local4 = "0123456789abcdef";
var _local3 = "";
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local3 = _local3 + (_local4.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local4.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local3);
}
function submitScore() {
hash = md5(((furl + gamename) + score_txt) + "zygomaticgames");
getURL (((((("http://www.gamesonly.com.cn/highscore.php?game=" + gamename) + "&score=") + score_txt) + "&otherparam=") + hash) + "", "_blank");
}
stop();
_root.frs.text = _root.score;
_root.score_txt = _root.score_txt + _root.score;
if (_root.score_txt <= 0) {
_root.score_txt = 0;
}
_root.finalscore.text = _root.score_txt;
_root.spe.gotoAndStop(22);
var hexcase = 0;
var strsize = 8;
Frame 8
stop();
_root.round_num1.text = _root.round_num;
_root.levelscore.text = _root.score;
_root.score_txt = _root.score_txt + _root.score;
if (_root.score_txt <= 0) {
_root.score_txt = 0;
}
_root.score_txt1.text = _root.score_txt;
_root.spe.gotoAndStop(22);
Symbol 15 MovieClip [over_mc] Frame 1
#initclip 10
Object.registerClass("over_mc", Over);
#endinitclip
Symbol 17 MovieClip [tree] Frame 1
#initclip 6
Object.registerClass("tree", Tree);
#endinitclip
Symbol 24 MovieClip [daoju] Frame 1
#initclip 7
Object.registerClass("daoju", Daoju);
#endinitclip
stop();
Symbol 24 MovieClip [daoju] Frame 2
stop();
Symbol 24 MovieClip [daoju] Frame 3
stop();
Symbol 31 MovieClip [rampe] Frame 1
#initclip 8
Object.registerClass("rampe", Rampe);
#endinitclip
stop();
Symbol 36 MovieClip [banner] Frame 1
#initclip 9
Object.registerClass("banner", Banner);
#endinitclip
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Instance of Symbol 38 MovieClip "hitter" in Symbol 88 MovieClip [play_1] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 88 MovieClip [play_1] Frame 36
stop();
Symbol 88 MovieClip [play_1] Frame 40
this.gotoAndStop("one");
Symbol 88 MovieClip [play_1] Frame 57
this.gotoAndStop("one");
_root.jump_d = false;
_root.score = _root.score + 500;
Symbol 88 MovieClip [play_1] Frame 73
this.gotoAndStop("one");
_root.jump_f = false;
_root.score = _root.score + 500;
Symbol 88 MovieClip [play_1] Frame 83
this.gotoAndStop("one");
Symbol 380 MovieClip [__Packages.Tree] Frame 0
class Tree extends MovieClip
{
var onEnterFrame;
function Tree () {
super();
init();
}
function init() {
var startx = (-150 * _root.tree_n);
_root.tree_n = _root.tree_n * -1;
onEnterFrame = function () {
this._yscale = this.y * 6;
this._xscale = this.y * 6;
this.y = this.y + ((this.y * (2 - this.speed)) / 20);
this.x = (this._parent.a1._x + (((this._parent.a1._x + startx) * this.y) / 15)) + startx;
this._y = this.y;
this._x = this.x;
if (this.y >= 200) {
this.removeMovieClip();
}
};
}
var y = 0.1;
var x = 0.1;
var speed = 0;
}
Symbol 381 MovieClip [__Packages.Daoju] Frame 0
class Daoju extends MovieClip
{
var gotoAndStop, onEnterFrame;
function Daoju () {
super();
init();
}
function init() {
var dj = (random(2) + 1);
gotoAndStop(dj);
var startx = (random(40) - 20);
onEnterFrame = function () {
if ((_root.dj__1 >= 115) and (dj == 1)) {
this.removeMovieClip();
}
if ((_root.dj__2 >= 115) and (dj == 2)) {
this.removeMovieClip();
}
if ((_root.dj__3 >= 115) and (dj == 3)) {
this.removeMovieClip();
}
this._yscale = this.y * 6;
this._xscale = this.y * 6;
this.y = this.y + ((this.y * (_root.bike_speed - this.speed)) / 20);
this.x = (this._parent.a1._x + (((this._parent.a1._x + startx) * this.y) / 15)) + startx;
this._y = this.y;
this._x = this.x;
if (this.hitTest(_root.play_1.hitter) and (!_root.play_1.jump)) {
_root.play_1.plus.gotoAndPlay(2);
_root.play_1.plus.punkte = 1000;
_root.score = _root.score + 1000;
switch (dj) {
case 1 :
_root.myGame.daoju.start(0, 1);
_root.dj__1 = _root.dj__1 + 1;
_root.dj1_num.gotoAndStop(_root.dj__1 + 1);
_root.dj_1.text = _root.dj__1;
break;
case 2 :
_root.myGame.daoju.start(0, 1);
_root.dj__2 = _root.dj__2 + 1;
_root.dj2_num.gotoAndStop(_root.dj__2 + 1);
_root.dj_2.text = _root.dj__2;
break;
case 3 :
_root.myGame.daoju.start(0, 1);
_root.dj__3 = _root.dj__3 + 1;
_root.dj3_num.gotoAndStop(_root.dj__3 + 1);
_root.dj_3.text = _root.dj__3;
}
this.removeMovieClip();
}
for (var i in _root.banner_name) {
if (this.hitTest(eval ("_root.map." + _root.banner_name[i]))) {
}
}
if (this.y >= 200) {
this.removeMovieClip();
}
};
}
var y = 0.1;
var x = 0.1;
var speed = 0;
}
Symbol 382 MovieClip [__Packages.Rampe] Frame 0
class Rampe extends MovieClip
{
var random_mc, gotoAndStop, onEnterFrame;
function Rampe () {
super();
init();
}
function init() {
var startx = (random(50) - 25);
random_mc = random(2) + 1;
gotoAndStop(random_mc);
onEnterFrame = function () {
this._yscale = this.y * 6;
this._xscale = this.y * 6;
this.y = this.y + ((this.y * (_root.bike_speed - this.speed)) / 20);
this.x = (this._parent.a1._x + (((this._parent.a1._x + startx) * this.y) / 15)) + startx;
this._y = this.y;
this._x = this.x;
if ((this.hitTest(_root.play_1.hitter) and (!_root.play_1.jump)) and this.hit) {
switch (this.random_mc) {
case 1 :
if (_root.bike_speed >= 1) {
_root.bike_speed = _root.bike_speed - ((_root.bike_speed * 50) / 100);
}
_root.play_1.minus.gotoAndPlay(2);
_root.play_1.minus.punkte = -5000;
_root.time = _root.time - 108;
_root.score = _root.score - 5000;
this.hit = false;
_root.myGame.Rampe.start(0, 1);
_root.play_1.gotoAndPlay("five");
break;
case 2 :
if (_root.bike_speed >= 1) {
_root.bike_speed = _root.bike_speed - ((_root.bike_speed * 50) / 100);
}
_root.play_1.minus.gotoAndPlay(2);
_root.play_1.minus.punkte = -5000;
_root.time = _root.time - 108;
_root.score = _root.score - 5000;
this.hit = false;
_root.myGame.Rampe.start(0, 1);
_root.play_1.gotoAndPlay("five");
}
}
for (var i in _root.banner_name) {
if (this.hitTest(eval ("_root.map." + _root.banner_name[i]))) {
}
}
if (this.y >= 200) {
this.removeMovieClip();
}
};
}
var y = 0.1;
var x = 0.1;
var speed = 0;
var hit = true;
}
Symbol 383 MovieClip [__Packages.Banner] Frame 0
class Banner extends MovieClip
{
var gotoAndStop, onEnterFrame;
function Banner () {
super();
init();
}
function init() {
_root.banner = _root.banner + 1;
if (_root.n == 1) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
if (_root.n == 1) {
var startx = 35;
}
if (_root.n == 0) {
var startx = -35;
}
onEnterFrame = function () {
this._yscale = this.y * 6;
this._xscale = this.y * 6;
this.y = this.y + ((this.y * (_root.bike_speed - this.speed)) / 20);
this.x = (this._parent.a1._x + (((this._parent.a1._x + startx) * this.y) / 15)) + startx;
this._y = this.y;
this._x = this.x;
if (((this._y >= 3) and (this.kkk == 0)) or ((this._y >= 20) and (this.kkk == 1))) {
var _local5 = random(2) + 1;
switch (_local5) {
case 1 :
this.kkk = this.kkk + 1;
var _local4 = _root.map.getNextHighestDepth();
_root.map.attachMovie("rampe", "rampe" + _local4, _local4, {_x:411, _y:random(100), _xscale:1, _yscale:1});
break;
case 2 :
this.kkk = this.kkk + 1;
_local4 = _root.map.getNextHighestDepth();
_root.map.attachMovie("daoju", "daoju" + _local4, _local4, {_x:411, _y:random(100), _xscale:1, _yscale:1});
}
}
if (this.y >= _root.map.a2._y) {
if (_root.n == 1) {
if (this._x > (_root.map.a2._x - 100)) {
_root.play_1.minus.gotoAndPlay(2);
_root.play_1.minus.punkte = -1000;
_root.play_2.minus.gotoAndPlay(2);
_root.play_2.minus.punkte = -1000;
_root.score = _root.score + _root.play_1.minus.punkte;
_root.time = _root.time - 108;
} else {
_root.myGame.banner_s.start(0, 1);
_root.play_1.plus.gotoAndPlay(2);
_root.play_1.plus.punkte = Math.round(200 * _root.bike_speed);
_root.play_2.plus.gotoAndPlay(2);
_root.play_2.plus.punkte = Math.round(200 * _root.bike_speed);
_root.score = _root.score + _root.play_1.plus.punkte;
}
}
if (_root.n == 0) {
if (this._x < (_root.map.a2._x - 50)) {
_root.play_1.minus.gotoAndPlay(2);
_root.play_1.minus.punkte = -1000;
_root.play_2.minus.gotoAndPlay(2);
_root.play_2.minus.punkte = -1000;
_root.score = _root.score + _root.play_1.minus.punkte;
_root.time = _root.time - 108;
} else {
_root.myGame.banner_s.start(0, 1);
_root.play_1.plus.gotoAndPlay(2);
_root.play_1.plus.punkte = Math.round(200 * _root.bike_speed);
_root.play_2.plus.gotoAndPlay(2);
_root.play_2.plus.punkte = Math.round(200 * _root.bike_speed);
_root.score = _root.score + _root.play_1.plus.punkte;
}
}
for (var _local3 in _root.banner_name) {
if (_root.banner_name[_local3] == this._name) {
_root.banner_name.splice(_local3, 1);
}
}
if (!_root.over) {
if (_root.banner == 30) {
var _local4 = _root.map.getNextHighestDepth();
_root.map.attachMovie("over_mc", "over_mc" + _local4, _local4, {_x:411, _y:random(100), _xscale:1, _yscale:1});
} else {
_root.n = 1 - _root.n;
var _local4 = _root.map.getNextHighestDepth();
_root.map.attachMovie("banner", "banner" + _local4, _local4, {_x:411, _y:random(100), _xscale:1, _yscale:1});
_root.banner_name.push("banner" + _local4);
}
}
this.removeMovieClip();
}
};
}
var y = 0.1;
var x = 0.1;
var speed = 0;
var kkk = 0;
}
Symbol 384 MovieClip [__Packages.Over] Frame 0
class Over extends MovieClip
{
var onEnterFrame;
function Over () {
super();
init();
}
function init() {
_root.over = true;
var startx = 0;
onEnterFrame = function () {
this._yscale = this.y * 6;
this._xscale = this.y * 6;
this.y = this.y + ((this.y * (_root.bike_speed - this.speed)) / 20);
this.x = (this._parent.a1._x + (((this._parent.a1._x + startx) * this.y) / 15)) + startx;
this._y = this.y;
this._x = this.x;
for (var i in _root.banner_name) {
if (this.hitTest(eval ("_root.map." + _root.banner_name[i]))) {
}
}
if (this.y >= 200) {
stopAllSounds();
_root.myGame.gameover.start(0, 1);
_root.ba._alpha = 100;
_root.ba.gotoAndStop(2);
_root.play_1.yes = false;
_root.play_1.gotoAndStop(10);
_root.play_1.play_2.gotoAndStop(1);
_root.play_2.yes = false;
_root.play_2.gotoAndStop(10);
_root.play_2.play_2.gotoAndStop(1);
this.removeMovieClip();
}
};
}
var y = 0.1;
var x = 0.1;
var speed = 0;
}
Symbol 109 MovieClip Frame 80
stop();
Symbol 113 MovieClip Frame 107
stop();
Symbol 136 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(3);
}
Symbol 149 MovieClip Frame 174
stopAllSounds();
_root.gotoAndStop(3);
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
stop();
Symbol 170 Button
on (release) {
getURL ("http://" + _root.furl, "_blank");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 172 Button
on (release) {
_root.gotoAndStop("help");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 174 Button
on (release) {
getURL (("http://" + _root.furl) + "/highscore.php", "_blank");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 176 Button
on (release) {
_root.gotoAndStop("go_1");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 182 Button
on (release) {
_root.gotoAndStop("go");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 205 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 206 Button
on (release) {
_root.gotoAndStop("go_1");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 1
_root.gotoAndStop("game");
Symbol 261 MovieClip Frame 33
_root.myGame.count.start(0, 1);
Symbol 261 MovieClip Frame 63
_root.myGame.count.start(0, 1);
Symbol 261 MovieClip Frame 99
_root.myGame.start_go.start(0, 1);
Symbol 261 MovieClip Frame 125
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 268 MovieClip "pic" in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.map.a1._x;
}
Instance of Symbol 274 MovieClip "a1" in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._x >= 100) {
this._x = 100;
}
if (this._x <= -100) {
this._x = -100;
}
}
Symbol 291 MovieClip Frame 2
stop();
Symbol 291 MovieClip Frame 3
stop();
Symbol 299 Button
on (release) {
_root.gotoAndStop("go");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 302 Button
on (release) {
_root.music = 0;
stopAllSounds();
_root.musicmov.gotoAndStop(1);
gotoAndStop (2);
}
Symbol 304 Button
on (release) {
_root.myGame.game.start(0, 999);
_root.musicmov.gotoAndStop(2);
_root.music = 1;
gotoAndStop (1);
}
Symbol 305 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
stop();
this.time_score = _root.time * 10;
this.score = this.time_score + _parent.score;
if (this.score <= 0) {
this.score = 0;
}
_root.spe.gotoAndStop(22);
if (_root.round_num < 3) {
_root.gotoAndStop("nextround");
} else {
_root.gotoAndStop("gameover");
}
Symbol 363 Button
on (release) {
_root.gotoAndStop("go");
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}
Symbol 367 Button
on (release) {
submitScore();
}
Symbol 376 Button
on (release) {
_root.round_num = _root.round_num + 1;
_root.gotoAndStop("game");
_root.map.gotoAndStop(_root.round_num);
}
on (rollOver) {
_root.myGame.mouse.start(0, 1);
}