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

A
Very
Merry Christmas!


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

Prismatica.swf

This is the info page for
Flash #58315

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


Text
Play

Catch the red circle by clicking it.


Accidentally clicking another color will reduce your health.


Accidentally clicking overlapping colors will reduce your health faster.  Be careful!

Concept and programming by John Rickett

Note:  you can catch the red dot while it is over other colors, just be careful not to miss!

Level:

Health:

Final Level:

Thanks for
playing

Replay?

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop(); Stage.showMenu = false;
Frame 3
function randomize() { desX = Math.round(Math.random() * Stage.width); desY = Math.round(Math.random() * Stage.height); var _local1 = new flash.geom.Point(desX, desY); speed = (Math.random() * speedInc) + baseSpeed; } function levelUp(curHit) { switch (curHit) { case 1 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 2 : badCount++; attachMovie("white", "white" + badCount, 100 + badCount); break; case 3 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 4 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 5 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 6 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 7 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 8 : badCount++; attachMovie("purple", "purple" + badCount, 200 + badCount); break; case 9 : badCount++; attachMovie("blue", "blue" + badCount, 100 + badCount); break; case 10 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 11 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 12 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 13 : badCount++; attachMovie("purple", "purple" + badCount, 100 + badCount); break; case 14 : badCount++; attachMovie("green", "green" + badCount, 100 + badCount); break; case 15 : badCount++; attachMovie("white", "white" + badCount, 100 + badCount); break; case 16 : badCount++; attachMovie("blue", "blue" + badCount, 100 + badCount); break; case 17 : badCount++; attachMovie("purple", "purple" + badCount, 100 + badCount); break; case 18 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 19 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 20 : badCount++; attachMovie("white", "white" + badCount, 100 + badCount); break; case 21 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 22 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 23 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 24 : badCount++; attachMovie("purple", "purple" + badCount, 100 + badCount); break; case 25 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 26 : badCount++; attachMovie("purple", "blue" + badCount, 200 + badCount); break; case 27 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 28 : badCount++; attachMovie("purple", "purple" + badCount, 200 + badCount); break; case 30 : badCount++; attachMovie("blue", "blue" + badCount, 100 + badCount); break; case 32 : badCount++; attachMovie("white", "yellow" + badCount, 100 + badCount); break; case 34 : badCount++; attachMovie("green", "green" + badCount, 200 + badCount); break; case 36 : badCount++; attachMovie("yellow", "blue" + badCount, 200 + badCount); break; case 38 : badCount++; attachMovie("blue", "blue" + badCount, 200 + badCount); break; case 40 : badCount++; attachMovie("purple", "purple" + badCount, 200 + badCount); break; case 42 : badCount++; attachMovie("blue", "blue" + badCount, 100 + badCount); break; case 44 : badCount++; attachMovie("yellow", "yellow" + badCount, 100 + badCount); break; case 46 : badCount++; attachMovie("white", "white" + badCount, 100 + badCount); } } stop(); var desX = 0; var desY = 0; var speed = 0; var speedInc = 2; var baseSpeed = 1; var hitCount = 0; var health = 100; var level = 1; var badCount = 0; holder = this.createEmptyMovieClip("soundHolder", 20000); holder2 = this.createEmptyMovieClip("soundHolder2", 21000); holder3 = this.createEmptyMovieClip("soundHolder3", 22000); var correct = new Sound(holder); var wrong = new Sound(holder2); var bgMusic = new Sound(holder3); correct.attachSound("correct"); wrong.attachSound("wrong"); bgMusic.attachSound("bgMusic"); wrong.setVolume(7); correct.setVolume(22); bgMusic.setVolume(100); bgMusic.start(0, 999); attachMovie("circle", "circle", 1000); circle._alpha = 60; Stage.showMenu = false; randomize(); onEnterFrame = function () { var _local1 = Math.atan2(desY - circle._y, desX - circle._x); circle._x = circle._x + (Math.cos(_local1) * speed); circle._y = circle._y + (Math.sin(_local1) * speed); if (((desY - circle._y) <= 10) && ((desX - circle._x) <= 10)) { randomize(); } if (health <= 0) { circle.removeMovieClip(); gotoAndPlay ("gameOver"); bgMusic.stop(); } }; onMouseDown = function () { if (circle.hitTest(_root._xmouse, _root._ymouse, true)) { circle._x = Math.random() * Stage.width; circle._y = Math.random() * Stage.height; speedInc = speedInc + 0.03; baseSpeed = baseSpeed + 0.07; randomize(); correct.start(0, 1); levelUp(++hitCount); level++; } };
Frame 4
gotoAndStop (5);
Frame 5
stop(); Stage.showMenu = false;
Symbol 5 MovieClip [yellow] Frame 1
function yelRandomize() { yelDesX = Math.round(Math.random() * Stage.width); yelDesY = Math.round(Math.random() * Stage.height); } var yelDesY = 0; var yelDesX = 0; var yelSpeed = 2.4; this._alpha = 60; this.cacheAsBitmap = true; this._x = Math.random() * Stage.width; this._y = Math.random() * Stage.height; yelRandomize(); this.onEnterFrame = function () { var _local3 = Math.atan2(yelDesY - this._y, yelDesX - this._x); this._x = this._x + (Math.cos(_local3) * yelSpeed); this._y = this._y + (Math.sin(_local3) * yelSpeed); if (((yelDesY - this._y) <= 10) && ((yelDesX - this._x) <= 10)) { yelRandomize(); } if (_root.health <= 0) { gotoAndStop ("gameOver"); this.removeMovieClip(); } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_root.circle.hitTest(_root._xmouse, _root._ymouse, true))) { _root.health = _root.health - 5; _root.wrong.start(0, 1); } };
Symbol 7 MovieClip [green] Frame 1
function grnRandomize() { grnDesX = Math.round(Math.random() * Stage.width); grnDesY = Math.round(Math.random() * Stage.height); } var grnDesY = 0; var grnDesX = 0; var grnSpeed = 1.7; this._alpha = 50; this.cacheAsBitmap = true; this._x = Math.random() * Stage.width; this._y = Math.random() * Stage.height; grnRandomize(); this.onEnterFrame = function () { var _local3 = Math.atan2(grnDesY - this._y, grnDesX - this._x); this._x = this._x + (Math.cos(_local3) * grnSpeed); this._y = this._y + (Math.sin(_local3) * grnSpeed); if (((grnDesY - this._y) <= 10) && ((grnDesX - this._x) <= 10)) { grnRandomize(); } if (_root.health <= 0) { gotoAndStop ("gameOver"); this.removeMovieClip(); } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_root.circle.hitTest(_root._xmouse, _root._ymouse, true))) { _root.health = _root.health - 5; _root.wrong.start(0, 1); } };
Symbol 9 MovieClip [blue] Frame 1
function blueRandomize() { blueDesX = Math.round(Math.random() * Stage.width); blueDesY = Math.round(Math.random() * Stage.height); } var blueDesY = 0; var blueDesX = 0; var blueSpeed = 1.3; this._alpha = 60; this.cacheAsBitmap = true; this._x = Math.random() * Stage.width; this._y = Math.random() * Stage.height; blueRandomize(); this.onEnterFrame = function () { var _local3 = Math.atan2(blueDesY - this._y, blueDesX - this._x); this._x = this._x + (Math.cos(_local3) * blueSpeed); this._y = this._y + (Math.sin(_local3) * blueSpeed); if (((blueDesY - this._y) <= 10) && ((blueDesX - this._x) <= 10)) { blueRandomize(); } if (_root.health <= 0) { gotoAndStop ("gameOver"); this.removeMovieClip(); } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_root.circle.hitTest(_root._xmouse, _root._ymouse, true))) { _root.health = _root.health - 5; _root.wrong.start(0, 1); } };
Symbol 11 MovieClip [purple] Frame 1
function purpRandomize() { purpDesX = Math.round(Math.random() * Stage.width); purpDesY = Math.round(Math.random() * Stage.height); } var purpDesY = 0; var purpDesX = 0; var purpSpeed = 1; this._alpha = 60; this.cacheAsBitmap = true; this._x = Math.random() * Stage.width; this._y = Math.random() * Stage.height; purpRandomize(); this.onEnterFrame = function () { var _local3 = Math.atan2(purpDesY - this._y, purpDesX - this._x); this._x = this._x + (Math.cos(_local3) * purpSpeed); this._y = this._y + (Math.sin(_local3) * purpSpeed); if (((purpDesY - this._y) <= 10) && ((purpDesX - this._x) <= 10)) { purpRandomize(); } if (_root.health <= 0) { gotoAndStop ("gameOver"); this.removeMovieClip(); } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_root.circle.hitTest(_root._xmouse, _root._ymouse, true))) { _root.health = _root.health - 5; _root.wrong.start(0, 1); } };
Symbol 13 MovieClip [white] Frame 1
function whtRandomize() { whtDesX = Math.round(Math.random() * Stage.width); whtDesY = Math.round(Math.random() * Stage.height); } var whtDesY = 0; var whtDesX = 0; var whtSpeed = 0.5; this._alpha = 60; this.cacheAsBitmap = true; this._x = Math.random() * Stage.width; this._y = Math.random() * Stage.height; whtRandomize(); this.onEnterFrame = function () { var _local3 = Math.atan2(whtDesY - this._y, whtDesX - this._x); this._x = this._x + (Math.cos(_local3) * whtSpeed); this._y = this._y + (Math.sin(_local3) * whtSpeed); if (((whtDesY - this._y) <= 10) && ((whtDesX - this._x) <= 10)) { whtRandomize(); } if (_root.health <= 0) { gotoAndStop ("gameOver"); this.removeMovieClip(); } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_root.circle.hitTest(_root._xmouse, _root._ymouse, true))) { _root.health = _root.health - 5; _root.wrong.start(0, 1); } };
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 100
stop();
Symbol 26 Button
on (release) { _root.play(); }
Symbol 27 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); logoSpin.gotoAndPlay(PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 27 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 Button
on (release) { getURL ("http://www.heartlessgeeks.com"); }
Symbol 36 Button
on (release) { gotoAndStop ("mainGame"); }
Symbol 53 Button
on (release) { desX = 0; desY = 0; speed = 0; speedInc = 2; baseSpeed = 1; hitCount = 0; health = 100; level = 1; badCount = 0; gotoAndStop (2); }

Library Items

Symbol 1 Sound [bgmusic]
Symbol 2 Sound [correct]
Symbol 3 Sound [wrong]
Symbol 4 GraphicUsed by:5 39
Symbol 5 MovieClip [yellow]Uses:4
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [green]Uses:6
Symbol 8 GraphicUsed by:9 40
Symbol 9 MovieClip [blue]Uses:8
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [purple]Uses:10
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [white]Uses:12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip [circle]Uses:14Used by:Timeline
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:Timeline
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:27
Symbol 20 GraphicUsed by:27
Symbol 21 BitmapUsed by:22 31
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:27
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:24 25Used by:27
Symbol 27 MovieClipUses:19 20 23 26Used by:Timeline
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30
Symbol 30 ButtonUses:29Used by:Timeline
Symbol 31 GraphicUses:21Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 FontUsed by:34
Symbol 34 TextUses:33Used by:Timeline
Symbol 35 GraphicUsed by:36
Symbol 36 ButtonUses:35Used by:Timeline
Symbol 37 FontUsed by:38 41 42 44 45 46 47 48 49 50 51
Symbol 38 EditableTextUses:37Used by:Timeline
Symbol 39 MovieClipUses:4Used by:Timeline
Symbol 40 MovieClipUses:8Used by:Timeline
Symbol 41 TextUses:37Used by:Timeline
Symbol 42 EditableTextUses:37Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 TextUses:37Used by:Timeline
Symbol 45 EditableTextUses:37Used by:Timeline
Symbol 46 TextUses:37Used by:Timeline
Symbol 47 EditableTextUses:37Used by:Timeline
Symbol 48 TextUses:37Used by:Timeline
Symbol 49 EditableTextUses:37Used by:Timeline
Symbol 50 TextUses:37Used by:Timeline
Symbol 51 TextUses:37Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 ButtonUses:52Used by:Timeline

Instance Names

"bar"Symbol 27 MovieClip Frame 1Symbol 19 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "bgmusic"
ExportAssets (56)Timeline Frame 1Symbol 2 as "correct"
ExportAssets (56)Timeline Frame 1Symbol 3 as "wrong"
ExportAssets (56)Timeline Frame 1Symbol 5 as "yellow"
ExportAssets (56)Timeline Frame 1Symbol 7 as "green"
ExportAssets (56)Timeline Frame 1Symbol 9 as "blue"
ExportAssets (56)Timeline Frame 1Symbol 11 as "purple"
ExportAssets (56)Timeline Frame 1Symbol 13 as "white"
ExportAssets (56)Timeline Frame 1Symbol 15 as "circle"

Labels

"splash"Frame 2
"mainGame"Frame 3
"gameOver"Frame 4
"loaded"Symbol 27 MovieClip Frame 3

Dynamic Text Variables

_root.levelSymbol 45 EditableText""
_root.healthSymbol 47 EditableText""
_root.levelSymbol 49 EditableText""




http://swfchan.com/12/58315/info.shtml
Created: 17/4 -2019 07:12:58 Last modified: 17/4 -2019 07:12:58 Server time: 23/12 -2024 00:05:59