Combined Code
frame 1 {
stop();
}
button 7 {
on (release) {
gotoAndPlay(2);
}
}
frame 2 {
pontosbalão = 0;
stop();
}
movieClip 20 {
}
movieClip 21 {
frame 1 {
stop();
}
}
movieClip 25 {
frame 163 {
stop();
}
}
movieClip 26 {
frame 1 {
stop();
}
}
instance balãoaninha of movieClip 26 {
onClipEvent (load) {
moveSpeed = 10;
}
onClipEvent (enterFrame) {
this._x -= 3;
this._y += 3;
if (Key.isDown(39)) {
this._x += moveSpeed;
tellTarget ('../balãoaninha') {
gotoAndPlay(2);
}
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
if (_root.quedabalão.hitTest(_x + x, _y + y, true)) {
tellTarget ('_root') {
gotoAndPlay('fimbalão');
}
}
if (_root.bolaazul.hitTest(_x + x, _y + y, true)) {
_root.pontosbalão += 75;
tellTarget ('../bolaazul') {
gotoAndPlay(3);
}
tellTarget ('../bell') {
gotoAndPlay(2);
}
}
if (_root.bolaazul1.hitTest(_x + x, _y + y, true)) {
_root.pontosbalão += 75;
tellTarget ('../bolaazul1') {
gotoAndPlay(3);
}
tellTarget ('../bell') {
gotoAndPlay(2);
}
}
if (_root.bolaverm.hitTest(_x + x, _y + y, true)) {
_root.pontosbalão -= 50;
tellTarget ('../bolaverm') {
gotoAndPlay(3);
}
tellTarget ('../oops') {
gotoAndPlay(2);
}
}
}
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 31 {
frame 1 {
stop();
}
instance bolaazulint of movieClip 30 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 850;
this._y = 100 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 60);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
}
movieClip 32 {
frame 1 {
stop();
}
instance bolaazulint of movieClip 30 {
onClipEvent (load) {
this._x = -80;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -60) {
this._x = 800;
this._y = 100 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 60);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
}
instance bolaazul of movieClip 32 {
}
movieClip 34 {
}
movieClip 35 {
frame 1 {
stop();
}
instance bolaazulint of movieClip 34 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 900;
this._y = 80 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 60);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
}
movieClip 37 {
}
instance nuvemc4 of movieClip 37 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 800;
this._y = 300 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 20);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
instance nuvemc4 of movieClip 37 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 800;
this._y = 300 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 20);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
instance nuvemc4 of movieClip 37 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 800;
this._y = 300 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 20);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
instance nuvemc4 of movieClip 37 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 800;
this._y = 300 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 20);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
movieClip 40 {
frame 1 {
..:timerbalão = '120';
}
frame 13 {
..:timerbalão -= 1;
if (..:timerbalão == 0) {
tellTarget ('_root') {
gotoAndPlay('ganhabalão');
}
} else {
gotoAndPlay(2);
}
}
}
instance nuvemc4 of movieClip 37 {
onClipEvent (load) {
this._x = -50;
}
onClipEvent (enterFrame) {
this._x -= velocidade;
if (this._x < -30) {
this._x = 800;
this._y = 300 - Math.random() * 200;
do {
escala = Math.random() * 100;
} while (escala < 20);
this._xscale = escala;
this._yscale = escala;
do {
velocidade = Math.random() * 5;
} while (velocidade < 2);
}
}
}
movieClip 46 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
movieClip 48 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 50 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
frame 3 {
tellTarget ('music') {
gotoAndStop(1);
}
stop();
}
button 58 {
on (release) {
gotoAndPlay(1);
}
}
frame 4 {
tellTarget ('oops') {
gotoAndPlay(2);
}
stop();
}