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

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

bubbles.swf

This is the info page for
Flash #99463

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


Text
BUBBLES

press space to pause

how to play...

>> burst bubbles with
your mouse pointer to
score points
>> press space to
pause or unpause the
game at any time
>> the faster you pop,
the higher you score
>> leave when bored

poprate:

total:

max:

time:

0.00/sec

0

0

0:00

0

grand total score:

BUBBLES statistics

<< SEND BUBBLES TO A FRIEND >>

<< SEND BUBBLES TO A FRIEND >>

ActionScript [AS1/AS2]

Frame 1
var bubbles = 40; var width = 600; var height = 450; var stopped = true; var seed = new Date(); var IDsep = ":"; var gameID = ((((((((((seed.getFullYear() + IDsep) + seed.getMonth()) + IDsep) + seed.getDate()) + IDsep) + seed.getHours()) + IDsep) + seed.getMinutes()) + IDsep) + seed.getSeconds()); var buttonText = "<< START PLAYING BUBBLES >>"; var scoreText = "<< VIEW HIGH SCORES >>"; var pauseRate = 0;
Instance of Symbol 10 MovieClip "bubblebase" in Frame 1
onClipEvent (load) { function bubbleStart(target) { var scale = (random(150) + 75); setProperty(target, _xscale , scale); setProperty(target, _yscale , scale); setProperty(target, _x , random(_root.width)); setProperty(target, _y , _root.height - random(_root.height)); } this._visible = false; i = 0; while (i < _root.bubbles) { attachMovie("bubble", "b" + i, i); bubbleStart("b" + i); i++; } pop = new Sound(); pop.attachSound("pop"); } onClipEvent (enterFrame) { if (!_root.stopped) { this._visible = true; i = 0; while (i < _root.bubbles) { var target = eval ("b" + i); var y = getProperty(target, _y); if (0 < y) { var yInc = ((target._xscale / 100) + 1); setProperty(target, _y , y - yInc); } else { if (target._currentframe >= 9) { _root.popped--; } target.gotoAndPlay(1); setProperty(target, _x , random(_root.width)); setProperty(target, _y , _root.height); } if (target.hitTest(_root._xmouse, _root._ymouse, true) && (target._currentFrame < 9)) { target.gotoAndPlay(9); pop.start(); _root.popped++; _root.total++; if (_root.max < _root.popped) { _root.max = _root.popped; } } i++; } } else { this._visible = false; } }
Instance of Symbol 14 MovieClip "bubbleometer" in Frame 1
onClipEvent (load) { var i = 0; while (i < _root.bubbles) { attachMovie("staticBubble", "bo" + i, i); var target = eval ("bo" + i); setProperty(target, _x , i * 12); setProperty(target, _visible , false); setProperty(target, _alpha , 50); i++; } } onClipEvent (enterFrame) { var i = 0; while (i < _root.max) { var target = ("bo" + i); setProperty(target, _visible , true); setProperty(target, _alpha , 50); i++; } var i = 0; while (i < _root.popped) { var target = ("bo" + i); setProperty(target, _alpha , 100); i++; } } onClipEvent (keyDown) { if (Key.getCode() == 32) { if (_root.stopped) { _root.stopped = false; _root.totalPause = _root.totalPause + _root.pauseLength; } else { _root.loadVariables("lowscore.txt"); if (_root.lowscore < _root.score) { _root.scoreText = "<< SUBMIT HIGH SCORE >>"; } _root.stopped = true; _root.paused++; _root.pauseStart = getTimer(); } } }
Instance of Symbol 16 MovieClip in Frame 1
onClipEvent (enterFrame) { if ((_root.timeOut < 10) && (_root.stopped == false)) { this._visible = true; } else { this._visible = false; } }
Instance of Symbol 42 MovieClip in Frame 1
onClipEvent (enterFrame) { function getPoprate() { _root.pauseLength = getTimer() - _root.pauseStart; _root.timeOut = Math.round((getTimer() - (_root.pauseLength + _root.totalPause)) / 1000); if (0 < _root.timeOut) { var poprate = Math.round((_root.total / _root.timeOut) * 100); var pop100 = parseInt(poprate / 100); var pop10 = parseInt((poprate % 100) / 10); var pop1 = (poprate % 10); _root.poprate = (((pop100 + ".") + pop10) + pop1) + "/sec"; var minutes = parseInt(_root.timeOut / 60); if (9 < (_root.timeOut % 60)) { var seconds = (_root.timeOut % 60); } else { var seconds = ("0" + (_root.timeOut % 60)); } _root.timeString = (minutes + ":") + seconds; } _root.score = Math.round(((poprate / 100) * _root.total) * _root.max); } if (_root.stopped) { this._visible = true; getPoprate(); if ((10 < _root.timeOut) && (_root.pauseRate < (_root.paused / _root.timeOut))) { _root.pauseRate = _root.paused / _root.timeOut; } } else { this._visible = false; } }
Symbol 7 MovieClip [bubble] Frame 8
gotoAndPlay (1);
Symbol 7 MovieClip [bubble] Frame 14
stop();
Symbol 35 Button
on (release) { _root.stopped = false; _root.buttonText = "<< CONTINUE PLAYING BUBBLES >>"; _root.totalPause = _root.totalPause + _root.pauseLength; }
Symbol 38 Button
on (release) { if (_root.pauseRate < 0.1) { var argString = ((((((((((_root.score + ",") + parseFloat(_root.popRate)) + ",") + _root.max) + ",") + _root.total) + ",") + _root.timeOut) + ",") + _root.gameID); getURL (("javascript:setCookie('" + argString) + "')"); } else { var argString = ("0,0,0,0,0," + _root.gameID); getURL (("javascript:setCookie('" + argString) + "')"); } }
Symbol 41 Button
on (release) { getURL ("mailto:?subject=Bubbles&body=Play%20Bubbles%20at%20http://tomandphil.myby.co.uk/bubbles/"); }

