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/42142831?noj=FRM42142831-14DC" width="1" height="1"></div>

shape-drop.swf

This is the info page for
Flash #118352

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


Text
Go to Next Level?

Go to Next Level?

Sound ON

Sound OFF

LEVEL:

100

1000000

SCORE:

1000000

Your Final Score!

1000000

100

1000000

100

1000000

ActionScript [AS1/AS2]

Frame 1
function isContained(mc1, mc2) { if (((mc1._x + 15) > mc2._x) and ((mc1._x + mc1._width) < ((mc2._x + mc2._width) + 15))) { if ((mc1._y + mc1._height) > mc2._y) { return(true); } } else { return(false); } } function hitTest2(mc) { var _local1 = 0; while (_local1 < holeRef.length) { if ((mc.type2 == holeRef[_local1].type2) and isContained(mc, holeRef[_local1])) { trace("HoleREF " + holeRef[_local1]); return(holeRef[_local1]); } _local1++; } return(false); } function eraseMC(x) { for (mc in x) { removeMovieClip(x[mc]); } } function nextLevel() { if (intervalcount >= maxCount) { home.scorebox.level++; scorebox.gotoAndPlay("nextLevel"); for (mc in gameboard) { mc.stopMove(); } home.eraseMC(pieces); home.eraseMC(gameboard); intervalId = setInterval(this, "executeCallback", duration); clearInterval(intervalLevel); } intervalcount++; } function assignHandler(mc) { Key.addListener(mc); target = mc0; mc.root = this; DISTANCE = 10; mc.move = function () { this._y = this._y + (0.5 * scorebox.level); var _local2 = home.hitTest2(this); if (_local2 != false) { var _local3 = _local2; _local2 = false; _local3.gotoAndPlay("correct"); correct_sound.start(); pieceDone++; this.stopMove(); removeMovieClip(mc); placeShape(); scorebox.score = scorebox.score + (250 * scorebox.level); addShape = false; } else if (this._y >= (350 - this._height)) { incorrect_sound.start(); this.gotoAndPlay("incorrect"); wrong++; this.stopMove(); trace(this); scorebox.score = scorebox.score - 500; var _local4 = home.wrongBox.attachMovie("wrongX", "wrongx" + wrong, 1000 + wrong, {_x:0 + (wrong * 50)}); placeShape(); addShape = false; } }; mc.beginMove = function () { this.onEnterFrame = this.move; }; mc.stopMove = function () { delete this.onEnterFrame; delete this.move; var _local2 = 0; while (_local2 < Key._listeners) { Key.removeListener(mc); _local2++; } addShape = true; checkDone(); }; mc.onKeyDown = function () { switch (Key.getCode()) { case 37 : this._x = this._x - DISTANCE; break; case 39 : this._x = this._x + DISTANCE; break; case 40 : this._y = this._y + DISTANCE; break; case 32 : this._y; while (this._y < 250) { this._y++; } addShape = false; } }; } function executeCallback() { if (intervalcount >= maxCount) { levelup_sound.start(); trace("CLICK ME!"); numOfHoles++; if (numOfHoles > 5) { numOfHoles = 2; } home.scorebox.gotoAndStop("start"); home.pieces = new Array(); home.addShape = true; home.placeHoles(); clearInterval(intervalId); } intervalcount++; } var home = this; var soundON = true; var incorrect_sound = new Sound(); incorrect_sound.attachSound("wrong.wav", false); var correct_sound = new Sound(); correct_sound.attachSound("correct.wav", false); var levelup_sound = new Sound(); levelup_sound.attachSound("levelup.wav", false); var music = new Sound(); music.attachSound("wrong.wav", false); var intervalId; var intervalcount = 0; var maxCount = 1; var duration = 1400; playagain._visible = false; var numOfHoles = 2; var level; var wrong = 0; var nextShape; var addShape; var pieces = new Array(); var shapes = new Array("triangle_Shape", "star_Shape", "pentagon_Shape", "cube_Shape", "circle_Shape"); var holes = new Array("triangle_Hole", "star_Hole", "pentagon_Hole", "cube_Hole", "circle_Hole"); var MIDTABLE = 360; var newHole; var shapeRef = new Array(); var holeRef = new Array(); scorebox.score = 0; var pieceDone = 0; var addShape = true; scorebox.level = 1; stopper.onPress = function () { this.useHandCursor = false; }; randRange = function (min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); }; placeHoles = function () { if (numOfHoles > 5) { numOfHoles = 0; } eraseMC(gameboard); trace("function called\rnum of Holes " + numOfHoles); holeRef = new Array(); trackNum = new Array(); pieces = new Array(); var _local1 = 0; while (_local1 < numOfHoles) { var _local2 = randRange(0, 4); newHole = home.gameboard.attachMovie(holes[_local2], "hmc" + _local1, 500 + _local1, {_x:((_local1 * 132) + (Stage.width / 2)) - (65 * numOfHoles)}); var _local3 = holes[_local2].split("_"); newHole.type2 = _local3[0]; holeRef[holeRef.length] = newHole; pieces.push(shapes[_local2]); newHole._x = ((_local1 * 132) + (Stage.width / 2)) - (65 * numOfHoles); newHole._y = MIDTABLE - (newHole._height / 2); _local1++; } nextShape = 0; placeShape(); }; placeShape = function () { trace((("addshape = " + addShape) + " nextShape = ") + nextShape); if (addShape == true) { var _local1 = home.gameboard.attachMovie(pieces[nextShape], "smc" + nextShape, 900 + nextShape, {_x:Stage.width / 2}); var _local2 = pieces[nextShape].split("_"); _local1.type2 = _local2[0]; assignHandler(_local1); _local1.beginMove(); nextShape++; if (nextShape >= pieces.length) { nextShape = 0; } } addShape = false; }; playagain.onRelease = function () { this._visible = false; scorebox.gotoAndStop(1); scorebox.score = 0; numOfHoles = 2; wrong = 0; pieceDone = 0; scorebox.level = 1; eraseMC(wrongBox); addShape = true; placeHoles(); }; checkDone = function () { addShape = true; if (wrong >= 5) { playagain._visible = true; addShape = false; scorebox.gotoAndPlay("endgame"); eraseMC(gameboard); } trace((("pieceDone = " + pieceDone) + "numOfHoles : ") + numOfHoles); if (pieceDone == numOfHoles) { addShape = false; pieceDone = 0; intervalLevel = setInterval(this, "nextLevel", duration); } }; start.onRelease = function () { this._visible = false; levelup_sound.start(); trace((("lvlbtn " + typeof(scorebox.levelbtn)) + ":") + scorebox.levelbtn._name); placeHoles(); }; home.globalSound.onRelease = function () { if (soundON == true) { this.gotoAndStop(2); incorrect_sound.setVolume(0); correct_sound.setVolume(0); levelup_sound.setVolume(0); music.setVolume(0); soundON = false; } else { this.gotoAndStop(1); incorrect_sound.setVolume(100); correct_sound.setVolume(100); levelup_sound.setVolume(100); music.setVolume(100); soundON = true; } }; stop();
Symbol 8 MovieClip [card] Frame 1
stop();
Symbol 8 MovieClip [card] Frame 17
stop();
Symbol 8 MovieClip [card] Frame 33
gotoAndStop ("back");
Symbol 8 MovieClip [card] Frame 47
removeMovieClip(this);
Symbol 16 MovieClip [pentagon_Shape] Frame 1
stop();
Symbol 16 MovieClip [pentagon_Shape] Frame 15
removeMovieClip(this); trace("remove ME!"); stop();
Symbol 21 MovieClip [pentagon_Hole] Frame 1
stop();
Symbol 21 MovieClip [pentagon_Hole] Frame 26
stop();
Symbol 24 MovieClip [triangle_Shape] Frame 1
stop();
Symbol 24 MovieClip [triangle_Shape] Frame 15
removeMovieClip(this); trace("remove ME!"); stop();
Symbol 29 MovieClip [triangle_Hole] Frame 1
stop();
Symbol 29 MovieClip [triangle_Hole] Frame 26
stop();
Symbol 32 MovieClip [star_Shape] Frame 1
stop();
Symbol 32 MovieClip [star_Shape] Frame 15
removeMovieClip(this); trace("remove ME!"); stop();
Symbol 36 MovieClip [star_Hole] Frame 1
stop();
Symbol 36 MovieClip [star_Hole] Frame 25
stop();
Symbol 38 MovieClip [circle_Shape] Frame 1
stop();
Symbol 38 MovieClip [circle_Shape] Frame 15
removeMovieClip(this); trace("remove ME!"); stop();
Symbol 42 MovieClip [circle_Hole] Frame 1
stop();
Symbol 42 MovieClip [circle_Hole] Frame 26
stop();
Symbol 45 MovieClip [cube_Shape] Frame 1
stop();
Symbol 45 MovieClip [cube_Shape] Frame 15
removeMovieClip(this); trace("remove ME!"); stop();
Symbol 50 MovieClip [cube_Hole] Frame 1
stop();
Symbol 50 MovieClip [cube_Hole] Frame 26
stop();
Symbol 64 MovieClip [soundonoff] Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 25
stop();
Symbol 94 MovieClip Frame 46
stop();

