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

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

balloons.swf

This is the info page for
Flash #67507

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


Text
100

500

-300

-300

LOADING

PLAY

BALLOONS

Try not to fall off the bottom of the screen. Press LEFT and RIGHT
to change direction and SPACE to jump that way. The balloons
will fall while your standing on them so try to change balloons as
often as possible. You will get points for each balloon you pop.
You will get bonus points for poping a green balloon and you will
lose points for poping a black one.

MENU

MENU

ActionScript [AS1/AS2]

Frame 1
jazz = new Sound(); jazz.attachSound("jazz"); jazz.start(0, 999); ting = new Sound(); ting.attachSound("ting");
Frame 2
stop(); pop = new Sound(); pop.attachSound("pop"); jump = new Sound(); jump.attachSound("jump"); land = new Sound(); land.attachSound("land"); ting = new Sound(); ting.attachSound("ting"); bad = new Sound(); bad.attachSound("bad"); bonus = new Sound(); bonus.attachSound("bonus");
Instance of Symbol 43 MovieClip "1" in Frame 2
onClipEvent (load) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } onClipEvent (enterFrame) { this._x = this._x + xspeed; if (this._x > 700) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } if (this._x < -200) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } }
Instance of Symbol 43 MovieClip "2" in Frame 2
onClipEvent (load) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } onClipEvent (enterFrame) { this._x = this._x + xspeed; if (this._x > 700) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } if (this._x < -200) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } }
Frame 3
stop(); score = 0; balloons = 6; speed = 3; i = 1; while (i < balloons) { attachMovie("balloon", "balloon" + i, i); _root["balloon" + i]._x = i * 95; i++; } catFunc = function (cat, right, left, jump) { speed = speed + 0.005; if (cat.varsset > 0) { } else { cat.xspeed = 0; cat.yspeed = 0; cat.dir = 1; cat.varsset = 1; cat.landed = 0; } if (cat.landed == 1) { cat.gotoAndStop(cat.dir); cat.cat.gotoAndStop(1); if (Key.isDown(left)) { cat.dir = 2; } if (Key.isDown(right)) { cat.dir = 1; } if (Key.isDown(jump)) { cat.cat.gotoAndStop(2); cat.yspeed = -15; cat.landed = 0; if (cat.dir == 1) { cat.xspeed = 10; } else { cat.xspeed = -10; } } } else { if (cat.xspeed > 0) { cat.xspeed = cat.xspeed - 0.5; } else if (cat.xspeed < 0) { cat.xspeed = cat.xspeed + 0.5; } cat._y = cat._y + cat.yspeed; cat.yspeed++; cat._x = cat._x + cat.xspeed; } }; balloonFunc = function (balloon) { if (balloon.varsset > 0) { } else { balloon._y = (Math.random() * 300) + 100; balloon._width = 42.5; balloon._height = 64; balloon.yspeed = 3; balloon.varsset = 1; balloon.caton = 0; } balloon._y = balloon._y - balloon.yspeed; if ((((balloon._x < (cat._x + 20)) and (balloon._x > (cat._x - 20))) and (balloon._y < (cat._y + 65))) and (balloon._y > (cat._y + 35))) { if (balloon.caton == 0) { cat.landed = 1; balloon.caton = 1; land.start(); } } if (balloon.caton == 1) { if (balloon.bonus == 1) { balloon.gotoAndStop(19); } else if (balloon.bad == 1) { balloon.gotoAndStop(36); } else { balloon.gotoAndStop(2); } cat._y = balloon._y - 50; cat._x = balloon._x - 2; balloon.yspeed = -speed; if (Key.isDown(cat.jumpkey)) { balloon.caton = 0; balloon.play(); pop.start(); jump.start(); if (balloon.bad == 1) { bad.start(); } else if (balloon.bonus == 1) { bonus.start(); } } } else { balloon.yspeed = speed; } if (balloon._y < -30) { balloon._y = 500; if (Math.random() > 0.85) { balloon.gotoAndStop("bonus"); balloon.bonus = 1; balloon.bad = 0; } else if (Math.random() > 0.85) { balloon.gotoAndStop("bad"); balloon.bad = 1; balloon.bonus = 0; } else { balloon.gotoAndStop(1); balloon.bonus = 0; balloon.bad = 0; } } };
Instance of Symbol 43 MovieClip in Frame 3
onClipEvent (load) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } onClipEvent (enterFrame) { this._x = this._x + xspeed; if (this._x > 700) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } if (this._x < -200) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } }
Instance of Symbol 43 MovieClip in Frame 3
onClipEvent (load) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } onClipEvent (enterFrame) { this._x = this._x + xspeed; if (this._x > 700) { xspeed = -(0.5 + Math.random()); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } if (this._x < -200) { xspeed = 0.5 + Math.random(); gotoAndStop(Math.round(1 + (Math.random() * 2))); this._y = Math.random() * 400; size = 50 + (Math.random() * 100); this._xscale = size; this._yscale = size; } }
Instance of Symbol 53 MovieClip "cat" in Frame 3
onClipEvent (load) { jumpkey = 32; } onClipEvent (enterFrame) { _root.catFunc(this, 39, 37, 32, jumpkey); i = 0; while (i < _root.balloons) { _root.balloonFunc(_root["balloon" + i]); i++; } if (this._y > 450) { _root.nextFrame(); } }
Frame 4
i = 1; while (i < balloons) { _root["balloon" + i].removeMovieClip(); i++; } box.text = "You Scored\n" + score; stop();
Symbol 14 MovieClip Frame 10
_root.score = _root.score + 100;
Symbol 20 MovieClip Frame 10
_root.score = _root.score + 500;
Symbol 27 MovieClip Frame 10
_root.score = _root.score - 300;
Symbol 29 MovieClip [balloon] Frame 1
stop(); bonus = 0; bad = 0;
Symbol 29 MovieClip [balloon] Frame 16
this._y = 450;
Symbol 29 MovieClip [balloon] Frame 17
gotoAndStop (1);
Symbol 29 MovieClip [balloon] Frame 18
stop();
Symbol 29 MovieClip [balloon] Frame 33
this._y = 450;
Symbol 29 MovieClip [balloon] Frame 34
gotoAndStop (1);
Symbol 29 MovieClip [balloon] Frame 35
stop();
Symbol 29 MovieClip [balloon] Frame 50
this._y = 450;
Symbol 38 Button
on (release) { _root.play(); _root.ting.start(); }
Symbol 39 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Instance of Symbol 29 MovieClip [balloon] in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.keyset == 0) { } else { _root.music.start(0, 9999); _root.keyset = 0; _root.P1jump = 38; _root.P1right = 39; _root.P1left = 37; _root.P2jump = 87; _root.P2right = 68; _root.P2left = 65; } }
Symbol 39 MovieClip Frame 2
gotoAndPlay (1);
Symbol 43 MovieClip Frame 1
stop();
Symbol 45 Button
on (release) { _root.ting.start(); _root.nextFrame(); }
Symbol 52 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip "tail" in Symbol 52 MovieClip Frame 1
onClipEvent (load) { rotspeed = 2; } onClipEvent (enterFrame) { this._rotation = this._rotation + rotspeed; if (this._rotation > 10) { rotspeed = -rotspeed; } else if (this._rotation < -10) { rotspeed = -rotspeed; } }
Symbol 53 MovieClip Frame 1
stop();
Symbol 58 Button
on (press) { _root.ting.start(); _root.gotoAndStop("menu"); }

