Frame 1
this.preloader_menu.onEnterFrame = function () {
bytesLoaded = getBytesLoaded();
bytesTotal = getBytesTotal();
if (bytesTotal > -1) {
percent = bytesLoaded / bytesTotal;
percentage = Math.round(percent * 100);
this.percent_txt.text = percentage + "%";
if (percentage >= 100) {
this._visible = false;
this.percent_txt._visible = false;
this._parent.gotoAndPlay(2);
}
}
};
stop();
Frame 3
stop();
Frame 4
stop();
this.attachMovie("top_panel_", "top_panel_", 121212);
this.table.mc_power._visible = false;
Frame 5
if (resetowana) {
taken_speed = undefined;
resetowana = false;
}
dist_equate = 0;
this.gotoAndStop(6);
Frame 6
game = function () {
init_bg();
init_prop();
init_hero();
init_wheel();
sounds_function();
this.empty.onEnterFrame = function () {
set_distance();
power_bar_function();
scroll_function();
attach_hills();
this._parent.top_panel_.mc_play_again.onRelease = function () {
this._parent._parent.gotoAndStop(4);
this._parent._parent.container.shrek.removeMovieClip();
resetowana = true;
this._parent._parent.table.removeMovieClip();
this._parent._parent.container.removeMovieClip();
this._parent._parent.empty.removeMovieClip();
this._parent.removeMovieClip();
this.removeMovieClip();
};
if (nielot) {
this._parent.container.shrek.in_shrek.shrek_anim.gotoAndStop(2);
} else {
this._parent.container.shrek.in_shrek.shrek_anim.gotoAndStop(1);
}
};
};
sounds_function = function () {
_global.sound1 = new Sound(this.createEmptyMovieClip("mc_sound11", 54322));
_global.sound1.attachSound("catapult_throw");
_global.sound1.setVolume(70);
_global.sound2 = new Sound(this.createEmptyMovieClip("mc_sound12", 54323));
_global.sound2.attachSound("collecting_crowns");
_global.sound2.setVolume(70);
_global.sound3 = new Sound(this.createEmptyMovieClip("mc_sound13", 54324));
_global.sound3.attachSound("hitting");
_global.sound3.setVolume(70);
};
power_bar_function = function () {
var _local3 = this.table.mc_power;
var _local2 = this.table.power_bar;
if (go) {
if (plus) {
_local2._xscale = _local2._xscale + 10;
}
if (_local2._xscale >= 100) {
_local2._xscale = 100;
plus = false;
}
if (!plus) {
_local2._xscale = _local2._xscale - 10;
}
if (_local2._xscale <= 0) {
_local2._xscale = 0;
plus = true;
}
}
_local3._x = _local2._x + _local2._width;
};
init_prop = function () {
go = true;
dist_array = new Array();
save_best_dist = true;
zmienna_ = true;
counter = 0;
n = 0;
space_click = new Object();
once_space = true;
speed = 0;
crows_nr = 0;
once_speed = true;
};
init_bg = function () {
this.createEmptyMovieClip("container", 100);
this.createEmptyMovieClip("empty", 99);
this.container.createEmptyMovieClip("terrain", 5002, {_x:0, _y:0});
this.container.attachMovie("mc_bgStill", "mc_house", 6000, {_x:250, _y:200});
this.container.attachMovie("scroll_2", "scroll_2", 100001);
this.container.attachMovie("mc_mudScroll", "mc_mudSlide", 5000, {_x:this.container.mc_house._x, _y:150});
this.container.attachMovie("mc_background", "scroll_3", 4999);
this.container.createEmptyMovieClip("przeLayer", 8000, {_x:0, _y:0});
this.container.createEmptyMovieClip("catLayer", 8001, {_x:0, _y:0});
this.container.scroll_2.cacheAsBitmap = true;
this.container.scroll_2._y = 230;
this.container.terrain.cacheAsBitmap = true;
this.container.terrain.attachMovie("t_2", "t_1", 40000, {_x:0, _y:20});
this.createEmptyMovieClip("table", 260000);
this.table.attachMovie("power_bar", "power_bar", 1000, {_x:25, _y:50, _xscale:0, _alpha:0});
this.table.attachMovie("distance", "distance", 1001, {_x:320, _y:20});
this.table.attachMovie("crows_number", "crows_number", 1564, {_x:220, _y:20});
this.table.distance.distance_txt.text = 0;
this.table.crows_number.crows_number_txt.text = 0;
this.table.attachMovie("mc_powermark", "mc_power", 1003, {_x:this.table.power_bar._x, _y:this.table.power_bar._y - 30, _visible:true});
};
dist_2 = 0;
set_distance = function () {
var _local2 = this.container.terrain.t_1._width / 2;
dist = (-this.container.terrain.t_1._x) - this.container.shrek._x;
dist_2 = dist + (_local2 * n);
dist_equate = dist + 140.1;
if (n >= 1) {
dist_equate = dist_2 + 140.1;
}
if (save_best_dist) {
this.table.distance.distance_txt.text = Math.floor(dist_equate);
}
dist_array[0] = dist_equate;
dist_array[1] = dist_equate + this.container.wheel1.dx;
dist_reset = dist_array[1] - dist_array[0];
if (dist_reset <= 0.0245) {
dist_reset = 0;
}
if (this.container.wheel1.dx >= 0.2) {
zmienna_ = false;
}
if ((dist_reset <= 0) && (!zmienna_)) {
if (save_best_dist) {
dist_best = Math.floor(dist_array[0]);
this.table.distance.distance_txt.text = dist_best;
play_again();
save_best_dist = false;
}
}
};
failure_ = true;
stop_by_tree = false;
play_again = function () {
if ((failure_ && (stop_by_tree)) || (failure_ && (crows_nr < 20))) {
this.attachMovie("mc_failure", "mc_failure", 500000, {_y:-50});
resetowana = true;
failure_ = false;
} else if (failure_ && (crows_nr >= 20)) {
this.attachMovie("mc_success", "mc_success", 500000, {_y:-50});
resetowana = true;
failure_ = false;
}
};
init_shrek_bitmap = function () {
this.container.shrek.in_shrek.attachMovie("shrek_anim_mc", "shrek_anim", 1);
};
init_hero_coordinate = function () {
this.container.shrek._x = 100;
this.container.shrek._y = 250;
};
init_wheel = function () {
this.container.attachMovie("wheel0", "wheel0", 90000, {_x:0, _y:250});
this.container.attachMovie("wheel1", "wheel1", 90001, {_x:50, _y:290});
};
init_hero = function () {
this.container.attachMovie("shrek", "shrek", 100000, {_x:50, _y:360});
init_shrek_bitmap();
init_hero_coordinate();
};
game();
function wheelControl() {
this._y = this._y + this.dy;
accelerating = false;
shrek_slide();
if (taken_speed != undefined) {
if (once_speed) {
this.dx = taken_speed;
once_speed = false;
}
}
if (oneOnGround) {
this.dx = this.dx * 0.9999;
nielot = true;
}
if (oneOnGround && (this.dx <= 10)) {
this.dx = this.dx * 0.991;
}
if (oneOnGround && (this.dx <= 4)) {
this.dx = this.dx * 0.986;
}
if ((oneOnGround && (this.dx <= 2)) && (this.dx > 0)) {
this.dx = this.dx * 0.94;
}
if ((this.dx <= 0) && (!na_gorce)) {
this.dx = this.dx * 0.1;
}
if (!oneOnGround) {
this.dx = this.dx * 0.997;
nielot = false;
}
this.dy = this.dy + 1;
if (this._parent.terrain.hitTest(this._x + this._parent._parent._x, this._y + this._parent._parent._y, true)) {
var _local2 = this._y + this._parent._parent._y;
var _local3 = 0;
while (this._parent.terrain.hitTest(this._x + this._parent._parent._x, _local2, true)) {
_local2--;
_local3++;
}
if (_local3 < 5) {
_local3 = 0;
}
this._y = _local2 - this._parent._parent._y;
this.onGround = true;
} else {
this.onGround = false;
}
if (this.dy > 15) {
this.dy = 15;
}
if (this.dy < -15) {
this.dy = -15;
}
}
function myOnKeyDown() {
if (Key.isDown(17) && (oneOnGround)) {
container.wheel0.dy = -70;
container.wheel1.dy = -70;
}
}
shrek_jump_slide = function () {
var _local2 = this.table.power_bar._xscale * 2;
go = false;
speed = _local2 / 4;
if (speed == 0) {
speed = 5;
}
return(speed);
};
shrek_slide = function () {
var _local2 = this._parent.shrek;
space_click.onKeyDown = function () {
if ((Key.getCode() == 32) && (once_space)) {
shrek_jump_slide();
container.attachMovie("shrek_jumps", "s_j", 696966);
container.createEmptyMovieClip("check", 787878);
container.check.onEnterFrame = function () {
if (this._parent.s_j._currentframe >= 24) {
taken_speed = speed;
this._parent.s_j.removeMovieClip();
this.removeMovieClip();
return(taken_speed);
}
};
once_space = false;
}
};
space_click.onKeyUp = function () {
if (Key.getCode() == 32) {
}
};
Key.addListener(space_click);
};
this.container.wheel1.dx = 0;
this.container.wheel1.dy = 0;
this.container.wheel1._alpha = 0;
this.container.wheel1.onEnterFrame = wheelControl;
this.container.wheel0.dx = 0;
this.container.wheel0.dy = 0;
this.container.wheel0._alpha = 0;
this.container.wheel0.onEnterFrame = wheelControl;
var myListener = new Object();
myListener.onKeyDown = myOnKeyDown;
Key.addListener(myListener);
this.container.shrek.onEnterFrame = function () {
var _local5 = (this._parent.wheel1._y + this._parent.wheel0._y) / 2;
this._x = 140.1;
this._y = _local5;
var _local3 = this._parent.wheel1._x - this._parent.wheel0._x;
var _local2 = this._parent.wheel1._y - this._parent.wheel0._y;
ang = Math.atan2(_local2, _local3);
this._rotation = 180 * (ang / Math.PI);
this._parent.wheel0._rotation = this._rotation + 40;
this._parent.wheel1._rotation = this._rotation - 40;
allOnGround = this._parent.wheel0.onGround & this._parent.wheel1.onGround;
oneOnGround = this._parent.wheel0.onGround | this._parent.wheel1.onGround;
if ((allOnGround && (!accelerating)) && ((ang < -0.1) || (ang > 0.1))) {
this._parent.wheel0.dx = this._parent.wheel0.dx + (ang / 2);
this._parent.wheel1.dx = this._parent.wheel1.dx + (ang / 2);
}
if (ang < -1.4) {
ang = -1.4;
}
if (ang > 1.4) {
ang = 1.4;
}
var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
if ((_local4 > 61) || (_local4 < 58)) {
this._parent.wheel0._x = this._x - (Math.cos(ang) * 30);
this._parent.wheel0._y = this._y - (Math.sin(ang) * 30);
this._parent.wheel1._x = this._x + (Math.cos(ang) * 30);
this._parent.wheel1._y = this._y + (Math.sin(ang) * 30);
}
};
hill_dp = 20000;
hill_put = true;
ltg = new Object();
jump_dp = 340000 /* 0x053020 */;
attach_hills = function () {
hill_cnt++;
if ((this._parent.terrain.t_1._x >= 0) && (hill_put)) {
var _local3 = Math.floor((Math.random() * 800) + 2800);
var _local2 = "hill_" + hill_dp;
var jump_nm = ("jumping" + jump_dp);
this.container.terrain.attachMovie("hill_1", _local2, hill_dp, {_x:_local3, _y:230});
var _local5 = this.container;
ltg.x = this.container._x;
ltg.y = this.container._y;
this.container.terrain[_local2].localToGlobal(ltg);
cr_x = ltg.x;
cr_y = ltg.y;
coor_x_w = cr_x + this.container.terrain[_local2]._width;
coor_x_w2 = cr_x - (((this.container.terrain[_local2]._width / 2) + (Math.random() * 650)) + 200);
this.container.terrain[_local2].onEnterFrame = function () {
this._x = this._x - this._parent._parent.wheel1.dx;
if (this._x <= (-this._width)) {
this._parent[jump_nm].removeMovieClip();
this.removeMovieClip();
hill_put = true;
}
};
przeszkody(coor_x_w);
catapult_function(coor_x_w2);
hill_dp++;
hill_put = false;
}
};
this.container.terrain.onEnterFrame = function () {
this.t_1._x = this.t_1._x - this._parent.wheel1.dx;
if (this.t_1._x <= ((-this.t_1._width) / 2)) {
this.t_1._x = 0;
n = n + 1;
}
crow_push();
};
scroll_function = function () {
this.container.scroll_2._x = this.container.scroll_2._x - (this.container.wheel1.dx * 2);
if (this.container.scroll_2._x <= ((-this.container.scroll_2._width) / 2)) {
this.container.scroll_2._x = 0;
}
this.container.scroll_3._x = this.container.scroll_3._x - (this.container.wheel1.dx / 10);
if (this.container.scroll_3._x <= ((-this.container.scroll_3._width) / 2)) {
this.container.scroll_3._x = -45;
}
this.container.mc_mudSlide._x = this.container.mc_mudSlide._x - this.container.wheel1.dx;
if (this.container.mc_mudSlide._x <= (-(this.container.mc_mudSlide._width / 2))) {
this.container.mc_mudSlide._x = 0;
}
this.container.mc_house._x = this.container.mc_house._x - this.container.wheel1.dx;
if (this.container.mc_house._x <= (-this.container.mc_house._width)) {
this.container.mc_house.removeMovieClip();
}
};
prze_array = new Array();
p_d = 9000;
mozna_p = true;
put_prze = function (type, nam, depth, x, which) {
this.container.przeLayer.attachMovie(type, nam, p_depth, x);
this.container.przeLayer[nam].cacheAsBitmap = true;
prze_array.push(this.container.przeLayer[nam]);
this.container.attachMovie("jump", jump_nm, jump_dp, {_rotation:-45});
this.container[jump_nm]._x = (this.container.przeLayer[nam]._x - 350) + this._x;
this.container[jump_nm]._y = this.container.przeLayer[nam]._y;
jump_dp++;
this.container[jump_nm].onEnterFrame = function () {
this._x = this._x - this._parent.wheel1.dx;
if (this._x <= -200) {
this.removeMovieClip();
}
};
for (var _local3 in prze_array) {
var _local2 = prze_array[_local3];
_local2.onEnterFrame = go_prze;
}
};
var collid_tree = 0;
var collid_swa = 0;
once_hit_obs = true;
go_prze = function () {
if (((this._name.indexOf("prze_tree") != -1) && (this._parent._parent.shrek.s_czujka.hitTest(this.hit_czujka))) && (this._parent._parent.shrek._x <= this._x)) {
if (once_hit_obs) {
sound3.start(0, 1);
once_hit_obs = false;
}
this._parent._parent.wheel1.dx = -2;
this._parent._parent.wheel0.dx = -2;
stop_by_tree = true;
} else if (((this._name.indexOf("prze_tree") != -1) && (this._parent._parent.shrek.s_czujka.hitTest(this.hit_czujka))) && (this._parent._parent.shrek._y <= this._y)) {
this._parent._parent.wheel1.dy = -2;
this._parent._parent.wheel0.dy = -2;
}
if (((this._name.indexOf("prze_newT") != -1) && (this._parent._parent.shrek.s_czujka.hitTest(this.hit_czujka))) && (this._parent._parent.shrek._x <= this._x)) {
if (once_hit_obs) {
sound3.start(0, 1);
once_hit_obs = false;
}
this._parent._parent.wheel1.dx = -2;
stop_by_tree = true;
var _local2 = 1;
} else if (((this._name.indexOf("prze_newT") != -1) && (this._parent._parent.shrek.s_czujka.hitTest(this.hit_czujka))) && (this._parent._parent.shrek._y <= this._y)) {
this._parent._parent.wheel1.dy = -2;
this._parent._parent.wheel0.dy = -2;
}
this._x = this._x - this._parent._parent.wheel1.dx;
if (this._x <= (-this._width)) {
mozna_p = true;
this.removeMovieClip();
}
};
nielot = true;
przeszkody = function (coor_x) {
if (mozna_p) {
cor = (coor_x + (Math.random() * 600)) + 1400;
var _local1 = Math.floor((Math.random() * 2) + 1);
if (_local1 == 1) {
var _local3 = "prze_tree" + p_d;
put_prze("prze_1", _local3, p_d, {_x:cor, _y:260});
} else if (_local1 == 2) {
var _local2 = "prze_newT" + p_d;
put_prze("prze_3", _local2, p_d, {_x:cor, _y:260});
}
p_d++;
if (p_d >= 9020) {
p_d = 9000;
}
mozna_p = false;
}
};
put_cat = function (types, cat, depthc, x, which) {
this.container.catLayer.attachMovie(types, cat, c_depthc, x);
this.container.catLayer[cat].cacheAsBitmap = true;
this.container.catLayer[cat].onEnterFrame = cat_go;
};
cat_go = function () {
this._x = this._x - this._parent._parent.wheel1.dx;
if (this._x <= (-this._width)) {
this.removeMovieClip();
}
if (this._parent._parent.shrek.hitTest(this.tramp_inside.czujka)) {
sound1.start(0, 1);
this.tramp_inside.gotoAndStop(2);
this._parent._parent.wheel1.dy = -80;
this._parent._parent.wheel0.dy = -80;
this._parent._parent.wheel1.dx = this._parent._parent.wheel1.dx + 6;
this._parent._parent.wheel0.dx = this._parent._parent.wheel0.dx + 6;
}
};
p_cat = 11000;
catapult_function = function (coor_x) {
var _local2 = coor_x;
var _local1 = "tramp" + p_cat;
put_cat("prze_2", _local1, p_cat, {_x:_local2, _y:310});
p_cat++;
if (p_cat >= 11020) {
p_cat = 11000;
}
};
function crow_push() {
if (mozna) {
c_d++;
cz_ld++;
cz_pd++;
if (cz_pd >= 37020) {
cz_pd = 37000;
}
if (cz_ld >= 36020) {
cz_ld = 36000;
}
if (c_d >= 33020) {
c_d = 33000;
}
var _local2 = "crow_" + c_d;
var cz_p = ("czujka_p_" + cz_pd);
var cz_l = ("czujka_l_" + cz_ld);
this.container.attachMovie("mc_crow", _local2, c_d);
this.container[_local2].duplicateMovieClip("duplikat_89000", 89000, {_x:this._x, _y:this._y, _rotation:this._rotation});
dupli_array.push(this.container.duplikat_89000);
this.container.duplikat_89000._alpha = 0;
this.container[_local2]._x = 630;
this.container[_local2]._y = 210;
this.container[_local2].dy = 0;
this.container.attachMovie("czujka_lewa", cz_l, cz_ld, {_x:this.container[_local2]._x - (this.container[_local2]._width / 2), _y:this.container[_local2]._y + (this.container[_local2]._height / 3)});
this.container.attachMovie("czujka_prawa", cz_p, cz_pd, {_x:this.container[_local2]._x + (this.container[_local2]._width / 2), _y:this.container[_local2]._y + (this.container[_local2]._height / 3)});
this.container[cz_l]._alpha = 0;
this.container[cz_p]._alpha = 0;
this.container[cz_l].dy = 0;
this.container[cz_p].dy = 0;
this.container[_local2].onEnterFrame = function () {
var _local10 = this._parent[cz_l]._x - this._parent[cz_p]._x;
var _local9 = this._parent[cz_l]._y - this._parent[cz_p]._y;
ang_delt = Math.atan2(_local9, _local10);
this._rotation = 360 * (ang_delt / Math.PI);
var _local8 = (this._parent[cz_l]._y + this._parent[cz_p]._y) / 2.05;
this._y = _local8;
this._x = this._parent[cz_l]._x + 10;
var _local4 = dupli_array.length;
var _local3 = this._x - dupli_array[_local4 - 1]._x;
var _local6 = this._y - dupli_array[_local4 - 1]._y;
var _local5 = Math.sqrt((_local3 * _local3) + (_local6 * _local6));
if (((_local5 >= 100) && (_local5 != undefined)) && (this._parent.terrain.hitTest(this))) {
var _local2 = "duplikat_" + dep;
var _local7 = Math.floor((Math.random() * 2) + 1);
if (_local7 == 2) {
this.duplicateMovieClip(_local2, dep, {_x:this._x, _y:this._y - ((Math.random() * 150) + 70), _rotation:0, pozycja:false});
} else {
this.duplicateMovieClip(_local2, dep, {_x:this._x, _y:this._y, _rotation:this._rotation, pozycja:true});
}
this._parent[_local2].dy = 0;
dupli_array.push(this._parent[_local2]);
dep++;
if (dep >= 89100) {
dep = 89001 /* 0x015BA9 */;
}
this._parent[_local2].once = true;
this._parent[_local2].go_crow = false;
this._parent[_local2].onEnterFrame = ruszaj_sie;
}
};
this.container[cz_l].onEnterFrame = gravit_czujki;
this.container[cz_p].onEnterFrame = gravit_czujki;
mozna = false;
}
}
function gravit_czujki() {
this._y = this._y + this.dy;
this.dy = this.dy + 10.4;
if (this._parent.terrain.hitTest(this._x + this._parent._parent._x, this._y + this._parent._parent._y, true)) {
var _local2 = this._y + this._parent._parent._y;
var _local3 = 0;
while (this._parent.terrain.hitTest(this._x + this._parent._parent._x, _local2, true)) {
_local2--;
_local3++;
}
this._y = _local2 - this._parent._parent._y;
this.dy = 0;
}
}
function ruszaj_sie() {
if ((this._rotation < -30) || (this._rotation > 30)) {
this.removeMovieClip();
}
this._x = this._x - this._parent.wheel1.dx;
for (var _local3 in prze_array) {
if ((prze_array[_local3].hitTest(this) || (((this._x - prze_array[_local3]._x) < -90) && ((this._x - prze_array[_local3]._x) > -100))) || (((this._x - prze_array[_local3]._x) > 90) && ((this._x - prze_array[_local3]._x) < 100))) {
this.removeMovieClip();
}
}
if (this._x <= -100) {
this.removeMovieClip();
}
if (this.hitTest(this._parent.shrek)) {
if (this.once) {
_global.sound2.start(0, 1);
crows_nr_f();
this.once = false;
}
this.go_crow = true;
}
if (this.go_crow) {
this.nextFrame(76);
}
}
c_d = 33000;
mozna = true;
cz_ld = 36000;
cz_pd = 37000;
dep = 89001 /* 0x015BA9 */;
dupli_array = new Array();
depth_ = 100;
crows_nr_f = function () {
crows_nr = crows_nr + 1;
this.table.crows_number.crows_number_txt.text = crows_nr;
};
Array.prototype.indexOf = function (obj) {
for (var _local2 in crow_array) {
if (crow_array[_local2] === obj) {
return(_local2);
}
}
};
ASSetPropFlags(Array.prototype, "indexOf", 1, true);
Symbol 31 MovieClip [shrek_anim_mc] Frame 1
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
stop();
Symbol 179 MovieClip [shrek_jumps] Frame 24
stop();
Symbol 214 MovieClip Frame 11
stop();
Symbol 215 MovieClip [mc_crow] Frame 1
stop();
Symbol 215 MovieClip [mc_crow] Frame 14
stop();
this.removeMovieClip();
Symbol 264 MovieClip [mc_failure] Frame 1
this._parent.top_panel_.removeMovieClip();
Symbol 264 MovieClip [mc_failure] Frame 30
this._parent.container.shrek.removeMovieClip();
this._parent.container.terrain.removeMovieClip();
Symbol 264 MovieClip [mc_failure] Frame 68
stop();
this.final_score.text = (this._parent.crows_nr * 100) + this._parent.dist_best;
trace(this._parent.crows_nr * 100);
this.play_again_bt.onRelease = function () {
this._parent._parent.container.removeMovieClip();
this._parent._parent.table.removeMovieClip();
this._parent._parent.gotoAndStop(4);
this._parent.removeMovieClip();
};
Symbol 288 MovieClip Frame 1
stop();
Symbol 315 MovieClip [mc_success] Frame 1
this._parent.top_panel_.removeMovieClip();
this._parent.container.shrek.removeMovieClip();
this._parent.container.terrain.removeMovieClip();
Instance of Symbol 307 MovieClip "play_again_bt" in Symbol 315 MovieClip [mc_success] Frame 47
on (release) {
_root.nextFrame();
}
Symbol 315 MovieClip [mc_success] Frame 68
stop();
this.final_score.text = (this._parent.crows_nr * 100) + this._parent.dist_best;
this.play_again_bt.onRelease = function () {
this._parent._parent.container.removeMovieClip();
this._parent._parent.table.removeMovieClip();
this._parent._parent.gotoAndStop(4);
this._parent.removeMovieClip();
};
Symbol 325 MovieClip Frame 1
stop();
Symbol 344 MovieClip [top_panel_] Frame 44
stop();
if (this._parent.resetowana || (this._parent.resetowana == undefined)) {
this._parent.gotoAndStop(5);
}
Symbol 346 MovieClip [mc_sound1] Frame 1
stop();
Symbol 348 MovieClip [mc_sound2] Frame 1
stop();
Symbol 350 MovieClip [mc_sound3] Frame 1
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
play();
Symbol 365 MovieClip Frame 39
gotoAndPlay ("loop");
Symbol 388 MovieClip Frame 11
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 17
stop();
this.button_s.onRelease = function () {
this._parent.gotoAndPlay("foldaway");
};
Symbol 390 MovieClip Frame 28
this._parent.gotoAndPlay("flyaway");
Symbol 391 MovieClip Frame 9
mc_paperScroll.gotoAndPlay("unfold");
Symbol 391 MovieClip Frame 12
stop();
Symbol 391 MovieClip Frame 22
stop();
this._parent.createEmptyMovieClip("lighting", this.getNextHighestDepth());
this._parent.lighting.onEnterFrame = function () {
this._parent.mc_lighting._alpha = this._parent.mc_lighting._alpha - 10;
if (this._parent.mc_lighting._alpha <= 0) {
this._parent.mc_lighting._alpha = 0;
this.removeMovieClip();
}
};
this._parent.gotoAndStop(4);