Library Items

Symbol 1 Sound [wrong.wav]
Symbol 2 Sound [levelup.wav]
Symbol 3 Sound [correct.wav]
Symbol 4 MovieClipUsed by:5 67
Symbol 5 MovieClip [front]Uses:4Used by:8
Symbol 6 MovieClipUsed by:7
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClip [card]Uses:5 7
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:11
Symbol 11 MovieClip [wrongX]Uses:10
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:16
Symbol 14 BitmapUsed by:15 37
Symbol 15 GraphicUses:14Used by:16 24 32 38 45
Symbol 16 MovieClip [pentagon_Shape]Uses:13 15Used by:21
Symbol 17 BitmapUsed by:18 19
Symbol 18 GraphicUses:17Used by:21
Symbol 19 GraphicUses:17Used by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip [pentagon_Hole]Uses:18 19 20 16
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClip [triangle_Shape]Uses:23 15Used by:29
Symbol 25 BitmapUsed by:26 27
Symbol 26 GraphicUses:25Used by:29
Symbol 27 GraphicUses:25Used by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClip [triangle_Hole]Uses:26 27 28 24
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [star_Shape]Uses:31 15Used by:36
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClip [star_Hole]Uses:34 35 32
Symbol 37 GraphicUses:14Used by:38
Symbol 38 MovieClip [circle_Shape]Uses:37 15Used by:42
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [circle_Hole]Uses:40 41 38
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [cube_Shape]Uses:44 15Used by:50
Symbol 46 BitmapUsed by:47 48
Symbol 47 GraphicUses:46Used by:50
Symbol 48 GraphicUses:46Used by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClip [cube_Hole]Uses:47 48 49 45
Symbol 51 GraphicUsed by:58
Symbol 52 FontUsed by:53 55 61 63 78 79 80 81 83 84 86 89 90 92 93
Symbol 53 TextUses:52Used by:58
Symbol 54 GraphicUsed by:58
Symbol 55 TextUses:52Used by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 Button [levelbtn]Uses:51 53 54 55 56 57
Symbol 59 GraphicUsed by:64
Symbol 60 GraphicUsed by:64
Symbol 61 TextUses:52Used by:64
Symbol 62 GraphicUsed by:64
Symbol 63 TextUses:52Used by:64
Symbol 64 MovieClip [soundonoff]Uses:59 60 61 62 63Used by:Timeline
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:Timeline
Symbol 67 MovieClipUses:4Used by:Timeline
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:Timeline
Symbol 70 MovieClipUsed by:Timeline
Symbol 71 MovieClipUsed by:Timeline
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:75
Symbol 74 GraphicUsed by:75
Symbol 75 ButtonUses:73 74Used by:Timeline
Symbol 76 GraphicUsed by:94
Symbol 77 GraphicUsed by:94
Symbol 78 TextUses:52Used by:94
Symbol 79 EditableTextUses:52Used by:94
Symbol 80 EditableTextUses:52Used by:94
Symbol 81 TextUses:52Used by:94
Symbol 82 ShapeTweeningUsed by:94
Symbol 83 EditableTextUses:52Used by:94
Symbol 84 TextUses:52Used by:94
Symbol 85 GraphicUsed by:94
Symbol 86 EditableTextUses:52Used by:94
Symbol 87 ShapeTweeningUsed by:94
Symbol 88 ShapeTweeningUsed by:94
Symbol 89 EditableTextUses:52Used by:94
Symbol 90 EditableTextUses:52Used by:94
Symbol 91 GraphicUsed by:94
Symbol 92 EditableTextUses:52Used by:94
Symbol 93 EditableTextUses:52Used by:94
Symbol 94 MovieClipUses:76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:99
Symbol 97 GraphicUsed by:98 99
Symbol 98 MovieClipUses:97Used by:99
Symbol 99 ButtonUses:96 98 97Used by:Timeline