Library Items

Symbol 1 Sound [ting]
Symbol 2 Sound [land]
Symbol 3 Sound [jump]
Symbol 4 Sound [jazz]
Symbol 5 Sound [bonus]
Symbol 6 Sound [pop]
Symbol 7 Sound [bad]
Symbol 8 Sound [cat]Used by:Timeline
Symbol 9 GraphicUsed by:29
Symbol 10 GraphicUsed by:29
Symbol 11 ShapeTweeningUsed by:29
Symbol 12 FontUsed by:13 19 25 26 36 44 46 47 54 55 56
Symbol 13 TextUses:12Used by:14
Symbol 14 MovieClipUses:13Used by:29
Symbol 15 GraphicUsed by:29
Symbol 16 GraphicUsed by:29
Symbol 17 GraphicUsed by:29
Symbol 18 ShapeTweeningUsed by:29
Symbol 19 TextUses:12Used by:20
Symbol 20 MovieClipUses:19Used by:29
Symbol 21 GraphicUsed by:29
Symbol 22 GraphicUsed by:29
Symbol 23 GraphicUsed by:29
Symbol 24 ShapeTweeningUsed by:29
Symbol 25 TextUses:12Used by:27
Symbol 26 TextUses:12Used by:27
Symbol 27 MovieClipUses:25 26Used by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClip [balloon]Uses:9 10 11 14 15 16 17 18 20 21 22 23 24 27 28Used by:39  Timeline
Symbol 30 GraphicUsed by:Timeline
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:39
Symbol 33 GraphicUsed by:39
Symbol 34 FontUsed by:35
Symbol 35 TextUses:34Used by:39
Symbol 36 TextUses:12Used by:38 45
Symbol 37 GraphicUsed by:38 45
Symbol 38 ButtonUses:36 37Used by:39
Symbol 39 MovieClipUses:32 33 35 29 38Used by:Timeline
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:40 41 42Used by:Timeline
Symbol 44 TextUses:12Used by:Timeline
Symbol 45 ButtonUses:36 37Used by:Timeline
Symbol 46 TextUses:12Used by:Timeline
Symbol 47 EditableTextUses:12Used by:Timeline
Symbol 48 GraphicUsed by:52
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:48 50 51Used by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 EditableTextUses:12Used by:Timeline
Symbol 55 TextUses:12Used by:58
Symbol 56 TextUses:12Used by:58
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:55 56 57Used by:Timeline

