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

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

sonicringthing.swf

This is the info page for
Flash #223067

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


Text
0

60

ActionScript [AS1/AS2]

Frame 1
stop(); myPlay.onPress = function () { gotoAndStop (2); };
Frame 2
function createBalloon() { var b = _root.createEmptyMovieClip("b" + (depth++), depth++); b.mc = mcs[balloon[Math.floor(Math.random() * 7)]]; b.attachMovie(b.mc, "pink1", depth++); myInfoBar.swapDepths(b); b._x = Math.random() * 480; b._y = 420; if (b.mc == "emerald") { b.num = (Math.random() * 10) + 15; } else { b.num = (Math.random() * 10) + 9; } b.onEnterFrame = function () { b._y = b._y - b.num; if (b._y <= -150) { b.removeMovieClip(); } if (gameOver == true) { b.removeMovieClip(); } }; b.onMouseDown = function () { if (b.hitTest(_xmouse, _ymouse, true)) { b.pink1.gotoAndStop(2); var t = setInterval(function () { b.removeMovieClip(); clearInterval(t); }, 1000); if (b.mc == "emerald") { var _local3 = new Sound(); _local3.attachSound("gem_get.wav"); _local3.start(); myInfoBar.score.text = parseInt(myInfoBar.score.text) + 5; } else if (b.mc == "eggman") { var _local2 = new Sound(); _local2.attachSound("lose_rings.wav"); _local2.start(); myInfoBar.score.text = parseInt(myInfoBar.score.text) - 10; } else { var _local1 = new Sound(); _local1.attachSound("ring_get.wav"); _local1.start(); myInfoBar.score.text = parseInt(myInfoBar.score.text) + 1; } b.onEnterFrame = function () { b._y = b._y - b.num; if (b._y <= -150) { b.removeMovieClip(); } if (gameOver == true) { b.removeMovieClip(); } b._xscale = b._xscale - 5; b._yscale = b._yscale - 5; }; b.onMouseDown = null; } }; depth++; } function countDown() { if (parseInt(myInfoBar.time.text) == 0) { gameOver = true; clearInterval(i); gotoAndStop (3); } else { myInfoBar.time.text = parseInt(myInfoBar.time.text) - 1; } } stop(); depth = 0; balloon = [0, 0, 0, 0, 0, 1, 2]; mcs = ["ring", "emerald", "eggman"]; var gameOver = false; _root.attachMovie("infobar", "myInfoBar", depth++); myInfoBar.score.text = "0"; myInfoBar.time.text = "60"; var sound2 = new Sound(); sound2.attachSound("SONIC 60 INST.mp3"); sound2.setVolume(50); sound2.start(); myInfoBar.myMute.onPress = function () { if (myInfoBar.myMute._currentframe == 1) { myInfoBar.myMute.gotoAndStop(2); sound2.setVolume(0); } else { myInfoBar.myMute.gotoAndStop(1); sound2.setVolume(100); } }; var i = setInterval(createBalloon, 300); var g = setInterval(countDown, 1000);
Frame 3
stop(); clearInterval(g); var myAgain = _root.createEmptyMovieClip("b2", depth++); var mySubmit = _root.createEmptyMovieClip("b3", depth++); myAgain.attachMovie("again", "again", depth++); mySubmit.attachMovie("submit", "submit", depth++); myAgain._x = 56.9; myAgain._y = 290.1; mySubmit._x = 51.9; mySubmit._y = 237.6; myAgain.onPress = function () { mySubmit.removeMovieClip(); myAgain.removeMovieClip(); myInfoBar.removeMovieClip(); gotoAndPlay (2); }; mySubmit.onPress = function () { mySubmit.removeMovieClip(); flash.external.ExternalInterface.call("submitGameResults", "sonicringthing", parseInt(myInfoBar.score.text)); flash.external.ExternalInterface.call("addPoints", "game_complete"); };
Symbol 20 MovieClip Frame 1
stop();
Symbol 20 MovieClip Frame 2
stop();

Library Items

Symbol 1 Sound [SONIC 60 INST.mp3]
Symbol 2 Sound [ring_get.wav]
Symbol 3 Sound [lose_rings.wav]
Symbol 4 Sound [gem_get.wav]
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:7
Symbol 7 MovieClip [again]Uses:6
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:10
Symbol 10 MovieClip [submit]Uses:9
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:21
Symbol 13 FontUsed by:14 15 36
Symbol 14 EditableTextUses:13Used by:21
Symbol 15 EditableTextUses:13Used by:21
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:20
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClipUses:17 19Used by:21
Symbol 21 MovieClip [infobar]Uses:12 14 15 20
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClip [ring]Uses:23
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip [emerald]Uses:26
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30
Symbol 30 MovieClip [eggman]Uses:29
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:Timeline
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 EditableTextUses:13Used by:Timeline
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:Timeline

Instance Names

"myPlay"Frame 1Symbol 35 MovieClip
"score"Symbol 21 MovieClip [infobar] Frame 1Symbol 14 EditableText
"time"Symbol 21 MovieClip [infobar] Frame 1Symbol 15 EditableText
"myMute"Symbol 21 MovieClip [infobar] Frame 1Symbol 20 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "SONIC 60 INST.mp3"
ExportAssets (56)Timeline Frame 1Symbol 2 as "ring_get.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "lose_rings.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "gem_get.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "again"
ExportAssets (56)Timeline Frame 1Symbol 10 as "submit"
ExportAssets (56)Timeline Frame 1Symbol 21 as "infobar"
ExportAssets (56)Timeline Frame 1Symbol 24 as "ring"
ExportAssets (56)Timeline Frame 1Symbol 27 as "emerald"
ExportAssets (56)Timeline Frame 1Symbol 30 as "eggman"




http://swfchan.com/45/223067/info.shtml
Created: 28/8 -2019 10:03:24 Last modified: 28/8 -2019 10:03:24 Server time: 14/11 -2024 06:34:21