STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229473
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2574 · P5148

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/34484566?noj=FRM34484566-10DC" width="1" height="1"></div>

Black'n'Orange.swf

This is the info page for
Flash #62940

(Click the ID number above for more basic data on this flash file.)


Text
AWESOME LOADING MAN!

SPONSORED BY

BLACK'N'ORANGE

A game by Awoke

Carregar
tudo

AWARD UNLOCKED

HIGH

LOW

PLAY

PLAY

BLACK  ORANGE

'N'

A GAME BY AWOKE

V 1.03
© Awoke 2009

AWARDS

AWARDS

CREDITS

CREDITS

LEVEL SELECT

LEVEL SELECT

LEVEL SELECT

HOW TO PLAY

P-PAUSE GAME

M-MUTE MUSIC

Q-CHANGE QUALITY

LEVEL SELECT

HOW TO PLAY

HOW TO PLAY

HOW TO PLAY

85

01

Total Score: 1000

85

02

85

03

120

85

04

190

85

05

270

85

06

350

85

07

420

85

08

500

85

09

580

EASY

MEDIUM

HARD

85

10

640

85

11

710

85

12

850

YOUR GAME IS AUTOSAVED.

MORE GAMES

MORE GAMES

MORE GAMES

AWARDS

ROOKIE

SUPER STAR

WALLS ARE COOL

I LIKE WALLS

I LOVE WALLS

WALL WALKER

WALLHITTER

SUPPORTER

Launch the star 3 times.

FLYER

SHINING STAR

<

<

CADET

Launch the star 8 times.

Launch the star 15 times.

Launch the star 28 times.

Launch the star 50 times.

Hit wall once.

Hit walls 10 times.

Hit walls 20 times.

Hit walls 50 times.

Hit walls 100 times.

Visit our sponsor.

BALLS HITTER

BALLS HATER

JUST BEGINNING I

JUST BEGINNING II

CASUAL PLAYER

NORMAL PLAYER

GAME FREAK

APRECIATOR

BALLS PUSHER

BALLS DISLIKER

BALLS KILLER

Hit 10 targets.

Hit 25 targets.

Hit 60 targets.

Hit 120 targets.

Hit 200 targets.

Score 50 points.

Score 200 points.

Score 400 points.

Score 650 points.

Score 900 points.

Saw Credits.

22/22

CREDITS

MAIN TEAM
Awoke
Karboon
Lukin
Pinguim Voador
Uchiha

BETA TESTERS
AioriaRox
Bitoru
DeepBlueMax
Flaguna
Gabrielzx
Gelatina1996
Guidoido
Imas
Isabelinha56
LuizZak
SonicBoom
SchedoW
Toby666

SPECIAL THANKS
Emanuele Feronato
Flash Game License
FlashKit
GMaker0507
Gelatina1996
Matheus28
Rei Kuboyama
Steve

Time: 0

0/5

LAUNCH

E

EXIT

[PRESS SPACEBAR]

HIT THE TARGETS.

24 FPS

01

PAUSED
Press P to Unpause
Press M to Mute
Press E to Select Level

LEVEL 01
COMPLETE

Score:

TOTAL SCORE: 00

CONTINUE

CONTINUE

Time: 0

0/5

24 FPS

IT IS EASY, YOU CAN DO IT!

02

LEVEL 02
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

THIS PLACE IS
KINDA WINDY.

24 FPS

03

LEVEL 03
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

THE WIND IS EVEN STRONGER.

24 FPS

04

LEVEL 04
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

The Wind turned.

24 FPS

THE WIND TURNED.

05

LEVEL 05
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

YOU HAVE LIMITED CHANCES TO REACH HERE.

24 FPS

06

LEVEL 06
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

24 FPS

MIRRORED LEVEL.

07

LEVEL 07
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

24 FPS

THE GRAVITY CHANGED.

08

LEVEL 08
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

24 FPS

09

YOU CAN PRESS DOWN ARROW
TO FALL FASTER.

LEVEL 09
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

24 FPS

:]

10

LEVEL 10
COMPLETE

Score:

TOTAL SCORE: 00

Time: 0

0/5

24 FPS

LAUNCH

=O

11

LEVEL 11
COMPLETE

Score:

TOTAL SCORE: 00

24 FPS

0/5

12

IT'S FUNNY TO SEE YOU
TURNING YOUR HEAD XP

Time: 0

THANKS
FOR
PLAYING

LEVEL 12
COMPLETE

Score:

TOTAL SCORE: 00

ActionScript [AS1/AS2]

