Frame 1
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
stop();
Instance of Symbol 21 MovieClip "preload" in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
_root.preload.tex.text = ("Cargado " + percent) + "%";
gotoAndPlay(percent);
if (loaded == total) {
_root.preload.gotoAndPlay(101);
_root.gotoAndPlay(2);
}
}
Frame 2
score = 0;
vides = 3;
left = 0;
top = 0;
step = 0;
stop();
Frame 3
stopAllSounds();
playGame = true;
score = 0;
vides = 100;
left = 0;
top = 0;
step = 0;
restart = function () {
var _local1 = _root;
_local1.hero._x = 45;
_local1.hero._y = 270;
_local1.hero.gotoAndStop(1);
playGame = true;
};
stop();
Instance of Symbol 106 MovieClip "hero" in Frame 3
onClipEvent (load) {
function move(x, y) {
var _local1 = _root;
var _local2 = y;
var _local3 = x;
h = false;
c = _local1.map.getBounds(_local1.map);
if (!_local1.map.hitTest((_x + _local3) + b.xmin, (_y + _local2) + b.ymin, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmax, (_y + _local2) + b.ymin, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmin, (_y + _local2) + b.ymax, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmax, (_y + _local2) + b.ymax, true)) {
_x = (_x + _local3);
_y = (_y + _local2);
h = true;
}
}
}
}
return(h);
}
this.stop();
s = 4;
jumping = false;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
falling = move(0, s);
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
jumping = true;
vel = -12;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(37)) {
move(-s, 0);
this.gotoAndStop(2);
this.sonic.play();
}
if (Key.isDown(39)) {
move(s, 0);
this.gotoAndStop(1);
this.sonic.play();
}
if (jumping) {
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
jumping = false;
}
}
}
if (this._y >= 370) {
_root.playGame = false;
_root.vides = _root.vides - 1;
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
_root.hero.gotoAndStop(3);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
onClipEvent (keyUp) {
this.sonic.gotoAndStop(1);
}
Instance of Symbol 120 MovieClip "c1" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 124 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 120 MovieClip "c3" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c3.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c2" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c2.gotoAndStop(18);
}
}
Instance of Symbol 129 MovieClip in Frame 3
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 175) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 120 MovieClip "c4" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c4.gotoAndStop(18);
}
}
Frame 4
playGame = true;
left = 0;
top = 0;
step = 0;
restart = function () {
var _local1 = _root;
_local1.hero._x = 45;
_local1.hero._y = 270;
_local1.hero.gotoAndStop(1);
playGame = true;
};
stop();
Instance of Symbol 124 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 120 MovieClip "c5" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c5.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c6" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c6.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c7" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c7.gotoAndStop(18);
}
}
Instance of Symbol 129 MovieClip in Frame 4
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 175) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 129 MovieClip in Frame 4
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Frame 5
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(7);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 124 MovieClip "meta" in Frame 5
onClipEvent (load) {
this._x = 500;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 152 MovieClip in Frame 5
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 100) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 157 MovieClip in Frame 5
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 120 MovieClip "c10" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c10.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c8" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c8.gotoAndStop(18);
}
}
Instance of Symbol 160 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(34);
this._visible = false;
_root.meta._x = 309;
}
}
Instance of Symbol 120 MovieClip "c9" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c9.gotoAndStop(18);
}
}
Frame 6
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(7);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 129 MovieClip in Frame 6
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 157 MovieClip in Frame 6
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 160 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(34);
this._visible = false;
_root.meta._visible = true;
}
}
Instance of Symbol 120 MovieClip "c10" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c10.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c11" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c11.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c12" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c12.gotoAndStop(18);
}
}
Instance of Symbol 124 MovieClip "meta" in Frame 6
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Frame 7
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(2);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 124 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 129 MovieClip in Frame 7
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 170) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 120 MovieClip "c13" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c13.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c14" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c14.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c15" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c15.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c16" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c16.gotoAndStop(18);
}
}
Instance of Symbol 167 MovieClip in Frame 7
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Frame 8
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(2);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 124 MovieClip "meta" in Frame 8
onClipEvent (load) {
this._x = -500;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 160 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(34);
this._visible = false;
_root.meta._x = 200;
}
}
Instance of Symbol 167 MovieClip in Frame 8
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 40) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 129 MovieClip in Frame 8
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 120 MovieClip "c18" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c18.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c17" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c17.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "m18" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c19" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c19.gotoAndStop(18);
}
}
Instance of Symbol 152 MovieClip in Frame 8
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 100) {
count = 0;
n = -n;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Frame 9
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(5);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 120 MovieClip "c24" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c24.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c20" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c20.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c23" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c23.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c21" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c21.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c26" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c26.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c22" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c22.gotoAndStop(18);
}
}
Instance of Symbol 124 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 120 MovieClip "c25" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c25.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c27" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 500;
_root.c27.gotoAndStop(18);
}
}
Instance of Symbol 157 MovieClip in Frame 9
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 129 MovieClip in Frame 9
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 70) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 167 MovieClip in Frame 9
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Frame 10
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(5);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Instance of Symbol 129 MovieClip in Frame 10
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 160 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(34);
this._x = -200;
_root.map.movible._x = 200;
}
}
Instance of Symbol 157 MovieClip in Frame 10
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 157 MovieClip in Frame 10
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero)) {
_root.vides = _root.vides - 1;
_root.playGame = false;
_root.hero.gotoAndStop(3);
barreta = 100 - _root.vides;
_root.barra.gotoAndStop(barreta);
if (_root.vides == 0) {
_root.gotoAndPlay(19);
}
}
}
Instance of Symbol 124 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.gotoAndStop(21)();
}
}
Instance of Symbol 120 MovieClip "c31" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c31.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c32" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c32.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c30" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c30.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c36" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c36.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c35" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c35.gotoAndStop(18);
}
}
Instance of Symbol 120 MovieClip "c34" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.score = _root.score + 100;
_root.c34.gotoAndStop(18);
}
}
Frame 11
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(8);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 12
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(8);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 13
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(9);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 14
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(9);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 15
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(5);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 16
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(5);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 17
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(8);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 18
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(8);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
stop();
Frame 19
_root.scoretable._visible = false;
stop();
Frame 20
stop();
Frame 21
stop();
Frame 22
_root.scoretable.filename = "scores/scores.sco";
_root.scoretable.scoresize = 50;
_root.scoretable.action = "INSERT";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.loadVariables("scores.php", "GET");
stop();
Symbol 36 Button
on (press) {
_parent.nextFrame();
}
Symbol 40 Button
on (press) {
_parent.gotoAndPlay(20);
}
Symbol 43 Button
on (press) {
_parent.gotoAndPlay(22);
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 13
stop();
Symbol 69 MovieClip Frame 14
stop();
Symbol 69 MovieClip Frame 20
stop();
Symbol 77 MovieClip Frame 15
gotoAndPlay (1);
Symbol 78 MovieClip Frame 1
i = 0;
Symbol 78 MovieClip Frame 36
i = 0;
Instance of Symbol 73 MovieClip in Symbol 78 MovieClip Frame 36
onClipEvent (enterFrame) {
_root.ruben.cap.cara.gotoAndPlay("nofasres1");
}
Symbol 78 MovieClip Frame 69
gotoAndPlay (65);
Symbol 105 MovieClip Frame 34
_root.restart();
Instance of Symbol 100 MovieClip "sonic" in Symbol 106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37) or Key.isDown(39)) {
this.play();
} else {
this.stop();
}
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 1492
gotoAndPlay (1);
Symbol 120 MovieClip Frame 17
gotoAndPlay (1);
Symbol 122 MovieClip Frame 1
interacciones = 30;
xo = 50;
yo = 50;
var i = 0;
while (i < interacciones) {
mc = attachMovie("foto", "foto" + i, 10 + (i * 10), {_x:xo});
ancho = mc._width;
alto = mc._height;
uni = ancho / interacciones;
duplicate = _root.createEmptyMovieClip("mc" + i, 2000 + (i * 100));
duplicate.lineStyle(0);
duplicate.beginFill(0, 100);
duplicate.moveTo(0, 0);
duplicate.lineTo(0, alto);
duplicate.lineTo(uni, alto);
duplicate.lineTo(uni, 0);
duplicate.lineTo(0, 0);
duplicate._x = xo + (i * uni);
mc.setMask(duplicate);
i++;
}
this.onEnterFrame = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < interacciones) {
_local2["mc" + _local1]._y = (_local2["foto" + _local1]._y = yo + (5 * Math.sin((a = a + 0.2))));
_local1++;
}
};
Symbol 124 MovieClip Frame 11
gotoAndPlay (1);
Symbol 124 MovieClip Frame 12
gotoAndPlay (1);
Symbol 140 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 5 MovieClip "movible" in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
n = -1;
this._x = -200;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 120) {
count = 0;
n = -n;
}
}
Symbol 177 Button
on (press) {
_root.gotoAndPlay(3);
}
Symbol 182 Button
on (release) {
scoretable.filename = "scores/scores.sco";
scoretable.scoresize = 50;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.name;
scoretable.winscore = _root.score;
scoretable.loadVariables("scores.php", "GET");
_root.gotoAndPlay(22);
}
Symbol 212 Button
on (press) {
_parent.gotoAndPlay(3);
}
Instance of Symbol 120 MovieClip "c17" in Symbol 218 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 160 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(34);
_root.hero._x = 281;
_root.hero._y = 60;
}
}
Symbol 230 Button
on (press) {
_parent.gotoAndPlay(2);
}