Instance Names

"stopper"Frame 1Symbol 66 MovieClip
"bg"Frame 1Symbol 67 MovieClip
"gameboard"Frame 1Symbol 70 MovieClip
"wrongBox"Frame 1Symbol 71 MovieClip
"playagain"Frame 1Symbol 75 Button
"scorebox"Frame 1Symbol 94 MovieClip
"globalSound"Frame 1Symbol 64 MovieClip [soundonoff]
"start"Frame 1Symbol 99 Button
"img"Symbol 5 MovieClip [front] Frame 1Symbol 4 MovieClip
"img"Symbol 7 MovieClip Frame 1Symbol 6 MovieClip
"front"Symbol 8 MovieClip [card] Frame 1Symbol 5 MovieClip [front]
"back"Symbol 8 MovieClip [card] Frame 1Symbol 7 MovieClip
"img"Symbol 67 MovieClip Frame 1Symbol 4 MovieClip
"levelBoard"Symbol 94 MovieClip Frame 1Symbol 79 EditableText
"scoreboard"Symbol 94 MovieClip Frame 1Symbol 80 EditableText
"scoreboard"Symbol 94 MovieClip Frame 2Symbol 83 EditableText
"scoreboard"Symbol 94 MovieClip Frame 25Symbol 86 EditableText
"levelBoard"Symbol 94 MovieClip Frame 26Symbol 89 EditableText
"scoreboard"Symbol 94 MovieClip Frame 26Symbol 90 EditableText
"levelBoard"Symbol 94 MovieClip Frame 46Symbol 92 EditableText
"scoreboard"Symbol 94 MovieClip Frame 46Symbol 93 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "wrong.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "levelup.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "correct.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "front"
ExportAssets (56)Timeline Frame 1Symbol 8 as "card"
ExportAssets (56)Timeline Frame 1Symbol 11 as "wrongX"
ExportAssets (56)Timeline Frame 1Symbol 16 as "pentagon_Shape"
ExportAssets (56)Timeline Frame 1Symbol 21 as "pentagon_Hole"
ExportAssets (56)Timeline Frame 1Symbol 24 as "triangle_Shape"
ExportAssets (56)Timeline Frame 1Symbol 29 as "triangle_Hole"
ExportAssets (56)Timeline Frame 1Symbol 32 as "star_Shape"
ExportAssets (56)Timeline Frame 1Symbol 36 as "star_Hole"
ExportAssets (56)Timeline Frame 1Symbol 38 as "circle_Shape"
ExportAssets (56)Timeline Frame 1Symbol 42 as "circle_Hole"
ExportAssets (56)Timeline Frame 1Symbol 45 as "cube_Shape"
ExportAssets (56)Timeline Frame 1Symbol 50 as "cube_Hole"
ExportAssets (56)Timeline Frame 1Symbol 58 as "levelbtn"
ExportAssets (56)Timeline Frame 1Symbol 64 as "soundonoff"