Frame 1
mochi.MochiServices.connect("447b355cd453c073"); function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } function Init() { _root.stop(); } var _mochiads_game_id = "447b355cd453c073"; __com_mochibot__("56aced7c", this, 10301, true); var preloader; var numero = new Number(0); onEnterFrame = function () { var _local2 = _root.getBytesLoaded() - 300000; var _local3 = _root.getBytesTotal() - 300000; loaded = Math.floor((_local2 / _local3) * 100); if (loaded >= 100) { delete onEnterFrame; _root.play(); preloader.unloadMovie(); } else { numero = Math.floor((_local2 / _local3) * 100); preloader.pct = numero + "%"; _root.preloader.bar._xscale = numero; } }; Init();
Instance of Symbol 16 MovieClip in Frame 1
on (release) { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } getURL ("http://www.bunnygames.com/in.php?game=blacknorange&zone=more", "_blank"); _root.box.sponsor.data.counter = 1; __com_mochibot__("2afab241", this, 10301, true); }
Instance of Symbol 50 MovieClip "fader" in Frame 2
onClipEvent (load) { _x = 175; _y = 175; f = 0; ac = 0; } onClipEvent (enterFrame) { if ((f != 0) && (ac == 0)) { gotoAndPlay (2); ac = 1; } }
Instance of Symbol 64 MovieClip in Frame 2
onClipEvent (load) { this.swaper2.gotoandStop(2); } on (release) { this.swaper2.play(); clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Frame 3
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("e723885b", this, 10301, true); stop();
Instance of Symbol 75 MovieClip in Frame 3
on (release) { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } getURL ("http://www.bunnygames.com/in.php?game=blacknorange&zone=more", "_blank"); _root.box.sponsor.data.counter = 1; __com_mochibot__("2afab241", this, 10301, true); }
Frame 4
_root.kongregateServices.connect(); function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } _root.box.playy = 0; stop(); mochi.MochiServices.connect("447b355cd453c073"); __com_mochibot__("07f0ad9c", this, 10301, true);
Instance of Symbol 80 MovieClip in Frame 4
on (release) { _root.fader.f = 4; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 96 MovieClip "box" in Frame 4
onClipEvent (load) { Stage.showMenu = false; volume = 100; lv1score = SharedObject.getLocal("a1"); if (lv1score.data.counter == undefined) { lv1score.data.counter = 0; } lv2score = SharedObject.getLocal("a2"); if (lv2score.data.counter == undefined) { lv2score.data.counter = 0; } lv3score = SharedObject.getLocal("a3"); if (lv3score.data.counter == undefined) { lv3score.data.counter = 0; } lv4score = SharedObject.getLocal("a4"); if (lv4score.data.counter == undefined) { lv4score.data.counter = 0; } lv5score = SharedObject.getLocal("a5"); if (lv5score.data.counter == undefined) { lv5score.data.counter = 0; } lv6score = SharedObject.getLocal("a6"); if (lv6score.data.counter == undefined) { lv6score.data.counter = 0; } lv7score = SharedObject.getLocal("a7"); if (lv7score.data.counter == undefined) { lv7score.data.counter = 0; } lv8score = SharedObject.getLocal("a8"); if (lv8score.data.counter == undefined) { lv8score.data.counter = 0; } lv9score = SharedObject.getLocal("a9"); if (lv9score.data.counter == undefined) { lv9score.data.counter = 0; } lv10score = SharedObject.getLocal("a10"); if (lv10score.data.counter == undefined) { lv10score.data.counter = 0; } lv11score = SharedObject.getLocal("a11"); if (lv11score.data.counter == undefined) { lv11score.data.counter = 0; } lv12score = SharedObject.getLocal("a12"); if (lv12score.data.counter == undefined) { lv12score.data.counter = 0; } hitwalls = SharedObject.getLocal("a16"); if (hitwalls.data.counter == undefined) { hitwalls.data.counter = 0; } launch = SharedObject.getLocal("a17"); if (launch.data.counter == undefined) { launch.data.counter = 0; } balls = SharedObject.getLocal("a18"); if (balls.data.counter == undefined) { balls.data.counter = 0; } credits = SharedObject.getLocal("a19"); if (credits.data.counter == undefined) { credits.data.counter = 0; } sponsor = SharedObject.getLocal("a20"); if (sponsor.data.counter == undefined) { sponsor.data.counter = 0; } levelsdone = SharedObject.getLocal("a21"); if (levelsdone.data.counter == undefined) { levelsdone.data.counter = 0; } award1 = SharedObject.getLocal("a22"); if (award1.data.counter == undefined) { award1.data.counter = 0; } award2 = SharedObject.getLocal("a23"); if (award2.data.counter == undefined) { award2.data.counter = 0; } award3 = SharedObject.getLocal("a24"); if (award3.data.counter == undefined) { award3.data.counter = 0; } award4 = SharedObject.getLocal("a25"); if (award4.data.counter == undefined) { award4.data.counter = 0; } award5 = SharedObject.getLocal("a26"); if (award5.data.counter == undefined) { award5.data.counter = 0; } award6 = SharedObject.getLocal("a27"); if (award6.data.counter == undefined) { award6.data.counter = 0; } award7 = SharedObject.getLocal("a28"); if (award7.data.counter == undefined) { award7.data.counter = 0; } award8 = SharedObject.getLocal("a29"); if (award8.data.counter == undefined) { award8.data.counter = 0; } award9 = SharedObject.getLocal("a30"); if (award9.data.counter == undefined) { award9.data.counter = 0; } award10 = SharedObject.getLocal("a31"); if (award10.data.counter == undefined) { award10.data.counter = 0; } award11 = SharedObject.getLocal("a32"); if (award11.data.counter == undefined) { award11.data.counter = 0; } award12 = SharedObject.getLocal("a33"); if (award12.data.counter == undefined) { award12.data.counter = 0; } award13 = SharedObject.getLocal("a34"); if (award13.data.counter == undefined) { award13.data.counter = 0; } award14 = SharedObject.getLocal("a35"); if (award14.data.counter == undefined) { award14.data.counter = 0; } award15 = SharedObject.getLocal("a36"); if (award15.data.counter == undefined) { award15.data.counter = 0; } award16 = SharedObject.getLocal("a37"); if (award16.data.counter == undefined) { award16.data.counter = 0; } award17 = SharedObject.getLocal("a38"); if (award17.data.counter == undefined) { award17.data.counter = 0; } award18 = SharedObject.getLocal("a39"); if (award18.data.counter == undefined) { award18.data.counter = 0; } award19 = SharedObject.getLocal("a40"); if (award19.data.counter == undefined) { award19.data.counter = 0; } award20 = SharedObject.getLocal("a41"); if (award20.data.counter == undefined) { award20.data.counter = 0; } award21 = SharedObject.getLocal("a42"); if (award21.data.counter == undefined) { award21.data.counter = 0; } award22 = SharedObject.getLocal("a43"); if (award22.data.counter == undefined) { award22.data.counter = 0; } totalaward = SharedObject.getLocal("a44"); if (totalaward.data.counter == undefined) { totalaward.data.counter = 0; } teclam = 1; playing = 0; playy = 0; howto = SharedObject.getLocal("a45"); if (howto.data.counter == undefined) { howto.data.counter = 0; } stopAllSounds(); menu = new Sound(); menu.attachSound("menu"); menu.setVolume(_root.box.volume); menu.start(0, 9999); } onClipEvent (enterFrame) { menu.setVolume(_root.box.volume); ingame.setVolume(_root.box.volume); if (playing != playy) { if (playy == 0) { stopAllSounds(); menu = new Sound(); menu.attachSound("menu"); menu.setVolume(_root.box.volume); menu.start(0, 9999); playing = playy; } if (playy == 1) { stopAllSounds(); ingame = new Sound(); ingame.attachSound("ingame"); ingame.setVolume(_root.box.volume); ingame.start(0, 9999); playing = playy; } if (playy == 2) { stopAllSounds(); ingame = new Sound(); ingame.attachSound("ingame"); ingame.setVolume(_root.box.volume); ingame.start(0, 9999); playing = playy; } if (playy == 3) { stopAllSounds(); ingame = new Sound(); ingame.attachSound("ingame"); ingame.setVolume(_root.box.volume); ingame.start(0, 9999); playing = playy; } } if ((launch.data.counter >= 3) && (award1.data.counter == 0)) { award1.data.counter = 1; totalaward.data.counter = totalaward.data.counter + 1; _root.award.award.aw.gotoAndStop(1); _root.award.gotoAndPlay(2); } if ((launch.data.counter >= 8) && (award2.data.counter == 0)) { award2.data.counter = 1; _root.award.award.aw.gotoAndStop(2); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((launch.data.counter >= 15) && (award3.data.counter == 0)) { award3.data.counter = 1; _root.award.award.aw.gotoAndStop(3); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((launch.data.counter >= 28) && (award4.data.counter == 0)) { award4.data.counter = 1; _root.award.award.aw.gotoAndStop(4); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((launch.data.counter >= 50) && (award5.data.counter == 0)) { award5.data.counter = 1; _root.award.award.aw.gotoAndStop(5); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((hitwalls.data.counter >= 1) && (award6.data.counter == 0)) { award6.data.counter = 1; _root.award.award.aw.gotoAndStop(6); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((hitwalls.data.counter >= 5) && (award7.data.counter == 0)) { award7.data.counter = 1; _root.award.award.aw.gotoAndStop(7); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((hitwalls.data.counter >= 20) && (award8.data.counter == 0)) { award8.data.counter = 1; _root.award.award.aw.gotoAndStop(8); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((hitwalls.data.counter >= 50) && (award9.data.counter == 0)) { award9.data.counter = 1; _root.award.award.aw.gotoAndStop(9); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((hitwalls.data.counter >= 100) && (award10.data.counter == 0)) { award10.data.counter = 1; _root.award.award.aw.gotoAndStop(10); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((balls.data.counter >= 10) && (award11.data.counter == 0)) { award11.data.counter = 1; _root.award.award.aw.gotoAndStop(11); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((balls.data.counter >= 25) && (award12.data.counter == 0)) { award12.data.counter = 1; _root.award.award.aw.gotoAndStop(12); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((balls.data.counter >= 60) && (award13.data.counter == 0)) { award13.data.counter = 1; _root.award.award.aw.gotoAndStop(13); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((balls.data.counter >= 100) && (award14.data.counter == 0)) { award14.data.counter = 1; _root.award.award.aw.gotoAndStop(14); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((balls.data.counter >= 200) && (award15.data.counter == 0)) { award15.data.counter = 1; _root.award.award.aw.gotoAndStop(15); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } totalscore = ((((((((((lv1score.data.counter + lv2score.data.counter) + lv3score.data.counter) + lv4score.data.counter) + lv5score.data.counter) + lv6score.data.counter) + lv7score.data.counter) + lv8score.data.counter) + lv9score.data.counter) + lv10score.data.counter) + lv11score.data.counter) + lv12score.data.counter; if ((totalscore >= 50) && (award16.data.counter == 0)) { award16.data.counter = 1; _root.award.award.aw.gotoAndStop(16); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((totalscore >= 200) && (award17.data.counter == 0)) { award17.data.counter = 1; _root.award.award.aw.gotoAndStop(17); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((totalscore >= 400) && (award18.data.counter == 0)) { award18.data.counter = 1; _root.award.award.aw.gotoAndStop(18); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((totalscore >= 650) && (award19.data.counter == 0)) { award19.data.counter = 1; _root.award.award.aw.gotoAndStop(19); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((totalscore >= 900) && (award20.data.counter == 0)) { award20.data.counter = 1; _root.award.award.aw.gotoAndStop(20); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((sponsor.data.counter == 1) && (award21.data.counter == 0)) { award21.data.counter = 1; _root.award.award.aw.gotoAndStop(21); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if ((credits.data.counter == 1) && (award22.data.counter == 0)) { award22.data.counter = 1; _root.award.award.aw.gotoAndStop(22); totalaward.data.counter = totalaward.data.counter + 1; _root.award.gotoAndPlay(2); } if (Key.isDown(77)) { if (teclam == 1) { if (volume == 100) { volume = 0; } else { volume = 100; } } } if (Key.isDown(77)) { teclam = 0; } else { teclam = 1; } }
Instance of Symbol 64 MovieClip in Frame 4
onClipEvent (load) { this.swaper2.gotoandStop(2); } on (release) { this.swaper2.play(); clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Frame 5
_root.box.playy = 0;
Instance of Symbol 99 MovieClip in Frame 5
on (release) { _root.fader.f = 6; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 102 MovieClip in Frame 5
on (release) { _root.fader.f = 7; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 106 MovieClip in Frame 5
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 109 MovieClip in Frame 5
onClipEvent (enterFrame) { _root.box.playy = 0; }
Frame 6
stop(); _root.box.playy = 0;
Instance of Symbol 164 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_root.box.totalscore == 0) { _root.totalscore.text = "0000"; } if ((_root.box.totalscore > 0) && (_root.box.totalscore < 10)) { _root.totalscore.text = "TOTAL SCORE: 000" + _root.box.totalscore; } if ((_root.box.totalscore > 9) && (_root.box.totalscore < 100)) { _root.totalscore.text = "TOTAL SCORE: 00" + _root.box.totalscore; } if ((_root.box.totalscore > 99) && (_root.box.totalscore < 1000)) { _root.totalscore.text = "TOTAL SCORE: 0" + _root.box.totalscore; } }
Instance of Symbol 168 MovieClip in Frame 6
on (release) { _root.fader.f = 4; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 102 MovieClip in Frame 6
on (release) { _root.fader.f = 7; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 174 MovieClip in Frame 6
on (release) { _root.fader.f = 8; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { this.score.text = _root.box.lv1score.data.counter; }
Instance of Symbol 179 MovieClip in Frame 6
on (release) { _root.fader.f = 10; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { this.score.text = _root.box.lv2score.data.counter; }
Instance of Symbol 188 MovieClip in Frame 6
onClipEvent (load) { minimal = 120; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 12; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv3score.data.counter; }
Instance of Symbol 194 MovieClip in Frame 6
onClipEvent (load) { minimal = 190; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 14; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv4score.data.counter; }
Instance of Symbol 198 MovieClip in Frame 6
onClipEvent (load) { minimal = 270; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 16; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv5score.data.counter; }
Instance of Symbol 202 MovieClip in Frame 6
onClipEvent (load) { minimal = 350; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 18; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv6score.data.counter; }
Instance of Symbol 206 MovieClip in Frame 6
onClipEvent (load) { minimal = 420; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 20; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv7score.data.counter; }
Instance of Symbol 210 MovieClip in Frame 6
onClipEvent (load) { minimal = 500; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 22; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv8score.data.counter; }
Instance of Symbol 214 MovieClip in Frame 6
onClipEvent (load) { minimal = 580; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 24; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv9score.data.counter; }
Instance of Symbol 221 MovieClip in Frame 6
onClipEvent (load) { minimal = 640; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 26; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv10score.data.counter; }
Instance of Symbol 225 MovieClip in Frame 6
onClipEvent (load) { minimal = 710; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 28; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv11score.data.counter; }
Instance of Symbol 229 MovieClip in Frame 6
onClipEvent (load) { minimal = 850; } on (release) { if (_root.box.totalscore >= minimal) { _root.fader.f = 30; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } } on (rollOver) { if (_root.box.totalscore >= minimal) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } } on (rollOut) { if (_root.box.totalscore >= minimal) { gotoAndStop (1); } } onClipEvent (enterFrame) { if (_root.box.totalscore < minimal) { gotoAndStop (4); } this.score.text = _root.box.lv12score.data.counter; }
Instance of Symbol 234 MovieClip "sp" in Frame 6
on (release) { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } getURL ("http://www.bunnygames.com/in.php?game=blacknorange&zone=more", "_blank"); _root.box.sponsor.data.counter = 1; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); __com_mochibot__("2afab241", this, 10301, true); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Frame 7
_root.box.playy = 0;
Instance of Symbol 106 MovieClip in Frame 7
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 102 MovieClip in Frame 7
on (release) { _root.fader.f = 7; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (enterFrame) { _root.total.text = _root.box.totalaward.data.counter + "/22"; }
Instance of Symbol 234 MovieClip "sp" in Frame 7
on (release) { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } getURL ("http://www.bunnygames.com/in.php?game=blacknorange&zone=more", "_blank"); _root.box.sponsor.data.counter = 1; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); __com_mochibot__("2afab241", this, 10301, true); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Frame 8
_root.box.playy = 0; _root.box.credits.data.counter = 1;
Instance of Symbol 99 MovieClip in Frame 8
on (release) { _root.fader.f = 6; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Frame 9
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 9
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 9
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 9
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 9
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 9
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 5; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 9; stopAllSounds(); trail = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv1score.data.counter) { _root.box.lv1score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.box.playy = 1; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 9
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 9
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 319 MovieClip "pause" in Frame 9
onClipEvent (load) { _x = 175; _y = 175; _alpha = 0; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { _alpha = 0; } if (_root.hero.paused == 1) { _alpha = 100; } }
Frame 10
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 10
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv1score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 10
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 11
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 11
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 6; hiten = 0; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 11; coin = 0; stopAllSounds(); trail = 1; shake = 0; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (hitted != hiten) { if (hitten != 0) { shake = 1; hiten = hitted; } } if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor((100 - (seg / 60)) + coin); if (score > _root.box.lv2score.data.counter) { _root.box.lv2score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.playy = 1; _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.box.playy = 1; if ((_y - radius) <= 2) { shake = 1; _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { shake = 1; _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { shake = 1; _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { shake = 1; vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { coin = 0; reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; _root["t" + i].reset = 1; _root["c" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 11
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { _root.hero.shake = 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.hero.shake = 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.hero.shake = 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 11
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 12
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 12
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv2score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 12
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 13
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 13
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 7; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 13; wind = 0.15; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv3score.data.counter) { _root.box.lv3score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.playy = 1; _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } vx = vx + wind; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 13
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 13
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 14
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 14
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv3score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 14
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 15
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 15
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 10; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 15; wind = 0.2; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv4score.data.counter) { _root.box.lv4score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.playy = 1; _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { vx = vx + wind; _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q11" in Frame 15
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = (_root.hero._x - _x) / 1.5; yy = (_root.hero._y - _y) / 1.5; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 15
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 16
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 16
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv4score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 16
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 17
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 17
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 11; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 17; wind = -0.2; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv5score.data.counter) { _root.box.lv5score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.playy = 2; _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } vx = vx + wind; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q11" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q14" in Frame 17
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 17
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 18
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 18
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv5score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 18
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 19
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 19
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 11; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 19; wind = 0; blow = -7; stopAllSounds(); trail = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv6score.data.counter) { _root.box.lv6score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.box.playy = 2; vx = vx + wind; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q11" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q14" in Frame 19
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 19
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 20
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 20
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv6score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 20
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 21
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q2" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 21
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 8; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 21; wind = 0; blow = -7; stopAllSounds(); trail = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv7score.data.counter) { _root.box.lv7score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.box.playy = 2; vx = vx + wind; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx + ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx - ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q14" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q15" in Frame 21
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 21
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 22
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 22
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv7score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 22
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 23
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q4" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 23
onClipEvent (load) { gr = -0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 7; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 23; wind = 0; blow = -7; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv8score.data.counter) { _root.box.lv8score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = 5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; _root.box.playy = 2; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } vx = vx + wind; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy - (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q11" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q15" in Frame 23
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = -0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 23
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 24
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 24
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv8score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 24
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 25
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 130 MovieClip "q4" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 302 MovieClip "hero" in Frame 25
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 20; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 25; wind = 0; blow = -7; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root.back.gotoAndStop(2); _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv9score.data.counter) { _root.box.lv9score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; _root.box.playy = 3; } } if (vivo == 1) { vx = vx + wind; _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q26" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q20" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q24" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q22" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q27" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q30" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q29" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q48" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q36" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q38" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q40" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q42" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q45" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q44" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q52" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q54" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q56" in Frame 25
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 25
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 26
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 26
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv9score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 26
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 27
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 302 MovieClip "hero" in Frame 27
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 12; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 27; wind = 0; blow = -7; stopAllSounds(); trail = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv10score.data.counter) { _root.box.lv10score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } vx = vx + wind; _root.box.playy = 3; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q36" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q38" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q41" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q40" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q37" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q39" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q42" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q45" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q44" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q43" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 27
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 130 MovieClip "q60" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q61" in Frame 27
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Frame 28
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 28
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv10score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 28
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 29
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 302 MovieClip "hero" in Frame 29
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 3; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 29; wind = 0; blow = -7; stopAllSounds(); trail = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv11score.data.counter) { _root.box.lv11score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; _root.box.playy = 3; } } if (vivo == 1) { _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } vx = vx + wind; _root.box.playy = 3; if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q41" in Frame 29
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 29
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 130 MovieClip "q42" in Frame 29
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q43" in Frame 29
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Frame 30
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 30
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv11score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 30
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Frame 31
_root.createEmptyMovieClip("movFrameRate", 100); _root.movFrameRate.onEnterFrame = function () { this.t = getTimer(); this.frameRate = Math.round(1000 / (this.t - this.o)); ((this.frameRate > 24) ? ((this.frameRate = 24)) : false); _root.fps.text = this.frameRate + " fps"; this.o = this.t; };
Instance of Symbol 302 MovieClip "hero" in Frame 31
onClipEvent (load) { gr = 0.2; ac = 1.05; vy = -5; vx = 0; atr = 0.97; seg = 0; radius = _height / 2; hitted = 0; total2 = 38; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 31; wind = 0; blow = 7; trail = 1; stopAllSounds(); } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(69)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if ((hitted >= total2) && (vivo == 1)) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root.back.gotoAndStop(2); _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv12score.data.counter) { _root.box.lv12score.data.counter = score; } _root.fader.f = f; } } _root.time.text = "TIME: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 5; vy = 0; if (Key.isDown(32)) { _root.box.playy = 3; _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { vx = vx + wind; _root["t" + trail]._x = _x; _root["t" + trail]._y = _y; _root["t" + trail].gotoAndPlay(1); _root["t" + trail]._rotation = _rotation; if (trail < 10) { trail++; } else { trail = 1; } if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root["w" + i].hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } seg = seg + 2.5; if (Key.isDown(37) or Key.isDown(65)) { vy = vy - ac; } if (Key.isDown(39) or Key.isDown(68)) { vy = vy + ac; } if (Key.isDown(40) or Key.isDown(83)) { vx = vx - (ac / 5); } vy = vy; vx = vx - gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 130 MovieClip "q32" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q34" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q33" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q36" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q38" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q35" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q37" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q29" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q16" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q30" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q17" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q26" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q14" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q27" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q15" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q24" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q11" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q25" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q12" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q22" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q8" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q23" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q9" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q20" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q1" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q21" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q3" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q6" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q5" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q2" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q4" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q7" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q18" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q19" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q31" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q13" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q10" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 130 MovieClip "q28" in Frame 31
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } i = 0; while (i < 50) { if (_root.spikes.hitTest(this) or _root["w" + i].hitTest(this)) { pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; if (fall == 1) { _root.hero.hitted = _root.hero.hitted + 1; fall = -1; } } if (_root["b" + i].hitTest(this)) { if (vy > 0) { vy = 0; } vy = blow; } i++; } vx = vx + _root.hero.wind; vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "t1" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t2" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t3" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t4" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t5" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t6" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t7" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t8" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t9" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Instance of Symbol 135 MovieClip "t10" in Frame 31
onClipEvent (enterFrame) { if (_root.hero.paused == 0) { play(); } if (_root.hero.paused == 1) { stop(); } if ((_root.hero.vivo == 1) or (_root.hero.vivo == 2)) { _alpha = 100; } else { _x = 700; _alpha = 0; } }
Frame 32
_root.box.playy = 0;
Instance of Symbol 250 MovieClip "back" in Frame 33
onClipEvent (enterFrame) { _root.score.text = "SCORE: " + _root.box.lv12score.data.counter; _root.totalscore.text = "TOTAL SCORE: " + _root.box.totalscore; }
Instance of Symbol 325 MovieClip in Frame 33
on (release) { _root.fader.f = 5; clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); } onClipEvent (enterFrame) { if (Key.isDown(32)) { _root.fader.f = 5; gotoAndStop (3); } }
Symbol 437 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices { static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("1.35"); } 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 get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; _rcvChannelName = val; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; init(id, clip); } if (onError != undefined) { mochi.MochiServices.onError = onError; } else if (mochi.MochiServices.onError == undefined) { mochi.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); _rcvChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local2 = "_mochiservices_com_" + id; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } allowDomains(_gatewayURL); _clip = clip.createEmptyMovieClip(_local2, 10336, false); _loader = new MovieClipLoader(); if (_loaderListener.waitInterval != null) { clearInterval(_loaderListener.waitInterval); } _loaderListener = {}; _loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, [errorCode]); }; _loaderListener.onLoadStart = function (target_mc) { this.isLoading = true; }; _loaderListener.startTime = getTimer(); _loaderListener.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000); _loader.addListener(_loaderListener); _loader.loadClip(_gatewayURL, _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain = function (d) { return(true); }; _rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain; _rcvChannel._nextcallbackID = 0; _rcvChannel._callbacks = {}; listen(); return(_clip); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()}); _rcvChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _rcvChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _rcvChannel.onError = function () { mochi.MochiServices.onError.apply(null, ["IOError"]); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _rcvChannel._callbacks[_local1.callbackID]; } delete _rcvChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ["NotConnected"]); } if ((args.options != null) && (args.options.onError != null)) { args.options.onError.apply(null, ["NotConnected"]); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = "NotConnected"; if ((callbackObject != null) && (typeof(callbackMethod) == "string")) { callbackObject[callbackMethod](args); } else if (callbackMethod != null) { callbackMethod.apply(args); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { onError.apply(null, ["NotConnected"]); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } _rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _rcvChannel._nextcallbackID++; } static function addLinkEvent(url, burl, btn, onClick) { var _local2 = new Object(); _local2.mav = getVersion(); _local2.swfv = btn.getSWFVersion() || 6; _local2.swfurl = btn._url; _local2.fv = System.capabilities.version; _local2.os = System.capabilities.os; _local2.lang = System.capabilities.language; _local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY; var s = "?"; var _local3 = 0; for (var _local6 in _local2) { if (_local3 != 0) { s = s + "&"; } _local3++; s = ((s + _local6) + "=") + escape(_local2[_local6]); } var _local4 = btn.createEmptyMovieClip("clk", 1001); _local4._alpha = 0; _local4.beginFill(1044735); _local4.moveTo(0, 0); _local4.lineTo(0, btn._height); _local4.lineTo(btn._width, btn._height); _local4.lineTo(btn._width, 0); _local4.lineTo(0, 0); _local4.endFill(); _local4.onRelease = function () { var _local3; var _local2 = new LoadVars(); var timeout = 1500; var t0 = getTimer(); var ping = this.createEmptyMovieClip("ping", 777); this.onEnterFrame = function () { if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) { delete this.onEnterFrame; delete this.ping; getURL (url + s, "_blank"); } else if ((getTimer() - t0) > timeout) { delete this.onEnterFrame; delete this.ping; getURL (burl, "_blank"); } }; ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer()); if (onClick != undefined) { onClick(); } }; } static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf"; static var _listenChannelName = "__mochiservices"; static var _connecting = false; static var _connected = false; }
Symbol 39 MovieClip Frame 12
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 20
f2 = f + 1; _root.gotoAndStop(f2); f = 0; f2 = 0; ac = 0;
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 10
award = new Sound(); award.attachSound("award"); award.setVolume(_root.box.volume); award.start(0, 1);
Symbol 61 MovieClip Frame 1
stop(); _root._quality = "HIGH";
Symbol 61 MovieClip Frame 2
stop(); _root._quality = "LOW";
Symbol 64 MovieClip Frame 1
stop();
Instance of Symbol 61 MovieClip "swaper2" in Symbol 64 MovieClip Frame 1
onClipEvent (load) { teclaq = 1; } onClipEvent (enterFrame) { if (Key.isDown(81)) { if (teclaq == 1) { teclaq = 0; this.play(); } } else { teclaq = 1; } }
Symbol 75 MovieClip Frame 48
stop(); _root.fader.f = 3;
Symbol 80 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 10
if ((reset == 1) or (_root.hero.vivo == 0)) { stop(); }
Instance of Symbol 130 MovieClip "q4" in Symbol 138 MovieClip Frame 1
onClipEvent (load) { sw = 0; vx = 0; vy = 0; fall = 0; atr = 0.98; gr = 0.2; radius = _width / 2; reset = 0; inix = _x; iniy = _y; } onClipEvent (enterFrame) { if (_root.hero.paused == 0) { gotoAndStop(sw + 1); if (reset == 1) { sw = 0; _x = inix; _y = iniy; fall = 0; vx = 0; vy = 0; _alpha = 100; reset = 0; } if (_root.hero.hitTest(this) && (_root.hero.vivo == 1)) { if ((fall == 1) or (fall == 0)) { dia = (_width / 2) + (_root.hero._width / 2); distx = _root.hero._x - _x; disty = _root.hero._y - _y; distance = Math.sqrt((distx * distx) + (disty * disty)); if (distance <= dia) { _root.box.balls.data.counter = _root.box.balls.data.counter + 1; if ((fall == 0) && (fall != -1)) { fall = 1; } sw = 1; xx = _root.hero._x - _x; yy = _root.hero._y - _y; _root.hero.vx = xx; _root.hero.vy = yy; vx = -xx; vy = -yy; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } } } if (fall == 1) { if ((_y - radius) <= 2) { vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { fall = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); sw = 2; _root.hero.hitted = _root.hero.hitted + 1; } vx = vx * atr; vy = vy + gr; vy = vy * atr; _x = (_x + vx); _y = (_y + vy); } if (fall == -1) { if (_alpha > 0) { _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } } } }
Instance of Symbol 135 MovieClip "hero" in Symbol 138 MovieClip Frame 1
onClipEvent (load) { gr = 0.2; ac = 1.5; vy = -5; vx = 0; atr = 0.98; seg = 0; radius = _height / 2; hitted = 0; total2 = 5; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 9; _root.box.playy = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(81)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if (hitted >= total2) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv1score.data.counter) { _root.box.lv1score.data.counter = score; } _root.box.playy = 0; _root.fader.f = f; } } _root.time.text = "Time: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Instance of Symbol 135 MovieClip "hero" in Symbol 146 MovieClip Frame 1
onClipEvent (load) { gr = 0.2; ac = 1.5; vy = -5; vx = 0; atr = 0.98; seg = 0; radius = _height / 2; hitted = 0; total2 = 5; vivo = 0; paused = 0; teclap = 1; teclaq = 1; saiu = 0; f = 9; _root.box.playy = 1; } onClipEvent (enterFrame) { if ((paused == 1) or (vivo == 0)) { if (Key.isDown(81)) { _root.fader.f = 5; } } if (Key.isDown(80) && (teclap == 1)) { if (paused == 0) { paused = 1; } else { paused = 0; } } if (Key.isDown(80)) { teclap = 0; } else { teclap = 1; } if (hitted >= total2) { vivo = 2; } if (paused == 0) { if (vivo == 2) { _root.back.gotoAndStop(2); distx = _root.back._x - _x; disty = _root.back._y - _y; distancia = Math.sqrt((distx * distx) + (disty * disty)); speed = distancia / 5; angle = Math.atan2(disty, distx); xdis = speed * Math.cos(angle); ydis = speed * Math.sin(angle); _x = (_x + xdis); _y = (_y + ydis); saiu++; if (saiu == 10) { score = Math.floor(100 - (seg / 60)); if (score > _root.box.lv1score.data.counter) { _root.box.lv1score.data.counter = score; } _root.box.playy = 0; _root.fader.f = f; } } _root.time.text = "Time: " + Math.floor(seg / 60); _root.total.text = (hitted + "/") + total2; if (vivo == 0) { hitted = 0; total = 0; _root.launch._alpha = 100; gotoAndStop (1); seg = 0; _alpha = 100; _x = _root.back._x; _y = _root.back._y; vx = 0; vy = -5; if (Key.isDown(32)) { _root.box.launch.data.counter = _root.box.launch.data.counter + 1; launch = new Sound(); launch.attachSound("launch"); launch.setVolume(_root.box.volume); launch.start(0, 1); _root.launch._alpha = 0; vivo = 1; } } if (vivo == 1) { if ((_y - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; vy = vy * -1; _y = (radius + 2); knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x - radius) <= 2) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = (radius + 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if ((_x + radius) >= 348) { _root.box.hitwalls.data.counter = _root.box.hitwalls.data.counter + 1; _x = ((350 - radius) - 2); vx = vx * -1; knock = new Sound(); knock.attachSound("knock"); knock.setVolume(_root.box.volume); knock.start(0, 1); } if (_root.spikes.hitTest(this)) { vivo = -1; pop = new Sound(); pop.attachSound("pop"); pop.setVolume(_root.box.volume); pop.start(0, 1); } seg = seg + 2.5; _root.dark._x = _x; _root.dark._y = _y; dist_x = _x - _root._xmouse; dist_y = _y - _root._ymouse; angle = -Math.atan2(dist_x, dist_y); _root.dark._rotation = (angle / (Math.PI/180)) - 90; if (Key.isDown(37) or Key.isDown(65)) { vx = vx - ac; } if (Key.isDown(39) or Key.isDown(68)) { vx = vx + ac; } if (Key.isDown(40) or Key.isDown(83)) { vy = vy + (ac / 5); } vy = vy + gr; vy = vy * atr; vx = vx * atr; if (vx > 10) { vx = 10; } if (vx < -10) { vx = -10; } if (vy < -10) { vy = -10; } _x = (_x + vx); _rotation = (_rotation + vx); _y = (_y + vy); } if (vivo == -1) { gotoAndStop (2); if (_alpha > 0) { _rotation = 0; _y = (_y - 2.08333333333333); _alpha = (_alpha - 4.16666666666667); } else { reset = new Sound(); reset.attachSound("reset"); reset.setVolume(_root.box.volume); reset.start(0, 1); i = 0; while (i < 100) { _root["q" + i].reset = 1; i++; } vivo = 0; } } } }
Symbol 162 MovieClip Frame 1
stop(); _root.box.howto.data.counter = 1;
Symbol 168 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 1
stop();
Instance of Symbol 250 MovieClip "awa1" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award1.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa6" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award6.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa4" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award4.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa3" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award3.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa2" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award2.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa9" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award9.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa5" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award5.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa11" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award21.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa10" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award10.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa8" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award8.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa7" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_root.box.award7.data.counter + 1); }
Instance of Symbol 253 MovieClip in Symbol 287 MovieClip Frame 1
on (release) { _root.pag.gotoAndStop(2); clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Instance of Symbol 250 MovieClip "awa1" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award11.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa6" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award16.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa4" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award14.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa3" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award13.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa2" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award12.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa9" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award19.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa5" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award15.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa11" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award22.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa10" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award20.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa8" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award18.data.counter + 1); }
Instance of Symbol 250 MovieClip "awa7" in Symbol 287 MovieClip Frame 2
onClipEvent (enterFrame) { gotoAndStop(_root.box.award17.data.counter + 1); }
Instance of Symbol 253 MovieClip in Symbol 287 MovieClip Frame 2
on (release) { _root.pag.gotoAndStop(1); clk = new Sound(); clk.attachSound("clk"); clk.setVolume(_root.box.volume); clk.start(0, 1); gotoAndStop (3); } on (rollOver) { over = new Sound(); over.attachSound("over"); over.setVolume(_root.box.volume); over.start(0, 1); gotoAndStop (2); } on (rollOut) { gotoAndStop (1); }
Symbol 302 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 95
stop(); _root.fader.f = 32;

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:5
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5
Symbol 5 MovieClipUses:2 4Used by:Timeline
Symbol 6 GraphicUsed by:11
Symbol 7 GraphicUsed by:8 16 66
Symbol 8 MovieClipUses:7Used by:11
Symbol 9 FontUsed by:10 12 17 20 28 53 59 60 78 79 82 83 87 97 98 100 101 103 104 105 108 148 149 150 163 165 166 167 170 171 175 177 178 180 181 187 189 190 193 195 196 197 199 200 201 203 204 205 207 208 209 211 212 213 215 216 217 218 219 220 222 223 224 226 227 228 230 231 232 233 235 237 238 239 240 241 242 243 244 245 246 247 251 252 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 288 289 291 292 293 294 303 308 309 311 313 314 315 318 320 321 322 323 324 326 327 328 330 331 332 333 334 335 336 338 339 340 341 342 343 344 346 347 348 349 350 351 352 353 357 358 359 360 361 362 363 364 365 368 369 370 371 372 373 374 375 376 377 380 381 382 383 384 386 388 390 393 394 395 396 397 398 400 401 403 404 405 406 407 409 411 412 413 414 415 416 417 421 422 423 424 426 427 428 430 434 435 436
Symbol 10 TextUses:9Used by:11
Symbol 11 MovieClipUses:6 8 10Used by:Timeline
Symbol 12 TextUses:9Used by:16
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:16
Symbol 16 MovieClipUses:7 12 15Used by:Timeline
Symbol 17 TextUses:9Used by:21
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:21
Symbol 20 TextUses:9Used by:21
Symbol 21 MovieClipUses:17 19 20Used by:Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24 432  Timeline
Symbol 24 MovieClipUses:23Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:27
Symbol 27 MovieClipUses:26Used by:Timeline
Symbol 437 MovieClip [__Packages.mochi.MochiServices]
Symbol 28 TextUses:9Used by:39
Symbol 29 Sound [clk]Used by:39
Symbol 30 Sound [award]Used by:39
Symbol 31 Sound [menu]Used by:39
Symbol 32 Sound [knock]Used by:39
Symbol 33 Sound [launch]Used by:39
Symbol 34 Sound [over]Used by:39
Symbol 35 Sound [pop]Used by:39
Symbol 36 Sound [reset]Used by:39
Symbol 37 Sound [ingame]Used by:39
Symbol 38 Sound [coin]Used by:39
Symbol 39 MovieClipUses:28 29 30 31 32 33 34 35 36 37 38Used by:Timeline
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:49
Symbol 42 GraphicUsed by:48 75
Symbol 43 GraphicUsed by:48 75
Symbol 44 GraphicUsed by:48 75
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48 75
Symbol 48 MovieClipUses:42 43 44 45 47Used by:49 234
Symbol 49 MovieClipUses:41 48Used by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 GraphicUsed by:55
Symbol 52 GraphicUsed by:54
Symbol 53 TextUses:9Used by:54
Symbol 54 MovieClipUses:52 53Used by:55
Symbol 55 MovieClipUses:51 54Used by:56
Symbol 56 MovieClipUses:55Used by:Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:64
Symbol 59 TextUses:9Used by:61
Symbol 60 TextUses:9Used by:61
Symbol 61 MovieClipUses:59 60Used by:64
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClipUses:58 61 63Used by:Timeline
Symbol 65 MovieClipUsed by:Timeline
Symbol 66 MovieClipUses:7Used by:Timeline
Symbol 67 GraphicUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:67 68 69 44 70 71 72 73 47 74 42 43Used by:Timeline
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:80 99 102 106 168 234 253 325
Symbol 78 TextUses:9Used by:80
Symbol 79 TextUses:9Used by:80
Symbol 80 MovieClipUses:77 78 79Used by:Timeline
Symbol 81 GraphicUsed by:90
Symbol 82 TextUses:9Used by:84
Symbol 83 TextUses:9Used by:84
Symbol 84 MovieClipUses:82 83Used by:88
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:88
Symbol 87 TextUses:9Used by:88
Symbol 88 MovieClipUses:84 86 87Used by:89
Symbol 89 MovieClipUses:88Used by:90
Symbol 90 MovieClipUses:81 89Used by:92
Symbol 91 MovieClipUsed by:92
Symbol 92 MovieClipUses:90 91Used by:Timeline
Symbol 93 FontUsed by:94 410 420 431
Symbol 94 TextUses:93Used by:Timeline
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:Timeline
Symbol 97 TextUses:9Used by:99
Symbol 98 TextUses:9Used by:99
Symbol 99 MovieClipUses:77 97 98Used by:Timeline
Symbol 100 TextUses:9Used by:102
Symbol 101 TextUses:9Used by:102
Symbol 102 MovieClipUses:77 100 101Used by:Timeline
Symbol 103 TextUses:9Used by:106
Symbol 104 TextUses:9Used by:106
Symbol 105 TextUses:9Used by:106
Symbol 106 MovieClipUses:77 103 104 105Used by:Timeline
Symbol 107 GraphicUsed by:109 164 236 290
Symbol 108 TextUses:9Used by:109
Symbol 109 MovieClipUses:107 108Used by:Timeline
Symbol 110 GraphicUsed by:111 140
Symbol 111 MovieClipUses:110Used by:118
Symbol 112 GraphicUsed by:118 160
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:116
Symbol 116 MovieClipUses:113 115Used by:117
Symbol 117 MovieClipUses:116Used by:118
Symbol 118 MovieClipUses:111 112 117Used by:119
Symbol 119 MovieClipUses:118Used by:162
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:138
Symbol 122 GraphicUsed by:138
Symbol 123 GraphicUsed by:130
Symbol 124 GraphicUsed by:130
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:129
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:129
Symbol 129 MovieClipUses:126 128Used by:130
Symbol 130 MovieClipUses:123 124 129Used by:138  Timeline
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:138  Timeline
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:135 302
Symbol 135 MovieClipUses:134Used by:138 146  Timeline
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:138
Symbol 138 MovieClipUses:121 122 130 132 135 137Used by:139
Symbol 139 MovieClipUses:138Used by:162
Symbol 140 MovieClipUses:110Used by:146
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:146
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:145 295 337 385 387
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClipUses:140 135 142 145Used by:147
Symbol 147 MovieClipUses:146Used by:162
Symbol 148 TextUses:9Used by:162
Symbol 149 TextUses:9Used by:162
Symbol 150 TextUses:9Used by:162
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:151Used by:160
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:155
Symbol 155 MovieClipUses:154Used by:160
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:160
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:160
Symbol 160 MovieClipUses:152 112 155 157 159Used by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClipUses:119 139 147 148 149 150 161Used by:Timeline
Symbol 163 TextUses:9Used by:164
Symbol 164 MovieClipUses:107 163Used by:Timeline
Symbol 165 TextUses:9Used by:168
Symbol 166 TextUses:9Used by:168
Symbol 167 TextUses:9Used by:168
Symbol 168 MovieClipUses:77 165 166 167Used by:Timeline
Symbol 169 GraphicUsed by:174 198 202 206 210 214 221 225 229
Symbol 170 EditableTextUses:9Used by:174
Symbol 171 TextUses:9Used by:174
Symbol 172 GraphicUsed by:174 179 188 194
Symbol 173 GraphicUsed by:174 179
Symbol 174 MovieClipUses:169 170 171 172 173Used by:Timeline
Symbol 175 EditableTextUses:9Used by:Timeline
Symbol 176 GraphicUsed by:179 188 194
Symbol 177 EditableTextUses:9Used by:179
Symbol 178 TextUses:9Used by:179
Symbol 179 MovieClipUses:176 177 178 172 173Used by:Timeline
Symbol 180 EditableTextUses:9Used by:188
Symbol 181 TextUses:9Used by:188
Symbol 182 GraphicUsed by:188
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:186
Symbol 186 MovieClipUses:185Used by:188 194 198 202 206 210 214 221 225 229
Symbol 187 TextUses:9Used by:188
Symbol 188 MovieClipUses:176 180 181 182 172 186 187Used by:Timeline
Symbol 189 EditableTextUses:9Used by:194
Symbol 190 TextUses:9Used by:194
Symbol 191 GraphicUsed by:194 198 202 206 210 214 221 225 229
Symbol 192 GraphicUsed by:194 198 202 206 210 214 221 225 229
Symbol 193 TextUses:9Used by:194
Symbol 194 MovieClipUses:176 189 190 172 191 192 186 193Used by:Timeline
Symbol 195 EditableTextUses:9Used by:198
Symbol 196 TextUses:9Used by:198
Symbol 197 TextUses:9Used by:198
Symbol 198 MovieClipUses:169 195 196 192 191 186 197Used by:Timeline
Symbol 199 EditableTextUses:9Used by:202
Symbol 200 TextUses:9Used by:202
Symbol 201 TextUses:9Used by:202
Symbol 202 MovieClipUses:169 199 200 192 191 186 201Used by:Timeline
Symbol 203 EditableTextUses:9Used by:206
Symbol 204 TextUses:9Used by:206
Symbol 205 TextUses:9Used by:206
Symbol 206 MovieClipUses:169 203 204 192 191 186 205Used by:Timeline
Symbol 207 EditableTextUses:9Used by:210
Symbol 208 TextUses:9Used by:210
Symbol 209 TextUses:9Used by:210
Symbol 210 MovieClipUses:169 207 208 192 191 186 209Used by:Timeline
Symbol 211 EditableTextUses:9Used by:214
Symbol 212 TextUses:9Used by:214
Symbol 213 TextUses:9Used by:214
Symbol 214 MovieClipUses:169 211 212 192 191 186 213Used by:Timeline
Symbol 215 TextUses:9Used by:Timeline
Symbol 216 TextUses:9Used by:Timeline
Symbol 217 TextUses:9Used by:Timeline
Symbol 218 EditableTextUses:9Used by:221
Symbol 219 TextUses:9Used by:221
Symbol 220 TextUses:9Used by:221
Symbol 221 MovieClipUses:169 218 219 192 191 186 220Used by:Timeline
Symbol 222 EditableTextUses:9Used by:225
Symbol 223 TextUses:9Used by:225
Symbol 224 TextUses:9Used by:225
Symbol 225 MovieClipUses:169 222 223 192 191 186 224Used by:Timeline
Symbol 226 EditableTextUses:9Used by:229
Symbol 227 TextUses:9Used by:229
Symbol 228 TextUses:9Used by:229
Symbol 229 MovieClipUses:169 226 227 192 191 186 228Used by:Timeline
Symbol 230 TextUses:9Used by:Timeline
Symbol 231 TextUses:9Used by:234
Symbol 232 TextUses:9Used by:234
Symbol 233 TextUses:9Used by:234
Symbol 234 MovieClipUses:77 48 231 232 233Used by:Timeline
Symbol 235 TextUses:9Used by:236
Symbol 236 MovieClipUses:107 235Used by:Timeline
Symbol 237 TextUses:9Used by:287
Symbol 238 TextUses:9Used by:287
Symbol 239 TextUses:9Used by:287
Symbol 240 TextUses:9Used by:287
Symbol 241 TextUses:9Used by:287
Symbol 242 TextUses:9Used by:287
Symbol 243 TextUses:9Used by:287
Symbol 244 TextUses:9Used by:287
Symbol 245 TextUses:9Used by:287
Symbol 246 TextUses:9Used by:287
Symbol 247 TextUses:9Used by:287
Symbol 248 GraphicUsed by:250
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:248 249Used by:287  Timeline
Symbol 251 TextUses:9Used by:253
Symbol 252 TextUses:9Used by:253
Symbol 253 MovieClipUses:77 251 252Used by:287
Symbol 254 TextUses:9Used by:287
Symbol 255 TextUses:9Used by:287
Symbol 256 TextUses:9Used by:287
Symbol 257 TextUses:9Used by:287
Symbol 258 TextUses:9Used by:287
Symbol 259 TextUses:9Used by:287
Symbol 260 TextUses:9Used by:287
Symbol 261 TextUses:9Used by:287
Symbol 262 TextUses:9Used by:287
Symbol 263 TextUses:9Used by:287
Symbol 264 TextUses:9Used by:287
Symbol 265 TextUses:9Used by:287
Symbol 266 TextUses:9Used by:287
Symbol 267 TextUses:9Used by:287
Symbol 268 TextUses:9Used by:287
Symbol 269 TextUses:9Used by:287
Symbol 270 TextUses:9Used by:287
Symbol 271 TextUses:9Used by:287
Symbol 272 TextUses:9Used by:287
Symbol 273 TextUses:9Used by:287
Symbol 274 TextUses:9Used by:287
Symbol 275 TextUses:9Used by:287
Symbol 276 TextUses:9Used by:287
Symbol 277 TextUses:9Used by:287
Symbol 278 TextUses:9Used by:287
Symbol 279 TextUses:9Used by:287
Symbol 280 TextUses:9Used by:287
Symbol 281 TextUses:9Used by:287
Symbol 282 TextUses:9Used by:287
Symbol 283 TextUses:9Used by:287
Symbol 284 TextUses:9Used by:287
Symbol 285 TextUses:9Used by:287
Symbol 286 TextUses:9Used by:287
Symbol 287 MovieClipUses:237 238 239 240 241 242 243 244 245 246 247 250 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286Used by:Timeline
Symbol 288 EditableTextUses:9Used by:Timeline
Symbol 289 TextUses:9Used by:290
Symbol 290 MovieClipUses:107 289Used by:Timeline
Symbol 291 TextUses:9Used by:Timeline
Symbol 292 TextUses:9Used by:Timeline
Symbol 293 TextUses:9Used by:Timeline
Symbol 294 EditableTextUses:9Used by:Timeline
Symbol 295 MovieClipUses:144Used by:Timeline
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:300
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:298Used by:300
Symbol 300 MovieClipUses:297 299Used by:301
Symbol 301 MovieClipUses:300Used by:302
Symbol 302 MovieClipUses:134 301Used by:Timeline
Symbol 303 EditableTextUses:9Used by:Timeline
Symbol 304 GraphicUsed by:312 345 379 399 408 419
Symbol 305 FontUsed by:306 329 402 418 429
Symbol 306 TextUses:305Used by:312 345 355 367 379 389 399 408 425
Symbol 307 GraphicUsed by:310
Symbol 308 TextUses:9Used by:310
Symbol 309 TextUses:9Used by:310
Symbol 310 MovieClipUses:307 308 309Used by:312 345 356 367 379 389 399 408 419 425
Symbol 311 TextUses:9Used by:312 325
Symbol 312 MovieClipUses:304 306 310 311Used by:Timeline
Symbol 313 TextUses:9Used by:Timeline
Symbol 314 EditableTextUses:9Used by:Timeline
Symbol 315 TextUses:9Used by:Timeline
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:319
Symbol 318 TextUses:9Used by:319
Symbol 319 MovieClipUses:317 318Used by:Timeline
Symbol 320 TextUses:9Used by:Timeline
Symbol 321 EditableTextUses:9Used by:Timeline
Symbol 322 EditableTextUses:9Used by:Timeline
Symbol 323 TextUses:9Used by:325
Symbol 324 TextUses:9Used by:325
Symbol 325 MovieClipUses:77 323 311 324Used by:Timeline
Symbol 326 EditableTextUses:9Used by:Timeline
Symbol 327 EditableTextUses:9Used by:Timeline
Symbol 328 EditableTextUses:9Used by:Timeline
Symbol 329 TextUses:305Used by:Timeline
Symbol 330 TextUses:9Used by:Timeline
Symbol 331 TextUses:9Used by:Timeline
Symbol 332 EditableTextUses:9Used by:Timeline
Symbol 333 EditableTextUses:9Used by:Timeline
Symbol 334 EditableTextUses:9Used by:Timeline
Symbol 335 EditableTextUses:9Used by:Timeline
Symbol 336 TextUses:9Used by:Timeline
Symbol 337 MovieClipUses:144Used by:Timeline
Symbol 338 TextUses:9Used by:Timeline
Symbol 339 TextUses:9Used by:Timeline
Symbol 340 TextUses:9Used by:Timeline
Symbol 341 EditableTextUses:9Used by:Timeline
Symbol 342 EditableTextUses:9Used by:Timeline
Symbol 343 EditableTextUses:9Used by:Timeline
Symbol 344 EditableTextUses:9Used by:Timeline
Symbol 345 MovieClipUses:304 306 310Used by:Timeline
Symbol 346 TextUses:9Used by:Timeline
Symbol 347 EditableTextUses:9Used by:Timeline
Symbol 348 TextUses:9Used by:Timeline
Symbol 349 TextUses:9Used by:Timeline
Symbol 350 EditableTextUses:9Used by:Timeline
Symbol 351 EditableTextUses:9Used by:Timeline
Symbol 352 EditableTextUses:9Used by:Timeline
Symbol 353 EditableTextUses:9Used by:Timeline
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:354 306Used by:356
Symbol 356 MovieClipUses:310 355Used by:Timeline
Symbol 357 TextUses:9Used by:Timeline
Symbol 358 EditableTextUses:9Used by:Timeline
Symbol 359 TextUses:9Used by:Timeline
Symbol 360 TextUses:9Used by:Timeline
Symbol 361 TextUses:9Used by:Timeline
Symbol 362 EditableTextUses:9Used by:Timeline
Symbol 363 EditableTextUses:9Used by:Timeline
Symbol 364 EditableTextUses:9Used by:Timeline
Symbol 365 EditableTextUses:9Used by:Timeline
Symbol 366 GraphicUsed by:367 389 425
Symbol 367 MovieClipUses:366 306 310Used by:Timeline
Symbol 368 TextUses:9Used by:Timeline
Symbol 369 EditableTextUses:9Used by:Timeline
Symbol 370 TextUses:9Used by:Timeline
Symbol 371 TextUses:9Used by:Timeline
Symbol 372 EditableTextUses:9Used by:Timeline
Symbol 373 EditableTextUses:9Used by:Timeline
Symbol 374 EditableTextUses:9Used by:Timeline
Symbol 375 EditableTextUses:9Used by:Timeline
Symbol 376 EditableTextUses:9Used by:Timeline
Symbol 377 TextUses:9Used by:378
Symbol 378 MovieClipUses:377Used by:Timeline
Symbol 379 MovieClipUses:304 306 310Used by:Timeline
Symbol 380 TextUses:9Used by:Timeline
Symbol 381 TextUses:9Used by:Timeline
Symbol 382 EditableTextUses:9Used by:Timeline
Symbol 383 EditableTextUses:9Used by:Timeline
Symbol 384 EditableTextUses:9Used by:Timeline
Symbol 385 MovieClipUses:144Used by:Timeline
Symbol 386 EditableTextUses:9Used by:Timeline
Symbol 387 MovieClipUses:144Used by:Timeline
Symbol 388 EditableTextUses:9Used by:Timeline
Symbol 389 MovieClipUses:366 306 310Used by:Timeline
Symbol 390 TextUses:9Used by:Timeline
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:391Used by:Timeline
Symbol 393 TextUses:9Used by:Timeline
Symbol 394 TextUses:9Used by:Timeline
Symbol 395 EditableTextUses:9Used by:Timeline
Symbol 396 EditableTextUses:9Used by:Timeline
Symbol 397 EditableTextUses:9Used by:Timeline
Symbol 398 EditableTextUses:9Used by:Timeline
Symbol 399 MovieClipUses:304 306 310Used by:Timeline
Symbol 400 EditableTextUses:9Used by:Timeline
Symbol 401 TextUses:9Used by:Timeline
Symbol 402 TextUses:305Used by:Timeline
Symbol 403 TextUses:9Used by:Timeline
Symbol 404 EditableTextUses:9Used by:Timeline
Symbol 405 EditableTextUses:9Used by:Timeline
Symbol 406 EditableTextUses:9Used by:Timeline
Symbol 407 EditableTextUses:9Used by:Timeline
Symbol 408 MovieClipUses:304 306 310Used by:Timeline
Symbol 409 EditableTextUses:9Used by:Timeline
Symbol 410 TextUses:93Used by:Timeline
Symbol 411 TextUses:9Used by:Timeline
Symbol 412 TextUses:9Used by:Timeline
Symbol 413 EditableTextUses:9Used by:Timeline
Symbol 414 EditableTextUses:9Used by:Timeline
Symbol 415 EditableTextUses:9Used by:Timeline
Symbol 416 EditableTextUses:9Used by:Timeline
Symbol 417 EditableTextUses:9Used by:Timeline
Symbol 418 TextUses:305Used by:419
Symbol 419 MovieClipUses:304 418 310Used by:Timeline
Symbol 420 TextUses:93Used by:Timeline
Symbol 421 TextUses:9Used by:Timeline
Symbol 422 TextUses:9Used by:Timeline
Symbol 423 EditableTextUses:9Used by:Timeline
Symbol 424 EditableTextUses:9Used by:Timeline
Symbol 425 MovieClipUses:366 306 310Used by:Timeline
Symbol 426 EditableTextUses:9Used by:Timeline
Symbol 427 EditableTextUses:9Used by:Timeline
Symbol 428 TextUses:9Used by:Timeline
Symbol 429 TextUses:305Used by:Timeline
Symbol 430 EditableTextUses:9Used by:Timeline
Symbol 431 TextUses:93Used by:432
Symbol 432 MovieClipUses:431 23Used by:433
Symbol 433 MovieClipUses:432Used by:Timeline
Symbol 434 TextUses:9Used by:Timeline
Symbol 435 EditableTextUses:9Used by:Timeline
Symbol 436 EditableTextUses:9Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 11 MovieClip
"fader"Frame 2Symbol 50 MovieClip
"award"Frame 2Symbol 56 MovieClip
"box"Frame 4Symbol 96 MovieClip
"award"Frame 4Symbol 56 MovieClip
"howto"Frame 5Symbol 162 MovieClip
"totalscore"Frame 6Symbol 175 EditableText
"sp"Frame 6Symbol 234 MovieClip
"pag"Frame 7Symbol 287 MovieClip
"total"Frame 7Symbol 288 EditableText
"sp"Frame 7Symbol 234 MovieClip
"q2"Frame 9Symbol 130 MovieClip
"time"Frame 9Symbol 294 EditableText
"q4"Frame 9Symbol 130 MovieClip
"q3"Frame 9Symbol 130 MovieClip
"q1"Frame 9Symbol 130 MovieClip
"spikes"Frame 9Symbol 295 MovieClip
"back"Frame 9Symbol 250 MovieClip
"hero"Frame 9Symbol 302 MovieClip
"total"Frame 9Symbol 303 EditableText
"launch"Frame 9Symbol 312 MovieClip
"q5"Frame 9Symbol 130 MovieClip
"fps"Frame 9Symbol 314 EditableText
"t1"Frame 9Symbol 135 MovieClip
"t2"Frame 9Symbol 135 MovieClip
"t3"Frame 9Symbol 135 MovieClip
"t4"Frame 9Symbol 135 MovieClip
"t5"Frame 9Symbol 135 MovieClip
"t6"Frame 9Symbol 135 MovieClip
"t7"Frame 9Symbol 135 MovieClip
"t8"Frame 9Symbol 135 MovieClip
"t9"Frame 9Symbol 135 MovieClip
"t10"Frame 9Symbol 135 MovieClip
"pause"Frame 9Symbol 319 MovieClip
"back"Frame 10Symbol 250 MovieClip
"score"Frame 10Symbol 321 EditableText
"totalscore"Frame 10Symbol 322 EditableText
"q2"Frame 11Symbol 130 MovieClip
"time"Frame 11Symbol 326 EditableText
"q4"Frame 11Symbol 130 MovieClip
"q3"Frame 11Symbol 130 MovieClip
"q1"Frame 11Symbol 130 MovieClip
"spikes"Frame 11Symbol 295 MovieClip
"back"Frame 11Symbol 250 MovieClip
"hero"Frame 11Symbol 302 MovieClip
"total"Frame 11Symbol 327 EditableText
"launch"Frame 11Symbol 312 MovieClip
"q5"Frame 11Symbol 130 MovieClip
"q6"Frame 11Symbol 130 MovieClip
"fps"Frame 11Symbol 328 EditableText
"t1"Frame 11Symbol 135 MovieClip
"t2"Frame 11Symbol 135 MovieClip
"t3"Frame 11Symbol 135 MovieClip
"t4"Frame 11Symbol 135 MovieClip
"t5"Frame 11Symbol 135 MovieClip
"t6"Frame 11Symbol 135 MovieClip
"t7"Frame 11Symbol 135 MovieClip
"t8"Frame 11Symbol 135 MovieClip
"t9"Frame 11Symbol 135 MovieClip
"t10"Frame 11Symbol 135 MovieClip
"back"Frame 12Symbol 250 MovieClip
"score"Frame 12Symbol 332 EditableText
"totalscore"Frame 12Symbol 333 EditableText
"q2"Frame 13Symbol 130 MovieClip
"time"Frame 13Symbol 334 EditableText
"q4"Frame 13Symbol 130 MovieClip
"q3"Frame 13Symbol 130 MovieClip
"q1"Frame 13Symbol 130 MovieClip
"w49"Frame 13Symbol 295 MovieClip
"back"Frame 13Symbol 250 MovieClip
"hero"Frame 13Symbol 302 MovieClip
"total"Frame 13Symbol 335 EditableText
"launch"Frame 13Symbol 312 MovieClip
"q5"Frame 13Symbol 130 MovieClip
"q6"Frame 13Symbol 130 MovieClip
"q8"Frame 13Symbol 130 MovieClip
"w1"Frame 13Symbol 337 MovieClip
"w2"Frame 13Symbol 337 MovieClip
"w3"Frame 13Symbol 337 MovieClip
"w4"Frame 13Symbol 337 MovieClip
"t1"Frame 13Symbol 135 MovieClip
"t2"Frame 13Symbol 135 MovieClip
"t3"Frame 13Symbol 135 MovieClip
"t4"Frame 13Symbol 135 MovieClip
"t5"Frame 13Symbol 135 MovieClip
"t6"Frame 13Symbol 135 MovieClip
"t7"Frame 13Symbol 135 MovieClip
"t8"Frame 13Symbol 135 MovieClip
"t9"Frame 13Symbol 135 MovieClip
"t10"Frame 13Symbol 135 MovieClip
"back"Frame 14Symbol 250 MovieClip
"score"Frame 14Symbol 341 EditableText
"totalscore"Frame 14Symbol 342 EditableText
"q2"Frame 15Symbol 130 MovieClip
"time"Frame 15Symbol 343 EditableText
"q4"Frame 15Symbol 130 MovieClip
"q3"Frame 15Symbol 130 MovieClip
"q1"Frame 15Symbol 130 MovieClip
"w49"Frame 15Symbol 295 MovieClip
"back"Frame 15Symbol 250 MovieClip
"hero"Frame 15Symbol 302 MovieClip
"total"Frame 15Symbol 344 EditableText
"launch"Frame 15Symbol 345 MovieClip
"q5"Frame 15Symbol 130 MovieClip
"q6"Frame 15Symbol 130 MovieClip
"q8"Frame 15Symbol 130 MovieClip
"w1"Frame 15Symbol 337 MovieClip
"w2"Frame 15Symbol 337 MovieClip
"w3"Frame 15Symbol 337 MovieClip
"w4"Frame 15Symbol 337 MovieClip
"w6"Frame 15Symbol 337 MovieClip
"w7"Frame 15Symbol 337 MovieClip
"q9"Frame 15Symbol 130 MovieClip
"q10"Frame 15Symbol 130 MovieClip
"q11"Frame 15Symbol 130 MovieClip
"fps"Frame 15Symbol 347 EditableText
"t1"Frame 15Symbol 135 MovieClip
"t2"Frame 15Symbol 135 MovieClip
"t3"Frame 15Symbol 135 MovieClip
"t4"Frame 15Symbol 135 MovieClip
"t5"Frame 15Symbol 135 MovieClip
"t6"Frame 15Symbol 135 MovieClip
"t7"Frame 15Symbol 135 MovieClip
"t8"Frame 15Symbol 135 MovieClip
"t9"Frame 15Symbol 135 MovieClip
"t10"Frame 15Symbol 135 MovieClip
"back"Frame 16Symbol 250 MovieClip
"score"Frame 16Symbol 350 EditableText
"totalscore"Frame 16Symbol 351 EditableText
"q2"Frame 17Symbol 130 MovieClip
"time"Frame 17Symbol 352 EditableText
"q4"Frame 17Symbol 130 MovieClip
"q3"Frame 17Symbol 130 MovieClip
"q1"Frame 17Symbol 130 MovieClip
"w49"Frame 17Symbol 295 MovieClip
"back"Frame 17Symbol 250 MovieClip
"hero"Frame 17Symbol 302 MovieClip
"total"Frame 17Symbol 353 EditableText
"launch"Frame 17Symbol 356 MovieClip
"q5"Frame 17Symbol 130 MovieClip
"q6"Frame 17Symbol 130 MovieClip
"q8"Frame 17Symbol 130 MovieClip
"w1"Frame 17Symbol 337 MovieClip
"w2"Frame 17Symbol 337 MovieClip
"w3"Frame 17Symbol 337 MovieClip
"w4"Frame 17Symbol 337 MovieClip
"w6"Frame 17Symbol 337 MovieClip
"w7"Frame 17Symbol 337 MovieClip
"q9"Frame 17Symbol 130 MovieClip
"q10"Frame 17Symbol 130 MovieClip
"q11"Frame 17Symbol 130 MovieClip
"w9"Frame 17Symbol 337 MovieClip
"w10"Frame 17Symbol 337 MovieClip
"w8"Frame 17Symbol 337 MovieClip
"w5"Frame 17Symbol 337 MovieClip
"q14"Frame 17Symbol 130 MovieClip
"fps"Frame 17Symbol 358 EditableText
"t1"Frame 17Symbol 135 MovieClip
"t2"Frame 17Symbol 135 MovieClip
"t3"Frame 17Symbol 135 MovieClip
"t4"Frame 17Symbol 135 MovieClip
"t5"Frame 17Symbol 135 MovieClip
"t6"Frame 17Symbol 135 MovieClip
"t7"Frame 17Symbol 135 MovieClip
"t8"Frame 17Symbol 135 MovieClip
"t9"Frame 17Symbol 135 MovieClip
"t10"Frame 17Symbol 135 MovieClip
"back"Frame 18Symbol 250 MovieClip
"score"Frame 18Symbol 362 EditableText
"totalscore"Frame 18Symbol 363 EditableText
"q2"Frame 19Symbol 130 MovieClip
"time"Frame 19Symbol 364 EditableText
"q4"Frame 19Symbol 130 MovieClip
"q3"Frame 19Symbol 130 MovieClip
"q1"Frame 19Symbol 130 MovieClip
"w49"Frame 19Symbol 295 MovieClip
"back"Frame 19Symbol 250 MovieClip
"hero"Frame 19Symbol 302 MovieClip
"total"Frame 19Symbol 365 EditableText
"launch"Frame 19Symbol 367 MovieClip
"q5"Frame 19Symbol 130 MovieClip
"q6"Frame 19Symbol 130 MovieClip
"q8"Frame 19Symbol 130 MovieClip
"w1"Frame 19Symbol 337 MovieClip
"w2"Frame 19Symbol 337 MovieClip
"w3"Frame 19Symbol 337 MovieClip
"w4"Frame 19Symbol 337 MovieClip
"w6"Frame 19Symbol 337 MovieClip
"w7"Frame 19Symbol 337 MovieClip
"q9"Frame 19Symbol 130 MovieClip
"q10"Frame 19Symbol 130 MovieClip
"q11"Frame 19Symbol 130 MovieClip
"w10"Frame 19Symbol 337 MovieClip
"w9"Frame 19Symbol 337 MovieClip
"w8"Frame 19Symbol 337 MovieClip
"w5"Frame 19Symbol 337 MovieClip
"q14"Frame 19Symbol 130 MovieClip
"fps"Frame 19Symbol 369 EditableText
"w15"Frame 19Symbol 337 MovieClip
"w16"Frame 19Symbol 337 MovieClip
"t1"Frame 19Symbol 135 MovieClip
"t2"Frame 19Symbol 135 MovieClip
"t3"Frame 19Symbol 135 MovieClip
"t4"Frame 19Symbol 135 MovieClip
"t5"Frame 19Symbol 135 MovieClip
"t6"Frame 19Symbol 135 MovieClip
"t7"Frame 19Symbol 135 MovieClip
"t8"Frame 19Symbol 135 MovieClip
"t9"Frame 19Symbol 135 MovieClip
"t10"Frame 19Symbol 135 MovieClip
"back"Frame 20Symbol 250 MovieClip
"score"Frame 20Symbol 372 EditableText
"totalscore"Frame 20Symbol 373 EditableText
"q2"Frame 21Symbol 130 MovieClip
"time"Frame 21Symbol 374 EditableText
"q4"Frame 21Symbol 130 MovieClip
"q1"Frame 21Symbol 130 MovieClip
"w49"Frame 21Symbol 295 MovieClip
"back"Frame 21Symbol 250 MovieClip
"hero"Frame 21Symbol 302 MovieClip
"total"Frame 21Symbol 375 EditableText
"q8"Frame 21Symbol 130 MovieClip
"w1"Frame 21Symbol 337 MovieClip
"w2"Frame 21Symbol 337 MovieClip
"w3"Frame 21Symbol 337 MovieClip
"w4"Frame 21Symbol 337 MovieClip
"w6"Frame 21Symbol 337 MovieClip
"w7"Frame 21Symbol 337 MovieClip
"q9"Frame 21Symbol 130 MovieClip
"q10"Frame 21Symbol 130 MovieClip
"w10"Frame 21Symbol 337 MovieClip
"w9"Frame 21Symbol 337 MovieClip
"w8"Frame 21Symbol 337 MovieClip
"w5"Frame 21Symbol 337 MovieClip
"q14"Frame 21Symbol 130 MovieClip
"fps"Frame 21Symbol 376 EditableText
"q15"Frame 21Symbol 130 MovieClip
"w15"Frame 21Symbol 337 MovieClip
"w16"Frame 21Symbol 337 MovieClip
"launch"Frame 21Symbol 379 MovieClip
"w20"Frame 21Symbol 337 MovieClip
"w21"Frame 21Symbol 337 MovieClip
"t1"Frame 21Symbol 135 MovieClip
"t2"Frame 21Symbol 135 MovieClip
"t3"Frame 21Symbol 135 MovieClip
"t4"Frame 21Symbol 135 MovieClip
"t5"Frame 21Symbol 135 MovieClip
"t6"Frame 21Symbol 135 MovieClip
"t7"Frame 21Symbol 135 MovieClip
"t8"Frame 21Symbol 135 MovieClip
"t9"Frame 21Symbol 135 MovieClip
"t10"Frame 21Symbol 135 MovieClip
"back"Frame 22Symbol 250 MovieClip
"score"Frame 22Symbol 382 EditableText
"totalscore"Frame 22Symbol 383 EditableText
"time"Frame 23Symbol 384 EditableText
"q4"Frame 23Symbol 130 MovieClip
"q3"Frame 23Symbol 130 MovieClip
"w49"Frame 23Symbol 385 MovieClip
"back"Frame 23Symbol 250 MovieClip
"hero"Frame 23Symbol 302 MovieClip
"total"Frame 23Symbol 386 EditableText
"q5"Frame 23Symbol 130 MovieClip
"q6"Frame 23Symbol 130 MovieClip
"w1"Frame 23Symbol 387 MovieClip
"w2"Frame 23Symbol 387 MovieClip
"w3"Frame 23Symbol 387 MovieClip
"w4"Frame 23Symbol 387 MovieClip
"q10"Frame 23Symbol 130 MovieClip
"q11"Frame 23Symbol 130 MovieClip
"w10"Frame 23Symbol 387 MovieClip
"w9"Frame 23Symbol 387 MovieClip
"w8"Frame 23Symbol 387 MovieClip
"w5"Frame 23Symbol 387 MovieClip
"fps"Frame 23Symbol 388 EditableText
"q15"Frame 23Symbol 130 MovieClip
"w20"Frame 23Symbol 387 MovieClip
"w21"Frame 23Symbol 387 MovieClip
"w48"Frame 23Symbol 385 MovieClip
"launch"Frame 23Symbol 389 MovieClip
"w30"Frame 23Symbol 392 MovieClip
"w32"Frame 23Symbol 392 MovieClip
"w31"Frame 23Symbol 392 MovieClip
"t1"Frame 23Symbol 135 MovieClip
"t2"Frame 23Symbol 135 MovieClip
"t3"Frame 23Symbol 135 MovieClip
"t4"Frame 23Symbol 135 MovieClip
"t5"Frame 23Symbol 135 MovieClip
"t6"Frame 23Symbol 135 MovieClip
"t7"Frame 23Symbol 135 MovieClip
"t8"Frame 23Symbol 135 MovieClip
"t9"Frame 23Symbol 135 MovieClip
"t10"Frame 23Symbol 135 MovieClip
"back"Frame 24Symbol 250 MovieClip
"score"Frame 24Symbol 395 EditableText
"totalscore"Frame 24Symbol 396 EditableText
"w49"Frame 25Symbol 385 MovieClip
"w48"Frame 25Symbol 385 MovieClip
"w46"Frame 25Symbol 385 MovieClip
"w47"Frame 25Symbol 385 MovieClip
"time"Frame 25Symbol 397 EditableText
"q4"Frame 25Symbol 130 MovieClip
"back"Frame 25Symbol 250 MovieClip
"hero"Frame 25Symbol 302 MovieClip
"total"Frame 25Symbol 398 EditableText
"launch"Frame 25Symbol 399 MovieClip
"q5"Frame 25Symbol 130 MovieClip
"q9"Frame 25Symbol 130 MovieClip
"fps"Frame 25Symbol 400 EditableText
"q26"Frame 25Symbol 130 MovieClip
"q20"Frame 25Symbol 130 MovieClip
"q24"Frame 25Symbol 130 MovieClip
"q22"Frame 25Symbol 130 MovieClip
"q27"Frame 25Symbol 130 MovieClip
"q30"Frame 25Symbol 130 MovieClip
"q29"Frame 25Symbol 130 MovieClip
"q48"Frame 25Symbol 130 MovieClip
"q36"Frame 25Symbol 130 MovieClip
"q38"Frame 25Symbol 130 MovieClip
"q40"Frame 25Symbol 130 MovieClip
"q42"Frame 25Symbol 130 MovieClip
"q45"Frame 25Symbol 130 MovieClip
"q44"Frame 25Symbol 130 MovieClip
"q52"Frame 25Symbol 130 MovieClip
"q54"Frame 25Symbol 130 MovieClip
"q56"Frame 25Symbol 130 MovieClip
"t1"Frame 25Symbol 135 MovieClip
"t2"Frame 25Symbol 135 MovieClip
"t3"Frame 25Symbol 135 MovieClip
"t4"Frame 25Symbol 135 MovieClip
"t5"Frame 25Symbol 135 MovieClip
"t6"Frame 25Symbol 135 MovieClip
"t7"Frame 25Symbol 135 MovieClip
"t8"Frame 25Symbol 135 MovieClip
"t9"Frame 25Symbol 135 MovieClip
"t10"Frame 25Symbol 135 MovieClip
"back"Frame 26Symbol 250 MovieClip
"score"Frame 26Symbol 404 EditableText
"totalscore"Frame 26Symbol 405 EditableText
"w49"Frame 27Symbol 385 MovieClip
"w48"Frame 27Symbol 385 MovieClip
"w47"Frame 27Symbol 385 MovieClip
"w46"Frame 27Symbol 385 MovieClip
"time"Frame 27Symbol 406 EditableText
"back"Frame 27Symbol 250 MovieClip
"hero"Frame 27Symbol 302 MovieClip
"total"Frame 27Symbol 407 EditableText
"launch"Frame 27Symbol 408 MovieClip
"fps"Frame 27Symbol 409 EditableText
"w11"Frame 27Symbol 392 MovieClip
"w10"Frame 27Symbol 392 MovieClip
"w42"Frame 27Symbol 392 MovieClip
"w16"Frame 27Symbol 392 MovieClip
"w22"Frame 27Symbol 392 MovieClip
"w21"Frame 27Symbol 392 MovieClip
"w19"Frame 27Symbol 392 MovieClip
"w20"Frame 27Symbol 392 MovieClip
"w18"Frame 27Symbol 392 MovieClip
"w17"Frame 27Symbol 392 MovieClip
"q36"Frame 27Symbol 130 MovieClip
"q38"Frame 27Symbol 130 MovieClip
"q41"Frame 27Symbol 130 MovieClip
"q40"Frame 27Symbol 130 MovieClip
"q37"Frame 27Symbol 130 MovieClip
"q39"Frame 27Symbol 130 MovieClip
"q42"Frame 27Symbol 130 MovieClip
"q45"Frame 27Symbol 130 MovieClip
"q44"Frame 27Symbol 130 MovieClip
"q43"Frame 27Symbol 130 MovieClip
"t1"Frame 27Symbol 135 MovieClip
"t2"Frame 27Symbol 135 MovieClip
"t3"Frame 27Symbol 135 MovieClip
"t4"Frame 27Symbol 135 MovieClip
"t5"Frame 27Symbol 135 MovieClip
"t6"Frame 27Symbol 135 MovieClip
"t7"Frame 27Symbol 135 MovieClip
"t8"Frame 27Symbol 135 MovieClip
"t9"Frame 27Symbol 135 MovieClip
"t10"Frame 27Symbol 135 MovieClip
"q60"Frame 27Symbol 130 MovieClip
"q61"Frame 27Symbol 130 MovieClip
"back"Frame 28Symbol 250 MovieClip
"score"Frame 28Symbol 413 EditableText
"totalscore"Frame 28Symbol 414 EditableText
"w49"Frame 29Symbol 385 MovieClip
"w48"Frame 29Symbol 385 MovieClip
"w47"Frame 29Symbol 385 MovieClip
"w46"Frame 29Symbol 385 MovieClip
"time"Frame 29Symbol 415 EditableText
"back"Frame 29Symbol 250 MovieClip
"hero"Frame 29Symbol 302 MovieClip
"total"Frame 29Symbol 416 EditableText
"fps"Frame 29Symbol 417 EditableText
"w11"Frame 29Symbol 392 MovieClip
"w10"Frame 29Symbol 392 MovieClip
"w10"Frame 29Symbol 392 MovieClip
"w16"Frame 29Symbol 392 MovieClip
"w22"Frame 29Symbol 392 MovieClip
"w21"Frame 29Symbol 392 MovieClip
"w19"Frame 29Symbol 392 MovieClip
"w20"Frame 29Symbol 392 MovieClip
"w18"Frame 29Symbol 392 MovieClip
"launch"Frame 29Symbol 419 MovieClip
"w17"Frame 29Symbol 392 MovieClip
"q41"Frame 29Symbol 130 MovieClip
"t1"Frame 29Symbol 135 MovieClip
"t2"Frame 29Symbol 135 MovieClip
"t3"Frame 29Symbol 135 MovieClip
"t4"Frame 29Symbol 135 MovieClip
"t5"Frame 29Symbol 135 MovieClip
"t6"Frame 29Symbol 135 MovieClip
"t7"Frame 29Symbol 135 MovieClip
"t8"Frame 29Symbol 135 MovieClip
"t9"Frame 29Symbol 135 MovieClip
"t10"Frame 29Symbol 135 MovieClip
"w23"Frame 29Symbol 392 MovieClip
"q42"Frame 29Symbol 130 MovieClip
"q43"Frame 29Symbol 130 MovieClip
"w10"Frame 29Symbol 392 MovieClip
"back"Frame 30Symbol 250 MovieClip
"score"Frame 30Symbol 423 EditableText
"totalscore"Frame 30Symbol 424 EditableText
"back"Frame 31Symbol 250 MovieClip
"hero"Frame 31Symbol 302 MovieClip
"launch"Frame 31Symbol 425 MovieClip
"fps"Frame 31Symbol 426 EditableText
"total"Frame 31Symbol 427 EditableText
"w49"Frame 31Symbol 385 MovieClip
"w48"Frame 31Symbol 385 MovieClip
"w47"Frame 31Symbol 385 MovieClip
"w46"Frame 31Symbol 385 MovieClip
"q32"Frame 31Symbol 130 MovieClip
"q34"Frame 31Symbol 130 MovieClip
"q33"Frame 31Symbol 130 MovieClip
"q36"Frame 31Symbol 130 MovieClip
"q38"Frame 31Symbol 130 MovieClip
"q35"Frame 31Symbol 130 MovieClip
"q37"Frame 31Symbol 130 MovieClip
"q29"Frame 31Symbol 130 MovieClip
"q16"Frame 31Symbol 130 MovieClip
"q30"Frame 31Symbol 130 MovieClip
"q17"Frame 31Symbol 130 MovieClip
"q26"Frame 31Symbol 130 MovieClip
"q14"Frame 31Symbol 130 MovieClip
"q27"Frame 31Symbol 130 MovieClip
"q15"Frame 31Symbol 130 MovieClip
"q24"Frame 31Symbol 130 MovieClip
"q11"Frame 31Symbol 130 MovieClip
"q25"Frame 31Symbol 130 MovieClip
"q12"Frame 31Symbol 130 MovieClip
"q22"Frame 31Symbol 130 MovieClip
"q8"Frame 31Symbol 130 MovieClip
"q23"Frame 31Symbol 130 MovieClip
"q9"Frame 31Symbol 130 MovieClip
"q20"Frame 31Symbol 130 MovieClip
"q1"Frame 31Symbol 130 MovieClip
"q21"Frame 31Symbol 130 MovieClip
"q3"Frame 31Symbol 130 MovieClip
"q6"Frame 31Symbol 130 MovieClip
"q5"Frame 31Symbol 130 MovieClip
"q2"Frame 31Symbol 130 MovieClip
"q4"Frame 31Symbol 130 MovieClip
"q7"Frame 31Symbol 130 MovieClip
"q18"Frame 31Symbol 130 MovieClip
"q19"Frame 31Symbol 130 MovieClip
"q31"Frame 31Symbol 130 MovieClip
"q13"Frame 31Symbol 130 MovieClip
"q10"Frame 31Symbol 130 MovieClip
"q28"Frame 31Symbol 130 MovieClip
"time"Frame 31Symbol 430 EditableText
"w10"Frame 31Symbol 392 MovieClip
"w18"Frame 31Symbol 392 MovieClip
"t1"Frame 31Symbol 135 MovieClip
"t2"Frame 31Symbol 135 MovieClip
"t3"Frame 31Symbol 135 MovieClip
"t4"Frame 31Symbol 135 MovieClip
"t5"Frame 31Symbol 135 MovieClip
"t6"Frame 31Symbol 135 MovieClip
"t7"Frame 31Symbol 135 MovieClip
"t8"Frame 31Symbol 135 MovieClip
"t9"Frame 31Symbol 135 MovieClip
"t10"Frame 31Symbol 135 MovieClip
"back"Frame 33Symbol 250 MovieClip
"score"Frame 33Symbol 435 EditableText
"totalscore"Frame 33Symbol 436 EditableText
"bar"Symbol 11 MovieClip Frame 1Symbol 8 MovieClip
"award"Symbol 56 MovieClip Frame 1Symbol 55 MovieClip
"swaper2"Symbol 64 MovieClip Frame 1Symbol 61 MovieClip
"q4"Symbol 138 MovieClip Frame 1Symbol 130 MovieClip
"hero"Symbol 138 MovieClip Frame 1Symbol 135 MovieClip
"hero"Symbol 146 MovieClip Frame 1Symbol 135 MovieClip
"score"Symbol 174 MovieClip Frame 1Symbol 170 EditableText
"score"Symbol 179 MovieClip Frame 1Symbol 177 EditableText
"score"Symbol 188 MovieClip Frame 1Symbol 180 EditableText
"score"Symbol 194 MovieClip Frame 1Symbol 189 EditableText
"score"Symbol 198 MovieClip Frame 1Symbol 195 EditableText
"score"Symbol 202 MovieClip Frame 1Symbol 199 EditableText
"score"Symbol 206 MovieClip Frame 1Symbol 203 EditableText
"score"Symbol 210 MovieClip Frame 1Symbol 207 EditableText
"score"Symbol 214 MovieClip Frame 1Symbol 211 EditableText
"score"Symbol 221 MovieClip Frame 1Symbol 218 EditableText
"score"Symbol 225 MovieClip Frame 1Symbol 222 EditableText
"score"Symbol 229 MovieClip Frame 1Symbol 226 EditableText
"awa1"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa6"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa4"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa3"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa2"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa9"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa5"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa11"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa10"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa8"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa7"Symbol 287 MovieClip Frame 1Symbol 250 MovieClip
"awa1"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa6"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa4"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa3"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa2"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa9"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa5"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa11"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa10"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa8"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip
"awa7"Symbol 287 MovieClip Frame 2Symbol 250 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 437 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 2Symbol 29 as "clk"
ExportAssets (56)Timeline Frame 2Symbol 30 as "award"
ExportAssets (56)Timeline Frame 2Symbol 31 as "menu"
ExportAssets (56)Timeline Frame 2Symbol 32 as "knock"
ExportAssets (56)Timeline Frame 2Symbol 33 as "launch"
ExportAssets (56)Timeline Frame 2Symbol 34 as "over"
ExportAssets (56)Timeline Frame 2Symbol 35 as "pop"
ExportAssets (56)Timeline Frame 2Symbol 36 as "reset"
ExportAssets (56)Timeline Frame 2Symbol 37 as "ingame"
ExportAssets (56)Timeline Frame 2Symbol 38 as "coin"




http://swfchan.com/13/62940/info.shtml
Created: 13/4 -2019 23:46:01 Last modified: 13/4 -2019 23:46:01 Server time: 10/11 -2024 19:22:17