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

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

Bubble Fun.swf

This is the info page for
Flash #23104

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


Text
Return to Main Menu!

<p align="center"><font face="_sans" size="17" color="#ffffff">When it is your turn, click on a bubble to inflate it a bit.</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">When a bubble is pumped up to the maximum, it will pop,</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">changing the color of the 4 surrounding bubbles: left, right,</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">above and below. And the value of each of the 4 surrounding</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">bubbles will be increased by one.</font></p><p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p><p align="center"><font face="_sans" size="17" color="#ffffff"><b>Tip 1</b>: If you click on a bubble with a value of 4, it will pop.</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">But bubbles along the edge of the board will pop after only 3</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">because they only have 3 neighboring bubbles. A corner bubble</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">will already pop after 2, because it has only 2 neighbors.</font></p><p align="center"><font face="_sans" size="17" color="#ffffff"><b>Tip 2</b>: If you can create popping chain reactions, you will</font></p><p align="center"><font face="_sans" size="17" color="#ffffff">get a lot more points than popping only 1 or 2 bubbles at a time.</font></p>

HOW TO PLAY

One Player

Two Players

Concept & Design: Oliver Gaspirtz
Programming: Aaron Clifford
Music: Dasse

HOW TO PLAY

HIGH SCORES

Click here for more free games:
www.PCpuzzles.com

©2004 by Amok Entertainment

SCORE:

:SCORE

Submit Your Score!

Location