Labels

"game"Frame 1
"back"Symbol 8 MovieClip [card] Frame 1
"backflip"Symbol 8 MovieClip [card] Frame 2
"front"Symbol 8 MovieClip [card] Frame 17
"frontflip"Symbol 8 MovieClip [card] Frame 18
"matched"Symbol 8 MovieClip [card] Frame 34
"incorrect"Symbol 16 MovieClip [pentagon_Shape] Frame 2
"correct"Symbol 21 MovieClip [pentagon_Hole] Frame 2
"incorrect"Symbol 24 MovieClip [triangle_Shape] Frame 2
"correct"Symbol 29 MovieClip [triangle_Hole] Frame 2
"incorrect"Symbol 32 MovieClip [star_Shape] Frame 2
"correct"Symbol 36 MovieClip [star_Hole] Frame 2
"incorrect"Symbol 38 MovieClip [circle_Shape] Frame 2
"correct"Symbol 42 MovieClip [circle_Hole] Frame 2
"incorrect"Symbol 45 MovieClip [cube_Shape] Frame 2
"correct"Symbol 50 MovieClip [cube_Hole] Frame 2
"on"Symbol 64 MovieClip [soundonoff] Frame 1
"off"Symbol 64 MovieClip [soundonoff] Frame 2
"start"Symbol 94 MovieClip Frame 1
"endgame"Symbol 94 MovieClip Frame 2
"nextlevel"Symbol 94 MovieClip Frame 26

Dynamic Text Variables

levelSymbol 79 EditableText"100"
scoreSymbol 80 EditableText"1000000"
scoreSymbol 83 EditableText"1000000"
scoreSymbol 86 EditableText"1000000"
levelSymbol 89 EditableText"100"
scoreSymbol 90 EditableText"1000000"
levelSymbol 92 EditableText"100"
scoreSymbol 93 EditableText"1000000"




http://swfchan.com/24/118352/info.shtml
Created: 7/3 -2019 07:06:20 Last modified: 7/3 -2019 07:06:20 Server time: 14/11 -2024 22:41:37