Library Items

Symbol 1 Sound [pop]
Symbol 2 GraphicUsed by:7
Symbol 3 GraphicUsed by:7
Symbol 4 GraphicUsed by:7
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [bubble]Uses:2 3 4 5 6
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip [staticBubble]Uses:8
Symbol 10 MovieClipUsed by:Timeline
Symbol 11 GraphicUsed by:14 19 31 35 38 41
Symbol 12 FontUsed by:13 15 17 18 20 21 22 23 24 25 26 27 28 29 30 32 34 36 37 39 40
Symbol 13 TextUses:12Used by:14
Symbol 14 MovieClipUses:11 13Used by:Timeline
Symbol 15 TextUses:12Used by:16
Symbol 16 MovieClipUses:15Used by:Timeline
Symbol 17 TextUses:12Used by:19
Symbol 18 TextUses:12Used by:19
Symbol 19 MovieClipUses:11 17 18Used by:42
Symbol 20 TextUses:12Used by:31
Symbol 21 TextUses:12Used by:31
Symbol 22 TextUses:12Used by:31
Symbol 23 TextUses:12Used by:31
Symbol 24 EditableTextUses:12Used by:31
Symbol 25 EditableTextUses:12Used by:31
Symbol 26 EditableTextUses:12Used by:31
Symbol 27 EditableTextUses:12Used by:31
Symbol 28 EditableTextUses:12Used by:31
Symbol 29 TextUses:12Used by:31
Symbol 30 TextUses:12Used by:31
Symbol 31 MovieClipUses:11 20 21 22 23 24 25 26 27 28 29 30Used by:42
Symbol 32 EditableTextUses:12Used by:35
Symbol 33 GraphicUsed by:35 38 41
Symbol 34 EditableTextUses:12Used by:35
Symbol 35 ButtonUses:11 32 33 34Used by:42
Symbol 36 EditableTextUses:12Used by:38
Symbol 37 EditableTextUses:12Used by:38
Symbol 38 ButtonUses:11 36 33 37Used by:42
Symbol 39 TextUses:12Used by:41
Symbol 40 TextUses:12Used by:41
Symbol 41 ButtonUses:11 39 33 40Used by:42
Symbol 42 MovieClipUses:19 31 35 38 41Used by:Timeline

Instance Names

"bubblebase"Frame 1Symbol 10 MovieClip
"bubbleometer"Frame 1Symbol 14 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "pop"
ExportAssets (56)Timeline Frame 1Symbol 7 as "bubble"
ExportAssets (56)Timeline Frame 1Symbol 9 as "staticBubble"

Dynamic Text Variables

_root.poprateSymbol 24 EditableText"0.00/sec"
_root.totalSymbol 25 EditableText"0"
_root.maxSymbol 26 EditableText"0"
_root.timeStringSymbol 27 EditableText"0:00"
_root.scoreSymbol 28 EditableText"0"
_root.buttonTextSymbol 32 EditableText""
_root.buttonTextSymbol 34 EditableText""
_root.scoreTextSymbol 36 EditableText""
_root.scoreTextSymbol 37 EditableText""




http://swfchan.com/20/99463/info.shtml
Created: 21/3 -2019 22:05:38 Last modified: 21/3 -2019 22:05:38 Server time: 19/04 -2024 09:31:57