Name

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 50 MovieClip in Frame 1
onClipEvent (enterFrame) { if (_root.getBytesLoaded() < _root.getBytesTotal()) { _root.loadVar = ("Loading: " + int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%"; } else { _root.gotoAndPlay(2); } }
Frame 2
function setInitVars() { var _local1 = _root; _local1.popClicked = false; _local1.maxX = 10; _local1.maxY = 10; _local1.initX = 125; _local1.initY = 30; _local1.sqSize = 38; _local1.sqSpace = 0.75; _local1.myTurn = 1; _local1.popTime = 15; _local1.gameWon = 0; _local1.score1 = 0; _local1.score2 = 0; _local1.popCombo = 0; _local1.musicOn = true; _local1.mainTargetVolume = 100; _local1.pointValue = 10; _local1.computerDelay = 750; _local1.audioActive = true; _local1.topTen._visible = false; comboClip1._visible = false; comboClip2._visible = false; _local1.cmbTxt1._visible = false; _local1.cmbTxt2._visible = false; showSquare1.gotoAndStop(1); showSquare2.gotoAndStop(2); _local1.goComputer = false; _local1.closedList = new Array(); _local1.openList = ""; _local1.openList = new Array(); _local1.showSquare1._visible = false; _local1.showSquare2._visible = false; popAudio = new Sound(this); popAudio.attachSound("popSound"); _local1.musicLoop = new Sound("musicClip"); _local1.musicLoop.attachSound("musicLoop1"); _local1.musicLoop.setVolume(1); _local1.musicLoop.start(0, 8000); cheerAudio = new Sound("cheerClip"); cheerAudio.attachSound("cheerSound"); cheerAudio.setVolume(500); cheerAudio.onSoundComplete = function () { if (_root.musicOn == true) { _root.mainTargetVolume = 100; } }; } function toggleAudio() { var _local1 = _root; if (_local1.audioActive == true) { _local1.audioActive = false; _local1.musicLoop.stop(); _local1.audioIcon.gotoAndStop("stopAudio"); } else { _local1.audioActive = true; _local1.musicLoop.start(0, 8000); _local1.audioIcon.gotoAndPlay("startAudio"); } } function setTurn() { var _local1 = _root; _local1.popClicked = false; if (_local1.popCombo > 25) { _local1.mainTargetVolume = 25; cheerAudio.start(); } _local1.popCombo = 0; if (_local1.myTurn == 1) { _local1.myTurn = 2; _local1.showSquare1.hLite.gotoAndStop(1); _local1.showSquare2.hLite.gotoAndStop(4); if (_local1.numPlayers == 1) { _local1.cTime = getTimer(); _local1.goComputer = true; } } else { _local1.myTurn = 1; _local1.showSquare2.hLite.gotoAndStop(1); _local1.showSquare1.hLite.gotoAndStop(4); } } function getAIchoice() { var _local3 = _root; var myChoice; var bestPick = ""; var bestPoints = -1000; var firstItemSet = false; var highList = new Array(); var medList = new Array(); var lowList = new Array(); var _local2 = 0; while (_local2 < _local3.maxY) { var _local1 = 0; while (_local1 < _local3.maxX) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myNum; if (_local3[("pop" + _local1) + _local2].maxNum < 4) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints + 5; } if (_local3[("pop" + _local1) + _local2]._currentframe == 1) { _local3[("pop" + _local1) + _local2].myPoints = ""; } if (_local3[("pop" + _local1) + _local2]._currentframe == 2) { t = -1; while (t < 2) { s = -1; while (s < 2) { if (((Math.abs(t) == 1) || (Math.abs(s) == 1)) && (Math.abs(t) != Math.abs(s))) { if (_local3[("pop" + (_local1 + t)) + (_local2 + s)].myNum == _local3[("pop" + (_local1 + t)) + (_local2 + s)].maxNum) { if (_local3[("pop" + (_local1 + t)) + (_local2 + s)].myNum == undefined) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints + 5; } else if (_local3[("pop" + _local1) + _local2].myNum == _local3[("pop" + _local1) + _local2].maxNum) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints + 10; } else { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints - 15; } } if (_local3[("pop" + (_local1 + t)) + (_local2 + s)].myNum == (_local3[("pop" + (_local1 + t)) + (_local2 + s)].maxNum - 1)) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints - 2; } if ((!_local3[("pop" + (_local1 + t)) + (_local2 + s)]._currentframe) == _local3[("pop" + (_local1 + t)) + (_local2 + s)]._currentframe) { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints - 1; } else { _local3[("pop" + _local1) + _local2].myPoints = _local3[("pop" + _local1) + _local2].myPoints + 1; } } s++; } t++; } if (_local3[("pop" + _local1) + _local2].myPoints > bestPoints) { bestPoints = _local3[("pop" + _local1) + _local2].myPoints; bestPick = ("pop" + _local1) + _local2; } if (_local3[("pop" + _local1) + _local2].myPoints > 7) { highList.push(("pop" + _local1) + _local2); } else if ((_local3[("pop" + _local1) + _local2].myPoints <= 5) && (_local3[("pop" + _local1) + _local2].myPoints > 0)) { medList.push(("pop" + _local1) + _local2); } else { lowList.push(("pop" + _local1) + _local2); } } _local1++; } _local2++; } var pickBest = random(100); if (pickBest > 40) { myChoice = bestPick; } else { var whichZone = random(100); if ((whichZone > 40) && (highList.length > 0)) { var myRnd = random(highList.length); myChoice = highList[myRnd]; } else if ((((whichZone <= 40) && (whichZone >= 10)) && (medList.length > 0)) || (((whichZone > 40) && (highList.length < 1)) && (medList.length > 0))) { var myRnd = random(medList.length); myChoice = medList[myRnd]; } else { var myRnd = random(lowList.length); myChoice = lowList[myRnd]; } } return(myChoice); } function initGame() { var _local1 = _root; _local1.topTen._visible = false; _local1.comboClip1.bmask._yscale = 0; _local1.comboClip2.bmask._yscale = 0; comboClip1._visible = true; comboClip2._visible = true; _local1.cmbTxt1._alpha = 0; _local1.cmbTxt2._alpha = 0; _local1.cmbTxt1._visible = true; _local1.cmbTxt2._visible = true; _local1.startGame._visible = false; _local1.showSquare1._visible = true; _local1.showSquare2._visible = true; _local1.showSquare2.hLite.gotoAndStop(1); _local1.showSquare1.hLite.gotoAndStop(4); var d = 1; var toggleFrame = 1; var myMax; var _local3 = 0; while (_local3 < _local1.maxY) { if ((_local1.maxX / 2) == int(_local1.maxX / 2)) { if (toggleFrame == 1) { toggleFrame = 2; } else { toggleFrame = 1; } } var _local2 = 0; while (_local2 < _local1.maxX) { if (toggleFrame == 1) { toggleFrame = 2; } else { toggleFrame = 1; } myMax = 4; if ((_local3 == 0) || (_local3 == (_local1.maxY - 1))) { myMax = myMax - 1; } if ((_local2 == 0) || (_local2 == (_local1.maxX - 1))) { myMax = myMax - 1; } duplicateMovieClip ("popClip", ("pop" + _local2) + _local3, d); _local1[("pop" + _local2) + _local3].gotoAndStop(toggleFrame); _local1[("pop" + _local2) + _local3]._x = _local1.initX + (_local2 * (_local1.sqSize + _local1.sqSpace)); _local1[("pop" + _local2) + _local3]._y = _local1.initY + (_local3 * (_local1.sqSize + _local1.sqSpace)); _local1[("pop" + _local2) + _local3].myNum = 1; _local1[("pop" + _local2) + _local3].maxNum = myMax; d++; _local2++; } _local3++; } } function clearClosed() { _root.closedList = new Array(); } function checkSquares() { var _local1 = _root; setTurn(); while (_local1.openList.length > 0) { setSquare(_local1.openList.shift()); } } function checkForWinner() { var _local3 = _root; var winnerFound = true; var initFrame = _local3.pop00._currentframe; _local3.comboListLength = _local3.score1 - 10505; var _local2 = 0; while (_local2 < _local3.maxY) { var _local1 = 0; while (_local1 < _local3.maxX) { if (_local3[("pop" + _local1) + _local2]._currentframe != initFrame) { winnerFound = false; } _local1++; } _local2++; } return(winnerFound); } function setSquare(clipName) { var _local1 = _root; _local1.closedList.push(clipName); var myFrame = _local1[clipName]._currentframe; _local1[clipName].myNum++; if (_local1[clipName].myNum > _local1[clipName].maxNum) { _local1.popCombo = _local1.popCombo + 1; if (_local1.myTurn == 1) { _local1.comboClip1.bmask._yscale = Math.min((_local1.popCombo / 25) * 100, 100); if (_local1.popCombo > 1) { _local1.cmbTxt1._alpha = 100; _local1.comboText1 = ("COMBO! " + _local1.popCombo) + " POPS!!"; } } else { _local1.comboClip2.bmask._yscale = Math.min((_local1.popCombo / 25) * 100, 100); if (_local1.popCombo > 1) { _local1.cmbTxt2._alpha = 100; _local1.comboText2 = ("COMBO! " + _local1.popCombo) + " POPS!!"; } } if (_local1.myTurn == 1) { _local1.score1 = _local1.score1 + _local1.pointValue; } else { _local1.score2 = _local1.score2 + _local1.pointValue; } _local1.pointValue = _local1.pointValue + 5; if (_local1.pointValue > 50) { _local1.pointValue = 50; } _local1[clipName].popAnim.gotoAndPlay(2); _local1[clipName].myNum = 1; var clipX = int(clipName.substr(3, 1)); var clipY = int(clipName.substr(4, 1)); x = -1; while (x < 2) { y = -1; while (y < 2) { if (((Math.abs(x) == 1) || (Math.abs(y) == 1)) && (Math.abs(x) != Math.abs(y))) { var sqFound = false; var s = _local1.closedList.length; var _local3 = clipX + x; var _local2 = clipY + y; while (s--) { if (_local1.closedList[s] == (("pop" + _local3) + _local2)) { } } if (sqFound == false) { _local1[("pop" + _local3) + _local2].gotoAndStop(myFrame); _local1.openList.push(("pop" + _local3) + _local2); } } y++; } x++; } _local1[clipName].popTop.gotoAndStop(_local1[clipName].myNum); } _local1[clipName].popTop.gotoAndStop(_local1[clipName].myNum); } function getSubURL() { var _local2 = _root; var _local1; _local1 = "http://www.pcpuzzles.com/bubblefun/addScore.php"; _local1 = _local1 + ("?score1=" + _local2.score1); _local1 = _local1 + ("&comboListLength=" + _local2.comboListLength); _local1 = _local1 + ("&maxX=" + _local2.maxX); _local1 = _local1 + ("&maxY=" + _local2.maxY); _local1 = _local1 + ("&myName=" + _local2.myName); _local1 = _local1 + ("&myLocation=" + _local2.myLocation); _local1 = _local1 + "&postURL=http://www.pcpuzzles.com/bubblefun-highscore/index.php"; return(_local1); } _root.rTime = getTimer(); _root.cTime = getTimer(); _root.onEnterFrame = function () { var _local1 = _root; var myVol = _local1.musicLoop.getVolume(); if (myVol != _local1.mainTargetVolume) { if (myVol > _local1.mainTargetVolume) { myVol = myVol - 2; } else { myVol++; } _local1.musicLoop.setVolume(myVol); } if (_local1.gameWon == 0) { if (((getTimer() - _local1.computerDelay) > _local1.cTime) && (_local1.goComputer == true)) { _local1.goComputer = false; _local1.clearClosed(); _local1.pointValue = 5; _local1.popClicked = true; var myClick = getAIchoice(); _local1.openList.push(myClick); } if ((getTimer() - _local1.popTime) > _local1.rTime) { _local1.rTime = getTimer(); if (_local1.openList.length > 0) { setSquare(_local1.openList.shift()); if (_local1.popCombo > 150) { if (checkForWinner()) { _local1.gameWon = 1; var winFrame = (("p" + _local1.pop00._currentframe) + "Win"); var _local3 = 0; while (_local3 < _local1.maxY) { var _local2 = 0; while (_local2 < _local1.maxX) { removeMovieClip(("pop" + _local2) + _local3); _local2++; } _local3++; } _local1.gotoAndStop(winFrame); } } } else if (_local1.popClicked == true) { if (checkForWinner()) { _local1.gameWon = 1; var winFrame = (("p" + _local1.pop00._currentframe) + "Win"); var _local3 = 0; while (_local3 < _local1.maxY) { var _local2 = 0; while (_local2 < _local1.maxX) { removeMovieClip(("pop" + _local2) + _local3); _local2++; } _local3++; } _local1.gotoAndStop(winFrame); } setTurn(); } } } }; setInitVars(); stop();
Instance of Symbol 107 MovieClip "cmbTxt1" in Frame 2
onClipEvent (enterFrame) { if ((_root.comboClip1.bmask._yscale <= 1) && (this._alpha > 0)) { this._alpha = this._alpha - 1; } }
Instance of Symbol 109 MovieClip "cmbTxt2" in Frame 2
onClipEvent (enterFrame) { if ((_root.comboClip2.bmask._yscale <= 1) && (this._alpha > 0)) { this._alpha = this._alpha - 1; } }
Frame 3
if (_root.numPlayers == 1) { _root.scoreClip._visible = true; } else { _root.scoreClip._visible = false; }
Frame 4
getURL ("http://www.pcpuzzles.com/bubblefun-highscore/index.php", "_blank");
Symbol 8 Button
on (release) { _root.startGame._visible = true; _root.helpClip.removeMovieClip(); }
Symbol 14 Button
on (release) { if ((this._currentframe == _root.myTurn) && (_root.openList.length == 0)) { _root.clearClosed(); _root.pointValue = 10; _root.popClicked = true; _root.openList.push(this._name); } }
Symbol 18 MovieClip Frame 1
stop();
Instance of Symbol 17 MovieClip in Symbol 18 MovieClip Frame 1
/* no clip actions */
Symbol 18 MovieClip Frame 2
play();
Symbol 18 MovieClip Frame 15
gotoAndPlay (2);
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
play();
Symbol 21 MovieClip Frame 14
gotoAndPlay (2);
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
if (_parent.maxNum == _parent.myNum) { gClip.gotoAndPlay(2); }
Symbol 25 MovieClip Frame 3
if (_parent.maxNum == _parent.myNum) { gClip.gotoAndPlay(2); }
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
_root.popAudio.stop(); _root.popAudio.start();
Symbol 30 MovieClip Frame 5
gotoAndStop (1);
Symbol 31 Button
on (release) { if (((this._currentframe == _root.myTurn) && (_root.openList.length == 0)) && (_root.numPlayers == 2)) { _root.clearClosed(); _root.pointValue = 10; _root.popClicked = true; _root.openList.push(this._name); } }
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
play();
Symbol 35 MovieClip Frame 15
gotoAndPlay (2);
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
play();
Symbol 38 MovieClip Frame 15
gotoAndPlay (2);
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
if (_parent.maxNum == _parent.myNum) { gClip.gotoAndPlay(2); }
Symbol 42 MovieClip Frame 3
if (_parent.maxNum == _parent.myNum) { gClip.gotoAndPlay(2); }
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
_root.popAudio.stop(); _root.popAudio.start();
Symbol 46 MovieClip Frame 5
gotoAndStop (1);
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip [myhelp] Frame 1
function initDemo() { var _local1 = this; _local1.targetAlpha = 100; _local1.popClip1.gotoAndStop(2); _local1.popClip2.gotoAndStop(2); _local1.popClip3.gotoAndStop(2); _local1.popClip4.gotoAndStop(2); _local1.popClip6.gotoAndStop(2); _local1.popClip7.gotoAndStop(2); _local1.popClip8.gotoAndStop(2); _local1.popClip9.gotoAndStop(2); x = 1; while (x < 10) { _local1[("popClip" + x) + ".popTop"].gotoAndStop(1); _local1["popClip" + x].myNum = 1; x++; } _local1.demoCycle = 1; _local1.demoAction = 0; _local1.nextPause = 35; } initDemo(); this.onEnterFrame = function () { var _local1 = this; _local1.demoCycle++; if (_local1.demoCycle > _local1.nextPause) { _local1.demoCycle = 1; _local1.demoAction++; switch (_local1.demoAction) { case 1 : _local1.popClip5.myNum = _local1.popClip5.myNum + 1; _local1.popClip5.popTop.gotoAndStop(_local1.popClip5.myNum); return; case 2 : _local1.popClip5.myNum = _local1.popClip5.myNum + 1; _local1.popClip5.popTop.gotoAndStop(_local1.popClip5.myNum); return; case 3 : _local1.popClip5.myNum = _local1.popClip5.myNum + 1; _local1.popClip5.popTop.gotoAndStop(_local1.popClip5.myNum); return; case 4 : _local1.popClip5.myNum = 1; _local1.popClip5.popAnim.gotoAndPlay(2); _local1.popClip2.gotoAndStop(1); _local1.popClip4.gotoAndStop(1); _local1.popClip6.gotoAndStop(1); _local1.popClip8.gotoAndStop(1); _local1.popClip2.myNum++; _local1.popClip4.myNum++; _local1.popClip6.myNum++; _local1.popClip8.myNum++; _local1.popClip5.popTop.gotoAndStop(_local1.popClip5.myNum); return; case 5 : _local1.popClip3.myNum = _local1.popClip3.myNum + 1; _local1.popClip3.popTop.gotoAndStop(_local1.popClip3.myNum); return; case 6 : _local1.popClip3.myNum = 1; _local1.popClip3.popAnim.gotoAndPlay(2); _local1.popClip2.gotoAndStop(2); _local1.popClip6.gotoAndStop(2); _local1.popClip2.myNum++; _local1.popClip6.myNum++; _local1.popClip3.popTop.gotoAndStop(_local1.popClip3.myNum); return; case 7 : _local1.popClip8.myNum = _local1.popClip8.myNum + 1; _local1.popClip8.popTop.gotoAndStop(_local1.popClip8.myNum); return; case 8 : _local1.popClip8.myNum = 1; _local1.popClip8.popAnim.gotoAndPlay(2); _local1.popClip5.gotoAndStop(1); _local1.popClip7.gotoAndStop(1); _local1.popClip9.gotoAndStop(1); _local1.popClip5.myNum++; _local1.popClip7.myNum++; _local1.popClip9.myNum++; _local1.popClip8.popTop.gotoAndStop(_local1.popClip8.myNum); return; case 9 : _local1.nextPause = 45; _local1.targetAlpha = 0; return; case 10 : _local1.initDemo(); _local1.targetAlpha = 100; } } }; stop();
Instance of Symbol 47 MovieClip "popClip2" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip1" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip3" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip5" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip4" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip6" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip8" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip7" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Instance of Symbol 47 MovieClip "popClip9" in Symbol 48 MovieClip [myhelp] Frame 1
onClipEvent (enterFrame) { if (this._alpha != _parent.targetAlpha) { if (this._alpha > _parent.targetAlpha) { this._alpha = this._alpha - 5; } else { this._alpha = this._alpha + 5; } if ((this._alpha > 100) || (this._alpha < 0)) { this._alpha = _parent.targetAlpha; } } }
Symbol 60 MovieClip Frame 1
function init() { var _local1 = this; if (_local1.initSet == 1) { _local1.origX = random(600) - 300; _local1._x = _local1.origX; _local1._y = 200; } else { _local1.initSet = 1; _local1.origX = _local1._x; } _local1.cycle = random(200); _local1.ySpd = random(2) + 1; _local1.scRate = (random(10) + 5) / 10; _local1.minY = random(150) + 20; _local1.wave = 40; _local1.myScale = random(50) + 25; _local1._xscale = _local1.myScale; _local1._yscale = _local1.myScale; } this.init(); stop();
Symbol 60 MovieClip Frame 4
gotoAndStop (1);
Symbol 61 Button
on (rollOver) { pop1.gotoAndStop(4); } on (rollOut) { pop1.gotoAndStop(1); } on (release) { _root.numPlayers = 1; _root.initGame(); }
Symbol 62 Button
on (rollOver) { pop2.gotoAndStop(4); } on (rollOut) { pop2.gotoAndStop(1); } on (release) { _root.numPlayers = 2; _root.initGame(); }
Symbol 63 Button
on (release) { _root.attachMovie("myhelp", "helpClip", 500); _root.startGame._visible = false; }
Symbol 64 Button
on (release) { getURL ("http://www.pcpuzzles.com/bubblefun-highscore/index.php", "_blank"); }
Symbol 65 Button
on (release) { getURL ("http://www.pcpuzzles.com"); }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.startGame._visible == true) { if (this.ySpd != undefined) { if ((this._y < (this.minY - 200)) && (this._currentframe == 1)) { this.gotoAndPlay(2); } else { this._y = this._y - this.ySpd; this.cycle = this.cycle + 0.05; this._x = this.origX + (Math.sin(this.cycle) * this.wave); this._xscale = this._xscale + this.scRate; this._yscale = this._yscale + this.scRate; } } } }
Symbol 85 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip "bmask" in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._yscale > 0) { this._yscale = this._yscale - 1; } }
Symbol 98 Button
on (release) { _root.toggleAudio(); }
Symbol 105 MovieClip Frame 19
gotoAndPlay (1);
Instance of Symbol 30 MovieClip in Symbol 113 MovieClip Frame 27
onClipEvent (enterFrame) { if (popTime == undefined) { popTime = 100; rTime = getTimer(); myAudio = new Sound(this); myAudio.attachSound("popSound"); } if ((getTimer() - popTime) > rTime) { rTime = getTimer(); popTime = random(1000) + 500; if (this._currentframe == 1) { this._x = random(450) - 225; this._y = random(50) - 25; myAudio.start(0); play(); } } }
Symbol 113 MovieClip Frame 34
stop();
Instance of Symbol 30 MovieClip in Symbol 113 MovieClip Frame 34
onClipEvent (enterFrame) { if (popTime == undefined) { popTime = 100; rTime = getTimer(); myAudio = new Sound(this); myAudio.attachSound("popSound"); } if ((getTimer() - popTime) > rTime) { rTime = getTimer(); popTime = random(1000) + 500; if (this._currentframe == 1) { this._x = random(450) - 225; this._y = random(50) - 25; myAudio.start(0); play(); } } }
Symbol 114 Button
on (release) { _root.gotoAndStop("startGame"); }
Symbol 121 Button
on (release) { _root.getURL(_root.getSubURL(), "_blank"); _root.gotoAndStop(1); }
Instance of Symbol 46 MovieClip in Symbol 125 MovieClip Frame 27
onClipEvent (enterFrame) { if (popTime == undefined) { popTime = 100; rTime = getTimer(); myAudio = new Sound(this); myAudio.attachSound("popSound"); } if ((getTimer() - popTime) > rTime) { rTime = getTimer(); popTime = random(1000) + 500; if (this._currentframe == 1) { this._x = random(450) - 225; this._y = random(50) - 25; myAudio.start(0); play(); } } }
Symbol 125 MovieClip Frame 34
stop();
Instance of Symbol 46 MovieClip in Symbol 125 MovieClip Frame 34
onClipEvent (enterFrame) { if (popTime == undefined) { popTime = 100; rTime = getTimer(); myAudio = new Sound(this); myAudio.attachSound("popSound"); } if ((getTimer() - popTime) > rTime) { rTime = getTimer(); popTime = random(1000) + 500; if (this._currentframe == 1) { this._x = random(450) - 225; this._y = random(50) - 25; myAudio.start(0); play(); } } }

