Frame 1
stop();
Mouse.show();
fscommand ("showmenu", "false");
var \u57FA\u7840\u91CD\u529B = 0.5;
var \u6050\u9F99\u57FA\u7840\u901F\u5EA6 = 3;
var \u6050\u9F99\u589E\u52A0\u901F\u5EA6 = 2;
var \u6050\u9F99\u79BB\u5F00\u5C4F\u5E55\u6700\u5927\u8DDD\u79BB = 1000;
var \u5237\u65B0\u95F4\u9694 = 300;
var \u7269\u54C1\u4F5C\u7528\u65F6\u95F4 = 450;
var \u5F39\u7C27\u5F3A\u5EA6\u6BD4 = 1;
var \u521D\u59CB\u751F\u547D = 3;
var \u6700\u5927\u751F\u547D = 5;
Frame 2
function jumpAction() {
var ___;
var __;
var _;
var ____;
if ({}) {
} else if ({}) {
}
if (Math_________(2927)) {
(s ? 1 : 2);
}
while ((__ && (_)) && ((!_) & (_--))) {
(ag ? (b12) : (z));
}
if ((____ && ((--_) > 0)) && (___)) {
return("true");
}
if ({}) {
if ({} && ({a:1})) {
return("al");
}
if ({b:2}) {
return((b ? (_) : (2 * __)));
}
}
with (____ + __) {
}
}
function resetMap() {
map_mc.clear();
map_mc.saveDown = [];
map_mc.saveUp = [];
map_mc.drawAction = "";
map_mc.longest = 150;
map_mc.saveFunction2 = [];
map_mc.saveAngle = 0;
}
function refreshST() {
STmap_mc.attachMovie(_root.allST_arr[random(_root.allST_arr.length)], "ST" + _root.sti, _root.sti);
_root.sti++;
}
function refreshFD() {
STmap_mc.attachMovie(_root.allFD_arr[random(_root.allFD_arr.length)], "ST" + _root.sti, _root.sti);
_root.sti++;
}
function refreshCL() {
var _local2 = random(2);
if (_local2 == 1) {
CLmap_mc.attachMovie(_root.allCL_arr[random(_root.allCL_arr.length)], "CL" + _root.sti, _root.sti);
_root.sti++;
}
}
stop();
var GNCsL = new GeneralsLibrary();
GNCsL.run();
Mouse.show();
var scream_sound = new Sound();
scream_sound.attachSound("scream");
var jump2_sound = new Sound();
jump2_sound.attachSound("jump2");
var launch_sound = new Sound();
launch_sound.attachSound("launch");
var getgold_sound = new Sound();
getgold_sound.attachSound("getgold");
scream_sound.setVolume(100);
var skipIns = false;
var allST_arr = ["tree", "nomalST", "dangerST", "hawk", "cy"];
var allFD_arr = ["hp", "up", "down"];
_root.attachMovie("logo", "logo", -11);
var allCL_arr = ["cloud"];
Frame 3
stop();
Mouse.hide();
var cytotal = 0;
var hard = \u6050\u9F99\u57FA\u7840\u901F\u5EA6;
var nextST = 0;
var tmpBouns = "";
var g = \u57FA\u7840\u91CD\u529B;
var hp = \u521D\u59CB\u751F\u547D;
var liftSpeed = 1;
var canJump = false;
var unbeatable = 120;
var sti = 1;
var vmax = "";
var vmaxTime = 0;
var lvl = 10;
scream_sound.setVolume(100);
Instance of Symbol 173 MovieClip in Frame 3
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Instance of Symbol 180 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 4
stop();
skipIns = true;
Frame 5
stop();
menu_mc._visible = false;
mu_mc.onRelease = function () {
this._parent.menu_mc._visible = true;
};
x_mc._visible = false;
v_mc._x = 440;
onEnterFrame = function () {
unbeatable--;
vmaxTime--;
if (vmaxTime < 0) {
vmaxTime = 0;
}
};
a_mc._x = 300;
a_mc._y = 200;
timer_lvl.rfs = _root["\u5237\u65B0\u95F4\u9694"];
STmap_mc.attachMovie("testST", "ST0", -2);
var tmp1 = \u5F39\u7C27\u5F3A\u5EA6\u6BD4;
Instance of Symbol 182 MovieClip in Frame 5
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 221 MovieClip in Frame 5
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 232 MovieClip "dragon_mc" in Frame 5
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 276 MovieClip "a_mc" in Frame 5
onClipEvent (load) {
var speed = 10;
var yspeed = -5;
var xspeed = 0;
var rspeed = 0;
this.onEnterFrame = function () {
if (this._y > 450) {
var _local4 = (450 - this._y) / 7;
_root.wall1_mc._y = _root.wall1_mc._y + _local4;
_root.wall2_mc._y = _root.wall2_mc._y + _local4;
var _local3 = _root.sti - 10;
while (_local3 <= _root.sti) {
_root.STmap_mc["ST" + _local3]._y = _root.STmap_mc["ST" + _local3]._y + _local4;
_root.CLmap_mc["CL" + _local3]._y = _root.CLmap_mc["CL" + _local3]._y + _local4;
_local3++;
}
_root.cytotal = _root.cytotal + _local4;
_root.dragon_mc._y = _root.dragon_mc._y + _local4;
this._y = this._y + _local4;
}
if (this._y > (_root.dragon_mc._y - 23)) {
if (_root.hp > 0) {
this.yspeed = -18 - ((this._y - 500) / 50);
if ((_root.vmax == "down") && (_root.vmaxTime > 0)) {
this.yspeed = this.yspeed - 6;
}
this._y = this._y - 10;
_root.canJump = false;
rspeed = 0;
_rotation = 0;
if (_root.unbeatable <= 0) {
_root.hp--;
}
if (_root.unbeatable < 20) {
_root.unbeatable = 20;
} else if (_root.unbeatable > 70) {
_root.unbeatable = _root.unbeatable - 50;
_root.vmaxTime = _root.vmaxTime - 50;
}
gotoAndStop ("injurd");
ss_mc.gotoAndPlay(1);
_root.hit_mc.gotoAndPlay(2);
_root.jump2_sound.start();
} else {
_root.scream_sound.start();
_root.gotoAndStop("gameover");
delete this.onEnterFrame;
}
}
if (this._y < 300) {
var _local4 = (300 - this._y) / 35;
_root.wall1_mc._y = _root.wall1_mc._y + _local4;
_root.wall2_mc._y = _root.wall2_mc._y + _local4;
var _local3 = _root.sti - 10;
while (_local3 <= _root.sti) {
_root.STmap_mc["ST" + _local3]._y = _root.STmap_mc["ST" + _local3]._y + _local4;
_root.CLmap_mc["CL" + _local3]._y = _root.CLmap_mc["CL" + _local3]._y + _local4;
_local3++;
}
_root.cytotal = _root.cytotal + _local4;
_root.dragon_mc._y = _root.dragon_mc._y + _local4;
this._y = this._y + _local4;
}
};
}
on (press) {
if (_root.canJump == true) {
this._y = this._y - 23;
this.yspeed = -11;
gotoAndStop ("jump");
_root.launch_sound.start();
_root.canJump = false;
}
}
onClipEvent (enterFrame) {
if (_root.canJump == true) {
this._y = this._y + 1;
}
if (_root.vmaxTime > 0) {
if (_root.vmax == "up") {
this.yspeed = this.yspeed + (_root.g / 1.5);
} else if (_root.vmax == "down") {
this.yspeed = this.yspeed + (_root.g * 1.7);
} else {
this.yspeed = this.yspeed + _root.g;
}
} else {
this.yspeed = this.yspeed + _root.g;
}
this._y = this._y + this.yspeed;
this._x = this._x + this.xspeed;
this.rspeed = this.rspeed / 1.05;
this._rotation = this._rotation + this.rspeed;
if (Math.abs(this.rspeed) < 10) {
this.rspeed = this.rspeed / 1.05;
this._rotation = this._rotation / (1 + ((10 - this.rspeed) / 100));
}
if (_root.map_mc.drawAction == "") {
if (_root.GNChitTest_CandL(this, _root.map_mc.saveFunction2, 23)) {
if (_root.Math_Function2(this._x, _root.map_mc.saveFunction2) > this._y) {
this.yspeed = ((((-this.speed) * Math.cos(_root.map_mc.saveAngle)) * 1.4) * (1 + ((this._y - 300) / 2000))) * _root.tmp1;
this.xspeed = (this.xspeed * Math.cos(1.5 * (-_root.map_mc.saveAngle))) + (this.yspeed * Math.sin(1.5 * (-_root.map_mc.saveAngle)));
this.rspeed = this.rspeed + ((_root.map_mc.saveAngle * 180) / Math.PI);
} else {
this.yspeed = this.yspeed + ((this.speed * Math.cos(_root.map_mc.saveAngle)) * 0.4);
if (this.yspeed < 0) {
this.yspeed = 3;
}
this.xspeed = this.xspeed + ((-this.speed) * Math.sin(_root.map_mc.saveAngle));
this.rspeed = this.rspeed + ((_root.map_mc.saveAngle * 180) / Math.PI);
}
this.gotoAndStop("nomal");
_root.attachMovie("SL", "sl_mc", 0);
if (_root.map_mc.saveDown[0] < _root.map_mc.saveUp[0]) {
_root.sl_mc._x = _root.map_mc.saveDown[0];
_root.sl_mc._y = _root.map_mc.saveDown[1];
} else {
_root.sl_mc._x = _root.map_mc.saveUp[0];
_root.sl_mc._y = _root.map_mc.saveUp[1];
}
_root.sl_mc._xscale = (_root.map_mc.saveWidth / _root.map_mc.longest) * 100;
_root.sl_mc._rotation = (_root.map_mc.saveAngle * 180) / Math.PI;
_root.resetMap();
}
}
if ((this._x < 63) && (this.xspeed < 0)) {
this.xspeed = this.xspeed * -1;
} else if ((this._x > 547) && (this.xspeed > 0)) {
this.xspeed = this.xspeed * -1;
}
if (this.xspeed > 13) {
this.xspeed = 13;
} else if (this.xspeed < -13) {
this.xspeed = -13;
}
if (_root.unbeatable > 0) {
ub_mc.play();
ubb_mc.play();
}
}
Instance of Symbol 219 MovieClip "map_mc" in Frame 5
onClipEvent (load) {
var saveDown = [];
var saveUp = [];
var drawAction = "";
var longest = 150;
var saveFunction2 = [];
}
onClipEvent (mouseDown) {
if ((drawAction == "") || (drawAction == "none")) {
drawAction = "drawing";
saveDown = [_xmouse, _ymouse];
this.onEnterFrame = function () {
this.clear();
this.lineStyle(3, 16711680);
this.moveTo(saveDown[0], saveDown[1]);
this.lineTo(_xmouse, _ymouse);
if (_root.getDistance(saveDown, [_xmouse, _ymouse]) > longest) {
this.saveWidth = this.longest;
drawAction = "";
this.clear();
saveUp = [_xmouse, _ymouse];
this.saveAngle = _root.getAngle(saveDown, saveUp);
this.lineStyle(3, 255);
if (saveDown[0] > saveUp[0]) {
saveUp = [saveDown[0] - (longest * Math.cos(saveAngle)), saveDown[1] - (longest * Math.sin(saveAngle))];
} else {
saveUp = [saveDown[0] + (longest * Math.cos(saveAngle)), saveDown[1] + (longest * Math.sin(saveAngle))];
}
this.moveTo(saveDown[0], saveDown[1]);
this.lineTo(saveUp[0], saveUp[1]);
this.saveFunction2 = _root.getFunction2(saveUp, saveDown);
delete this.onEnterFrame;
}
};
}
}
onClipEvent (mouseUp) {
if (drawAction == "drawing") {
delete this.onEnterFrame;
drawAction = "";
this.clear();
saveUp = [_xmouse, _ymouse];
this.saveAngle = _root.getAngle(saveDown, saveUp);
this.lineStyle(3, 255);
this.moveTo(saveDown[0], saveDown[1]);
this.lineTo(saveUp[0], saveUp[1]);
this.saveFunction2 = _root.getFunction2(saveUp, saveDown);
this.saveWidth = _root.getDistance(saveUp, saveDown);
}
}
Frame 6
stop();
delete _root.onEnterFrame;
BGM_mc.abc = 100;
STmap_mc.unloadMovie();
map_mc.unloadMovie();
BGM_mc.onEnterFrame = function () {
_root.BGM_mc.abc = _root.BGM_mc.abc - 2;
_root.scream_sound.setVolume(_root.BGM_mc.abc);
if (_root.BGM_mc.abc < 0) {
stopAllSounds();
delete _root.BGM_mc.onEnterFrame;
}
};
Frame 7
stop();
Symbol 4 MovieClip Frame 1
onPress = function () {
getURL ("http://www.freeworldgroup.com", "_blank");
};
this.cacheAsBitmap = true;
Symbol 6 MovieClip Frame 1
function flash_loading(x, T, A) {
var _local1 = (Math.PI / T) * x;
return(A * Math.sin(_local1));
}
_root.stop();
MochiAd.showPreGameAd({id:"a9269f2c744d00d0", res:"600x600", background:6845841, color:788068, outline:12695210, no_bg:false});
_x = (Stage.width / 2);
_y = ((Stage.height / 2) - 30);
mLogo._alpha = 0;
mLoading._alpha = 0;
var sDownload = "";
onEnterFrame = function () {
var _local2 = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_local2 == 100) {
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
}
}
if (mLogo._alpha < 100) {
mLogo._alpha = mLogo._alpha + 5;
} else {
mLogo._alpha = 100;
sDownload = _local2 + " %";
mLoading._alpha = Math.abs(flash_loading(getTimer(), 800, 100));
}
};
Symbol 396 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 397 MovieClip [__Packages.GeneralsLibrary] Frame 0
class GeneralsLibrary extends MovieClip
{
function GeneralsLibrary () {
super();
}
function run() {
_root.GNChitTest_CandL = function (p, fc, r) {
if ((p._x < Math.min(_root.map_mc.saveDown[0], _root.map_mc.saveUp[0])) || (p._x > Math.max(_root.map_mc.saveDown[0], _root.map_mc.saveUp[0]))) {
return(false);
}
if (fc[1] == 7591) {
var _local4 = Math.abs(p._y - fc[2]);
} else {
var _local4 = Math.abs(((fc[0] * p._x) + (fc[1] * p._y)) + fc[2]) / Math.sqrt((fc[0] * fc[0]) + (fc[1] * fc[1]));
}
if (_local4 < r) {
return(true);
}
return(false);
};
_root.GNChitCircle = function (mc1, mc2, r) {
var _local1 = Math.sqrt(Math.pow(Math.abs(mc1._x - mc2._x), 2) + Math.pow(Math.abs(mc1._y - mc2._y), 2));
if (_local1 < r) {
return(true);
}
return(false);
};
_root.getFunction2 = function (GNp1, GNp2) {
var _local10 = [];
var _local3 = GNp1[0];
var _local4 = GNp2[0];
var _local1 = GNp1[1];
var _local2 = GNp2[1];
if (_local1 == _local2) {
return([0, 7591, _local1]);
}
var _local7 = 1 / (_local4 - _local3);
var _local6 = 1 / (_local1 - _local2);
var _local5 = (_local1 / (_local2 - _local1)) + (_local3 / (_local3 - _local4));
return([_local7, _local6, _local5]);
};
_root.Math_betweenTan = function (tan1, tan2) {
if ((tan2 * tan1) == -1) {
return(99999);
}
var _local1 = (tan2 - tan1) / (1 + (tan2 * tan1));
return(_local1);
};
_root.Math_Function2 = function (Math_x, fc) {
if (fc[1] == 7591) {
return(fc[2]);
}
return(((-fc[2]) / fc[1]) - ((fc[0] / fc[1]) * Math_x));
};
_root.getDistance = function (GNp1, GNp2) {
return(Math.sqrt(Math.pow(GNp1[0] - GNp2[0], 2) + Math.pow(GNp1[1] - GNp2[1], 2)));
};
_root.getAngle = function (GNp1, GNp2) {
return(Math.atan((GNp2[1] - GNp1[1]) / (GNp2[0] - GNp1[0])));
};
}
}
Symbol 14 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 18 Button
on (release) {
_root.menu_mc._visible = false;
}
Symbol 32 MovieClip [tree] Frame 1
var tmp = random(2);
if (tmp == 1) {
this._x = 600;
} else {
this._x = 0;
this._xscale = -100;
}
this.cacheAsBitmap = true;
this._y = -50;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if ((this.sub_mc.hitTest(_root.a_mc._x - 23, _root.a_mc._y, true) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed < -2) || (Key.isDown(39)))) {
_root.a_mc.xspeed = 5;
} else if (((this.sub_mc.hitTest(_root.a_mc._x + 23, _root.a_mc._y, true) && (_root.unbeatable <= 0)) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed > 2) || (Key.isDown(37)))) {
_root.a_mc.xspeed = -5;
} else if (this.sub_mc.hitTest(_root.a_mc._x, _root.a_mc._y + 23, true) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
_root.a_mc.yspeed = _root.liftSpeed;
_root.a_mc.xspeed = 0;
_root.a_mc.rspeed = 0;
_root.a_mc._rotation = 0;
_root.a_mc._y = this._y - 23;
_root.canJump = true;
_root.a_mc.launch_mc.play();
_root.timer_canJump.gotoAndPlay(2);
} else if (this.sub_mc.hitTest(_root.a_mc._x, _root.a_mc._y - 23, true) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
if (_root.a_mc.yspeed < 0) {
_root.a_mc.yspeed = _root.a_mc.yspeed * -0.6;
_root.a_mc.gotoAndStop("top");
}
_root.a_mc._y = _root.a_mc._y + 3;
}
if (this._y > 620) {
this.removeMovieClip();
}
};
Symbol 35 MovieClip [up] Frame 1
this._x = 70 + random(460);
this._y = -90;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 40)) {
_root.vmax = "up";
if (_root.unbeatable > 20) {
_root.unbeatable = 1;
}
_root.a_mc.up_mc.play();
_root.vmaxTime = _root["\u7269\u54C1\u4F5C\u7528\u65F6\u95F4"];
_root.getgold_sound.start();
this.removeMovieClip();
}
if (this._y > 700) {
this.removeMovieClip();
}
};
Symbol 38 MovieClip [down] Frame 1
this._x = 70 + random(460);
this._y = -90;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 40)) {
_root.vmax = "down";
if (_root.unbeatable > 20) {
_root.unbeatable = 1;
}
_root.a_mc.down_mc.play();
_root.vmaxTime = _root["\u7269\u54C1\u4F5C\u7528\u65F6\u95F4"];
_root.getgold_sound.start();
this.removeMovieClip();
}
if (this._y > 700) {
this.removeMovieClip();
}
};
Symbol 41 MovieClip [shield] Frame 1
this._x = 70 + random(460);
this._y = -90;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 40)) {
_root.vmax = "shield";
_root.vmaxTime = _root["\u7269\u54C1\u4F5C\u7528\u65F6\u95F4"];
_root.unbeatable = _root["\u7269\u54C1\u4F5C\u7528\u65F6\u95F4"];
_root.getgold_sound.start();
this.removeMovieClip();
}
if (this._y > 700) {
this.removeMovieClip();
}
};
Symbol 44 MovieClip [gold] Frame 1
this._x = 70 + random(460);
this._y = -90;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 40)) {
_root.lvl = _root.lvl + 5;
_root.tmpBonus = "+5";
_root.distance_mc.gotoAndPlay(1);
_root.bonus_mc.gotoAndPlay(2);
_root.getgold_sound.start();
this.removeMovieClip();
}
if (this._y > 700) {
this.removeMovieClip();
}
};
Symbol 48 MovieClip [hp] Frame 1
this._x = 70 + random(460);
this._y = -90;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 30)) {
if (_root.hp < _root["\u6700\u5927\u751F\u547D"]) {
_root.hp++;
}
_root.tmpBonus = "HP+1";
_root.bonus_mc.gotoAndPlay(2);
_root.getgold_sound.start();
this.removeMovieClip();
}
if (this._y > 700) {
this.removeMovieClip();
}
};
Symbol 59 MovieClip [hawk] Frame 1
this._x = 30 + random(540);
this._y = -30;
this.towards = 5 - (random(2) * 10);
this._xscale = this.towards * 20;
var ss = true;
onEnterFrame = function () {
if (this.ss == true) {
this._y = this._y + _root.liftSpeed;
this._x = this._x + this.towards;
if (this._x >= 570) {
this.towards = -5;
this._xscale = -100;
} else if (this._x < 30) {
this.towards = 5;
this._xscale = 100;
}
if ((_root.GNChitCircle(this, _root.a_mc, 40) && (_root.a_mc._y > this._y)) && (_root.a_mc.yspeed < 0)) {
if (_root.unbeatable <= 0) {
_root.hp--;
if (_root.hp < 0) {
_root.scream_sound.start();
_root.gotoAndStop("gameover");
_root.ending = 1;
}
_root.a_mc.gotoAndStop("injurd");
_root.a_mc.ss_mc.gotoAndPlay(1);
_root.jump2_sound.start();
_root.a_mc.rspeed = 0;
_root.a_mc._rotation = 0;
if (_root.unbeatable < 20) {
_root.unbeatable = 20;
}
_root.a_mc.yspeed = ((-_root.a_mc.yspeed) * 0.8) + _root.liftSpeed;
_root.hit_mc.gotoAndPlay(2);
} else {
_root.tmpBonus = "+1";
_root.distance_mc.gotoAndPlay(1);
_root.bonus_mc.gotoAndPlay(2);
_root.lvl = _root.lvl + 1;
this.ss = false;
}
} else if ((_root.GNChitCircle(this, _root.a_mc, 40) && (_root.a_mc._y < this._y)) && (_root.a_mc.yspeed > 0)) {
_root.a_mc.yspeed = _root.a_mc.yspeed * -0.6;
_root.a_mc.yspeed = _root.a_mc.yspeed - 4;
_root.tmpBonus = "+3";
_root.distance_mc.gotoAndPlay(1);
_root.bonus_mc.gotoAndPlay(2);
_root.lvl = _root.lvl + 3;
this.ss = false;
}
} else {
this._y = this._y + 30;
}
if (this._y >= 700) {
this.removeMovieClip();
}
};
Symbol 61 MovieClip [dangerST] Frame 1
this._x = 30 + random(430);
this.cacheAsBitmap = true;
this._y = -50;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if ((this.hitTest(_root.a_mc._x - 23, _root.a_mc._y, false) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed < -2) || (Key.isDown(39)))) {
_root.a_mc.xspeed = 5;
} else if (((this.hitTest(_root.a_mc._x + 23, _root.a_mc._y, false) && (_root.unbeatable <= 0)) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed > 2) || (Key.isDown(37)))) {
_root.a_mc.xspeed = -5;
} else if (this.hitTest(_root.a_mc._x, _root.a_mc._y + 23, false)) {
_root.a_mc.yspeed = -14;
_root.a_mc.xspeed = 10 - random(21);
_root.a_mc.rspeed = 70 - random(141);
_root.hit_mc.gotoAndPlay(2);
if (_root.unbeatable <= 0) {
_root.hp--;
if (_root.hp < 0) {
_root.scream_sound.start();
_root.gotoAndStop("gameover");
_root.ending = 1;
}
}
if (_root.unbeatable < 20) {
_root.unbeatable = 20;
}
_root.a_mc.gotoAndStop("injurd");
_root.a_mc.ss_mc.gotoAndPlay(1);
_root.jump2_sound.start();
} else if (this.hitTest(_root.a_mc._x, _root.a_mc._y - 23, false) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
if (_root.a_mc.yspeed < 0) {
_root.a_mc.gotoAndStop("top");
_root.a_mc.yspeed = _root.a_mc.yspeed * -0.6;
}
_root.a_mc._y = _root.a_mc._y + 3;
}
if (this._y > 620) {
this.removeMovieClip();
}
};
Symbol 63 MovieClip [nomalST] Frame 1
this._x = 30 + random(430);
this.cacheAsBitmap = true;
this._y = -50;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if ((this.hitTest(_root.a_mc._x - 23, _root.a_mc._y, false) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed < -2) || (Key.isDown(39)))) {
_root.a_mc.xspeed = 5;
} else if (((this.hitTest(_root.a_mc._x + 23, _root.a_mc._y, false) && (_root.unbeatable <= 0)) && (_root.unbeatable <= 0)) && ((_root.a_mc.xspeed > 2) || (Key.isDown(37)))) {
_root.a_mc.xspeed = -5;
} else if (this.hitTest(_root.a_mc._x, _root.a_mc._y + 23, false) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
_root.a_mc.yspeed = _root.liftSpeed;
_root.a_mc.xspeed = 0;
_root.a_mc.rspeed = 0;
_root.a_mc._rotation = 0;
_root.a_mc._y = this._y - 23;
_root.canJump = true;
_root.a_mc.launch_mc.play();
_root.timer_canJump.gotoAndPlay(2);
} else if (this.hitTest(_root.a_mc._x, _root.a_mc._y - 23, false) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
if (_root.a_mc.yspeed < 0) {
_root.a_mc.yspeed = _root.a_mc.yspeed * -0.6;
_root.a_mc.gotoAndStop("top");
}
_root.a_mc._y = _root.a_mc._y + 3;
}
if (this._y > 620) {
this.removeMovieClip();
}
};
Symbol 65 MovieClip [testST] Frame 1
this._x = 230;
this._y = 220;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (this.hitTest(_root.a_mc._x, _root.a_mc._y + 23, false) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
_root.a_mc.yspeed = _root.liftSpeed;
_root.a_mc.xspeed = 0;
_root.a_mc.rspeed = 0;
_root.a_mc._rotation = 0;
_root.a_mc._y = this._y - 23;
_root.canJump = true;
_root.a_mc.launch_mc.play();
_root.timer_canJump.gotoAndPlay(2);
} else if (this.hitTest(_root.a_mc._x, _root.a_mc._y - 23, false) && ((_root.unbeatable <= 0) || (_root.a_mc._y < 500))) {
if (_root.a_mc.yspeed < 0) {
_root.a_mc.yspeed = _root.a_mc.yspeed * -0.6;
_root.a_mc.gotoAndStop("top");
}
_root.a_mc._y = _root.a_mc._y + 3;
}
if (this._y > 620) {
this.removeMovieClip();
}
};
Symbol 77 MovieClip [SL] Frame 13
this.removeMovieClip();
Symbol 81 MovieClip [hit] Frame 1
stop();
Symbol 81 MovieClip [hit] Frame 2
this._rotation = random(360);
this._x = _root.a_mc._x;
this._y = _root.a_mc._y;
Symbol 85 MovieClip [cloud] Frame 1
this.towards = random(2);
this.cacheAsBitmap = true;
if (this.towards == 0) {
this.towards = -1;
}
this._y = random(450) - 350;
this._alpha = random(20) + 30;
this._x = 300 - (this.towards * 380);
this._xscale = random(50) + 50;
this._yscale = this._xscale;
this.speed = 1 + Math.random();
this.yspeed = random(3) + 2;
onEnterFrame = function () {
this._x = this._x + (this.towards * this.speed);
this._y = this._y + (_root.liftSpeed / this.yspeed);
if (((this._y > 680) || (this._x > 720)) || (this._x < -100)) {
this.removeMovieClip();
}
};
gotoAndStop(random(this._totalframes) + 1);
Symbol 90 MovieClip [cy] Frame 1
this.towards = random(2);
this._y = -30;
if (this.towards == 0) {
this._x = 25;
} else {
this._x = 575;
this._xscale = -100;
}
this.ss = true;
onEnterFrame = function () {
if (this.ss == true) {
this._y = this._y + _root.liftSpeed;
if (_root.GNChitCircle(this, _root.a_mc, 55)) {
_root.a_mc.xspeed = (-(this.towards - 0.5)) * 26;
if (_root.unbeatable <= 0) {
_root.hp--;
if (_root.hp < 0) {
_root.scream_sound.start();
_root.gotoAndStop("gameover");
_root.ending = 1;
}
}
if (_root.unbeatable < 20) {
_root.unbeatable = 20;
} else {
_root.tmpBonus = "+3";
_root.distance_mc.gotoAndPlay(1);
_root.bonus_mc.gotoAndPlay(2);
_root.lvl = _root.lvl + 3;
this.ss = false;
}
_root.a_mc.gotoAndStop("injurd");
_root.hit_mc.play();
_root.jump2_sound.start();
}
if (this._y > 630) {
this.removeMovieClip;
}
} else {
this._y = this._y + 30;
}
};
Symbol 113 MovieClip [logo] Frame 1
_x = (Stage.width / 2);
_y = (Stage.height / 2);
onPress = function () {
getURL ("www.freeworldgroup", "_blank");
};
Symbol 113 MovieClip [logo] Frame 115
stop();
onEnterFrame = function () {
if (_alpha <= 0) {
_root.play();
_root.bOpen = true;
this.unloadMovie();
} else {
_alpha = (_alpha - 5);
}
};
Symbol 119 MovieClip Frame 1
stop();
Instance of Symbol 113 MovieClip [logo] in Symbol 119 MovieClip Frame 17
//component parameters
onClipEvent (construct) {
bOpen = false;
}
Instance of Symbol 136 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
if (_root.bOpen != true) {
_root.unloadMovie();
}
}
Symbol 142 Button
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 146 Button
on (release) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 150 Button
on (release) {
if (_root.skipIns == true) {
_root.gotoAndStop("startgame");
} else {
_root.gotoAndStop("instructions");
}
}
Symbol 154 Button
on (release) {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=bouncydraw", "_blank");
}
Symbol 158 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 162 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 167 MovieClip Frame 1
this.onRelease = function () {
getURL ("http://www.freeworldgroup.com", "_blank");
trace("p3");
};
Symbol 172 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 175 Button
on (release) {
_root.gotoAndStop("credits");
}
Symbol 177 MovieClip Frame 2
if (((Key.isDown(71) && (Key.isDown(78))) && (Key.isDown(67))) && (Key.isDown(13))) {
} else {
gotoAndPlay (1);
}
Symbol 177 MovieClip Frame 5
if ((Key.isDown(71) && (Key.isDown(78))) && (Key.isDown(67))) {
gotoAndPlay (3);
}
Symbol 191 Button
on (release) {
this.nextFrame();
}
Symbol 195 Button
on (release) {
_root.gotoAndStop("startgame");
}
Symbol 200 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 218 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 1
onEnterFrame = function () {
if (_root.GNChitCircle(this, _root.a_mc, 55)) {
if (_root.unbeatable <= 0) {
_root.hp--;
}
if (_root.hp < 0) {
_root.scream_sound.start();
_root.gotoAndStop("gameover");
_root.ending = 1;
}
_root.a_mc.gotoAndStop("injurd");
_root.a_mc.ss_mc.gotoAndPlay(1);
_root.a_mc._x = _root.a_mc._x + 5;
_root.a_mc.xspeed = 5;
_root.jump2_sound.start();
_root.a_mc.rspeed = 0;
_root.a_mc._rotation = 0;
if (_root.unbeatable < 20) {
_root.unbeatable = 20;
}
_root.a_mc.yspeed = ((-_root.a_mc.yspeed) * 0.8) + _root.liftSpeed;
_root.hit_mc.gotoAndPlay(2);
}
};
Symbol 232 MovieClip Frame 1
var tmp = _root["\u6050\u9F99\u79BB\u5F00\u5C4F\u5E55\u6700\u5927\u8DDD\u79BB"];
onEnterFrame = function () {
if (_root.hp > 0) {
this._y = this._y - (_root.hard + ((_root.lvl / 100) * _root["\u6050\u9F99\u589E\u52A0\u901F\u5EA6"]));
} else {
this._y = this._y + 10;
}
if (this._y < 400) {
this._y = 400;
} else if (this._y > tmp) {
this._y = tmp;
}
};
Symbol 232 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 1
this.cacheAsBitmap = true;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
_root.cytotal = _root.cytotal + 3;
if (this._y > 650) {
this._y = this._y - 610;
}
if (this._y < 0) {
this._y = this._y + 610;
}
};
Symbol 236 MovieClip Frame 1
this.cacheAsBitmap = true;
onEnterFrame = function () {
this._y = this._y + _root.liftSpeed;
if (this._y > 650) {
this._y = this._y - 600;
}
if (this._y < 0) {
this._y = this._y + 600;
}
};
Symbol 237 MovieClip Frame 4
if (_root.cytotal > rfs) {
_root.cytotal = _root.cytotal - rfs;
_root.lvl = _root.lvl + 0.5;
_root.nextST++;
if ((_root.lvl % 1) == 0) {
_root.distance_mc.distance_mc.gotoAndPlay(1);
_root.refreshST();
} else if (_root.lvl > 200) {
var tmp = random(3);
if (tmp != 1) {
_root.refreshST();
}
} else if (_root.lvl > 100) {
var tmp = random(3);
if (tmp == 1) {
_root.refreshST();
}
}
if ((_root.nextST % 3) == 0) {
_root.refreshFD();
}
if ((_root.nextST % 2) == 0) {
_root.refreshCL();
}
}
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 5
if ((_root.vmax != "up") || (_root.vmaxTime <= 0)) {
this.gotoAndStop(1);
} else {
this.gotoAndPlay(2);
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 10
if (tmp == true) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 5
if ((_root.vmax != "down") || (_root.vmaxTime <= 0)) {
this.gotoAndStop(1);
} else {
this.gotoAndPlay(2);
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 20
_parent.gotoAndStop("nomal");
Symbol 272 MovieClip Frame 31
_parent.gotoAndStop("nomal");
Symbol 274 MovieClip Frame 6
_parent.gotoAndStop("nomal");
Symbol 275 MovieClip Frame 4
_parent.gotoAndStop("nomal");
Symbol 276 MovieClip Frame 1
this.useHandCursor = false;
gotoAndStop (2);
Symbol 277 MovieClip Frame 1
_root.canJump = false;
stop();
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.vmaxTime > 0) {
this._x = (_root.vmaxTime / 450) * 110;
}
}
Symbol 287 MovieClip Frame 1
onEnterFrame = function () {
if (_root.vmaxTime <= 0) {
this.gotoAndStop("none");
} else {
this.gotoAndStop(_root.vmax);
}
};
Symbol 287 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
this._x = _root.a_mc._x;
this._y = _root.a_mc._y;
Symbol 301 MovieClip Frame 2
a_mc.a_txt.text = Math.floor(_root.lvl);
Symbol 301 MovieClip Frame 6
stop();
Symbol 308 Button
on (release) {
_root._quality = "LOW";
v_mc._x = -230;
}
Symbol 312 Button
on (release) {
_root._quality = "MEDIUM";
v_mc._x = -100;
}
Symbol 316 Button
on (release) {
_root._quality = "HIGH";
v_mc._x = -10;
}
Symbol 320 Button
on (release) {
_root._quality = "BEST";
v_mc._x = 90;
}
Symbol 323 MovieClip Frame 1
v_mc._x = -10;
this._visible = false;
Symbol 327 Button
on (release) {
if (_root.x_mc._visible == true) {
_root.x_mc._visible = false;
_root.scream_sound.setVolume(100);
} else {
_root.x_mc._visible = true;
_root.scream_sound.setVolume(0);
}
}
Symbol 331 Button
on (release) {
_root.qView_mc._visible = true;
}
Symbol 345 Button
on (release) {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=bouncydraw", "_blank");
}
Symbol 349 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 354 Button
on (release) {
_parent.b1.enabled = false;
_parent.b2.enabled = false;
_parent.b3.enabled = false;
_parent.b4.enabled = false;
_parent.b5.enabled = false;
gotoAndStop ("submit");
}
Symbol 358 Button
on (release) {
gotoAndStop ("submited");
}
Symbol 361 Button
on (release) {
_parent.b1.enabled = true;
_parent.b2.enabled = true;
_parent.b3.enabled = true;
_parent.b4.enabled = true;
_parent.b5.enabled = true;
_visible = false;
}
Symbol 377 MovieClip Frame 1
stop();
var highscore = _root.lvl;
Symbol 377 MovieClip Frame 3
stop();
gold_txt.text = highscore;
var send_var = new LoadVars();
var load_var = new LoadVars();
ok_btn.onRelease = function () {
send_var.game = "bouncydraw";
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
};
load_var.onLoad = function () {
gotoAndStop ("done");
};
Instance of Symbol 377 MovieClip in Symbol 378 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
_game_name = "dfinder2";
score_var = "_root.game.score";
}
Symbol 379 MovieClip Frame 101
stop();
Symbol 393 Button
on (release) {
_root.gotoAndStop("menu");
}