Instance Names

"1"Frame 2Symbol 43 MovieClip
"2"Frame 2Symbol 43 MovieClip
"cat"Frame 3Symbol 53 MovieClip
"box"Frame 4Symbol 54 EditableText
"bar"Symbol 39 MovieClip Frame 1Symbol 32 MovieClip
"tail"Symbol 52 MovieClip Frame 1Symbol 50 MovieClip
"cat"Symbol 53 MovieClip Frame 1Symbol 52 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "ting"
ExportAssets (56)Timeline Frame 1Symbol 2 as "land"
ExportAssets (56)Timeline Frame 1Symbol 3 as "jump"
ExportAssets (56)Timeline Frame 1Symbol 4 as "jazz"
ExportAssets (56)Timeline Frame 1Symbol 5 as "bonus"
ExportAssets (56)Timeline Frame 1Symbol 6 as "pop"
ExportAssets (56)Timeline Frame 1Symbol 7 as "bad"
ExportAssets (56)Timeline Frame 1Symbol 8 as "cat"
ExportAssets (56)Timeline Frame 1Symbol 29 as "balloon"
ExportAssets (56)Timeline Frame 1Symbol 29 as "balloon"
ExportAssets (56)Timeline Frame 1Symbol 29 as "balloon"
ExportAssets (56)Timeline Frame 1Symbol 29 as "balloon"
ExportAssets (56)Timeline Frame 2Symbol 29 as "balloon"
ExportAssets (56)Timeline Frame 4Symbol 8 as "cat"

Labels

"menu"Frame 2
"bonus"Symbol 29 MovieClip [balloon] Frame 18
"bad"Symbol 29 MovieClip [balloon] Frame 35
"loaded"Symbol 39 MovieClip Frame 3

Dynamic Text Variables

_root.scoreSymbol 47 EditableText""




http://swfchan.com/14/67507/info.shtml
Created: 11/4 -2019 12:33:53 Last modified: 11/4 -2019 12:33:53 Server time: 01/11 -2024 00:59:02