Library Items

Symbol 1 GraphicUsed by:48  Timeline
Symbol 2 FontUsed by:3 12 26 66 67 70 71 72 79 80 83 84 106 108 116 119 120
Symbol 3 TextUses:2Used by:48  Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:6  Timeline
Symbol 6 MovieClipUses:5Used by:8 14 31 61 62 63 64 65 110 114 121
Symbol 7 GraphicUsed by:8 14 31 61 62 63 64 65 110 114 121
Symbol 8 ButtonUses:6 7Used by:48
Symbol 9 FontUsed by:11
Symbol 10 FontUsed by:49 69 73 117 118
Symbol 11 EditableTextUses:9Used by:48
Symbol 12 TextUses:2Used by:48
Symbol 13 GraphicUsed by:47
Symbol 14 ButtonUses:6 7Used by:47
Symbol 15 GraphicUsed by:25
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:17Used by:25
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:21
Symbol 21 MovieClipUses:20Used by:25
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClipUses:15 18 21 24Used by:47 76 85
Symbol 26 EditableTextUses:2Used by:47
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:27 28 29Used by:47 113
Symbol 31 ButtonUses:6 7Used by:47
Symbol 32 GraphicUsed by:42
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:34Used by:42
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:42
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClipUses:32 35 38 41Used by:47 76 85
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:43 44 45Used by:47 125
Symbol 47 MovieClipUses:13 14 25 26 30 31 42 46Used by:48  Timeline
Symbol 48 MovieClip [myhelp]Uses:1 3 8 11 12 47
Symbol 49 EditableTextUses:10Used by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 Sound [musicLoop1]Used by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 Sound [popSound]Used by:54
Symbol 54 MovieClipUses:53Used by:Timeline
Symbol 55 Sound [cheerSound]Used by:56
Symbol 56 MovieClipUses:55Used by:Timeline
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:57 58 59Used by:76
Symbol 61 ButtonUses:6 7Used by:76
Symbol 62 ButtonUses:6 7Used by:76
Symbol 63 ButtonUses:6 7Used by:76
Symbol 64 ButtonUses:6 7Used by:76
Symbol 65 ButtonUses:6 7Used by:76
Symbol 66 TextUses:2Used by:76
Symbol 67 TextUses:2Used by:76
Symbol 68 GraphicUsed by:76
Symbol 69 EditableTextUses:10Used by:76
Symbol 70 TextUses:2Used by:76
Symbol 71 TextUses:2Used by:76
Symbol 72 TextUses:2Used by:76
Symbol 73 EditableTextUses:10Used by:76
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:76
Symbol 76 MovieClipUses:60 61 62 63 64 65 42 25 66 67 68 69 70 71 72 73 75Used by:Timeline
Symbol 77 GraphicUsed by:85
Symbol 78 GraphicUsed by:85
Symbol 79 TextUses:2Used by:85
Symbol 80 EditableTextUses:2Used by:85
Symbol 81 GraphicUsed by:85
Symbol 82 GraphicUsed by:85
Symbol 83 TextUses:2Used by:85
Symbol 84 EditableTextUses:2Used by:85
Symbol 85 MovieClipUses:77 25 78 79 80 81 42 82 83 84Used by:Timeline
Symbol 86 GraphicUsed by:91
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:91
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:91
Symbol 91 MovieClipUses:86 88 90Used by:Timeline
Symbol 92 GraphicUsed by:105
Symbol 93 GraphicUsed by:96
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:96
Symbol 96 MovieClipUses:93 95Used by:105
Symbol 97 GraphicUsed by:98
Symbol 98 ButtonUses:97Used by:105
Symbol 99 GraphicUsed by:105
Symbol 100 GraphicUsed by:105
Symbol 101 GraphicUsed by:105
Symbol 102 GraphicUsed by:105
Symbol 103 GraphicUsed by:105
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:92 96 98 99 100 101 102 103 104Used by:Timeline
Symbol 106 EditableTextUses:2Used by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 EditableTextUses:2Used by:109
Symbol 109 MovieClipUses:108Used by:Timeline
Symbol 110 ButtonUses:6 7Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:113
Symbol 113 MovieClipUses:112 30Used by:Timeline
Symbol 114 ButtonUses:6 7Used by:Timeline
Symbol 115 GraphicUsed by:122
Symbol 116 TextUses:2Used by:122
Symbol 117 EditableTextUses:10Used by:122
Symbol 118 EditableTextUses:10Used by:122
Symbol 119 TextUses:2Used by:122
Symbol 120 TextUses:2Used by:122
Symbol 121 ButtonUses:6 7Used by:122
Symbol 122 MovieClipUses:115 116 117 118 119 120 121Used by:Timeline
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClipUses:124 46Used by:Timeline

Instance Names

"startGame"Frame 2Symbol 76 MovieClip
"popClip"Frame 2Symbol 47 MovieClip
"showSquare1"Frame 2Symbol 85 MovieClip
"showSquare2"Frame 2Symbol 85 MovieClip
"comboClip1"Frame 2Symbol 91 MovieClip
"comboClip2"Frame 2Symbol 91 MovieClip
"cheerClip"Frame 2Symbol 5 MovieClip
"musicClip"Frame 2Symbol 5 MovieClip
"audioIcon"Frame 2Symbol 105 MovieClip
"cmbTxt1"Frame 2Symbol 107 MovieClip
"cmbTxt2"Frame 2Symbol 109 MovieClip
"scoreClip"Frame 3Symbol 122 MovieClip
"gClip"Symbol 25 MovieClip Frame 2Symbol 18 MovieClip
"gClip"Symbol 25 MovieClip Frame 3Symbol 21 MovieClip
"gClip"Symbol 42 MovieClip Frame 2Symbol 35 MovieClip
"gClip"Symbol 42 MovieClip Frame 3Symbol 38 MovieClip
"popTop"Symbol 47 MovieClip Frame 1Symbol 25 MovieClip
"popAnim"Symbol 47 MovieClip Frame 1Symbol 30 MovieClip
"popTop"Symbol 47 MovieClip Frame 2Symbol 42 MovieClip
"popAnim"Symbol 47 MovieClip Frame 2Symbol 46 MovieClip
"popClip2"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip1"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip3"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip5"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip4"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip6"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip8"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip7"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"popClip9"Symbol 48 MovieClip [myhelp] Frame 1Symbol 47 MovieClip
"pop2"Symbol 76 MovieClip Frame 1Symbol 42 MovieClip
"pop1"Symbol 76 MovieClip Frame 1Symbol 25 MovieClip
"hLite"Symbol 85 MovieClip Frame 1Symbol 25 MovieClip
"hLite"Symbol 85 MovieClip Frame 2Symbol 42 MovieClip
"bmask"Symbol 91 MovieClip Frame 1Symbol 88 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 48 as "myhelp"
ExportAssets (56)Timeline Frame 2Symbol 51 as "musicLoop1"
ExportAssets (56)Timeline Frame 2Symbol 53 as "popSound"
ExportAssets (56)Timeline Frame 2Symbol 55 as "cheerSound"

Labels

"startGame"Frame 2
"p1Win"Frame 3
"p2Win"Frame 4
"startAudio"Symbol 105 MovieClip Frame 1
"stopAudio"Symbol 105 MovieClip Frame 20

Dynamic Text Variables

myNumSymbol 26 EditableText""
_root.loadVarSymbol 49 EditableText""
_root.score1Symbol 80 EditableText""
_root.score2Symbol 84 EditableText""
_root.comboText1Symbol 106 EditableText""
_root.comboText2Symbol 108 EditableText""
_root.myLocationSymbol 117 EditableText""
_root.myNameSymbol 118 EditableText""




http://swfchan.com/5/23104/info.shtml
Created: 26/5 -2019 11:49:47 Last modified: 26/5 -2019 11:49:47 Server time: 22/12 -2024 23:40:57