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/62693149?noj=FRM62693149-22DC" width="1" height="1"></div>

bconstructive.swf

This is the info page for
Flash #48542

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


Text
100%
PLASTIC

LOADING

Start

29

T

f

E

L

M

i

T

f

E

L

M

i

29

Messy                 Tidy

Check it out!

While toy stacking isn't an option there's
100s of exciting construction jobs at

PLAY AGAIN

PLAY AGAIN

SCORE

88

ActionScript [AS1/AS2]

Frame 1
movieFile = "http://www.weebls-stuff.com/testy/stacker/bconstructive_05.swf"; loadMovie (movieFile, mc_holder); mc_holder._visible = false; var mc_sound = new Sound(mc_holder); function reportevent(tag) { trace("tag:" + tag); switch (tag) { case 1 : trace("intro finished"); gotoAndStop ("gametitle"); break; case 2 : trace("play button"); mc_holder.gotoAndStop("frameblank"); gotoAndPlay ("gamestart"); break; case 3 : mc_holder.gotoAndStop("frameblank"); game_faster(); break; case 4 : trace("lost screen finished"); mc_holder.gotoAndStop("frameblank"); gotoAndStop ("gamescore"); break; case 5 : trace("win screen finished"); mc_holder.gotoAndStop("frameblank"); gotoAndStop ("gamescore"); } }
Instance of Symbol 36 MovieClip "loadbar" in Frame 1
onClipEvent (load) { stop(); }
Frame 2
bTotal = Number(mc_holder.getBytesTotal()); bLoaded = Number(mc_holder.getBytesLoaded()); if ((bTotal > 100) && (bLoaded > 0)) { px = Math.round((bLoaded / bTotal) * 100); loadbar.gotoAndStop(px); if (px < 99) { mc_sound.setVolume(0); mc_holder.gotoAndStop(1); mc_holder._visible = false; loadbar._visible = true; } else { loadbar._visible = false; trace("Loaded " + bLoaded); mc_sound.setVolume(100); mc_holder._visible = true; mc_holder.gotoAndPlay(2); mc_holder.play(); skip._x = 3; stop(); } }
Frame 3
gotoAndPlay (2);
Frame 4
stop(); trace("jump to title"); mc_holder.gotoAndPlay("frametitle");
Instance of Symbol 50 MovieClip "audio" in Frame 5
onClipEvent (load) { _visible = false; }
Frame 8
function junk_score(id) { if (id == 1) { sound_yay.start(0, 1); gamescore = gamescore + 1; } else { sound_nope.start(0, 1); gamescore = gamescore - 1; } } function game_end() { pile.arrow._visible = false; sound_music1.stop(); sound_music2.stop(); sound_yay.setVolume(0); sound_nope.setVolume(0); gotoAndStop ("gameoutro"); } function halfway_anim() { sound_music1.stop(); sound_yay.setVolume(0); sound_nope.setVolume(0); gotoAndStop ("gamehurry"); } function game_faster() { gameSection = 2; newtime = new Date(); starttime = (newtime.getTime() / 1000) - (timelimit - 20); sound_music2.start(0, 99); sound_yay.setVolume(100); sound_nope.setVolume(100); trace("speed: " + manmove); manmove = manmove * 1.2; trace("increased speed: " + manmove); gotoAndPlay (10); } globalObjId = 1; topjunk = null; lockthrow = false; wobblelist = []; animstep = 1; starttime = new Date(); starttime = starttime.getTime() / 1000; manmove = 10; speedup = 1.02; gamescore = 0; wobblemaster = 0.7; gravity = 1.2; gameSection = 1; timelimit = 61; var sound_music1 = new Sound(audio.music1); sound_music1.attachSound("ingame.wav"); sound_music1.setVolume(100); sound_music1.start(0, 99); var sound_music2 = new Sound(audio.music2); sound_music2.attachSound("ingame_fast.wav"); sound_music2.setVolume(100); var sound_yay = new Sound(audio.yay); sound_yay.attachSound("yay.wav"); sound_yay.setVolume(100); var sound_nope = new Sound(audio.nope); sound_nope.attachSound("nope.wav"); sound_nope.setVolume(100);
Frame 10
if (Key.isDown(38) || (Key.isDown(32))) { boy.throwit(); }
Instance of Symbol 91 MovieClip "pile" in Frame 10
/* no clip actions */
Instance of Symbol 119 MovieClip "boy" in Frame 10
onClipEvent (enterFrame) { _x = (_x + _root.manmove); if (_x > 780) { _root.manmove = -_root.manmove; _xscale = -100; ball._xscale = -100; newitem(); } if (_x < -140) { _root.manmove = -_root.manmove; _xscale = 100; ball._xscale = 100; newitem(); } }
Frame 11
pile.wobblejunk(); animstep = animstep + ((wobblelist.length / 200) + 0.05); newtime = new Date(); counter_time = timelimit - Math.ceil((newtime.getTime() / 1000) - starttime); score = gamescore; tidybar.gotoAndStop(score + 1); if (counter_time <= 0) { game_end(); } else if ((counter_time <= 20) && (gameSection == 1)) { halfway_anim(); } else { gotoAndPlay (10); }
Frame 13
stop(); mc_holder.gotoAndPlay("framehurry");
Frame 14
stop(); if (score > 10) { mc_holder.gotoAndPlay("framewin"); } else { mc_holder.gotoAndPlay("framelose"); }
Frame 15
stop(); mc_holder.gotoAndStop("frameblank");
Symbol 42 Button
on (release) { gotoAndStop ("gametitle"); }
Symbol 47 Button
on (release) { getURL ("http://www.bconstructive.co.uk", "_blank"); }
Symbol 74 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
function throwjunk(itemnum, tx, ty) { trace("throwjunk!"); n = _root.globalObjId; _root.globalObjId = n + 1; var _local2 = new Object(); _local2.jx = tx; _local2.jy = ty; _local2.jspeed = 26; _local2.jmode = 1; _local2.active = true; _local2.wobbleangle = 0; _local2.itemnum = itemnum; mc_junk.duplicateMovieClip("junk" + n, n + 5001, _local2); } function wobblejunk() { junkpos = []; n = 0; while (n < (_root.wobblelist.length + 1)) { junkpos.push([_root.wobblelist[n]._x, _root.wobblelist[n]._y]); n++; } newjunkpos = []; oldjunkpos = junkpos; w = 1; while (w < (junkpos.length + 1)) { pivot = oldjunkpos.shift(); newjunkpos.push(pivot); reducer = w / junkpos.length; ang = ((_root.wobblelist[w].wobbleangle * reducer) * 2) * Math.sin(_root.animstep); _root.wobblelist[w]._rotation = ang * 57.2957795130823; fixd = _root.wobblelist[w].fixed_distance; oldjunkpos = rotate_array_origin(oldjunkpos, ang, pivot, fixd); w++; } n = 0; while (n < (_root.wobblelist.length + 1)) { _root.wobblelist[n]._x = newjunkpos[n][0]; _root.wobblelist[n]._y = newjunkpos[n][1]; n++; } arrow._x = _root.topjunk._x; arrow._y = _root.topjunk._y - 30; } function move_array(p_array, px, py) { n_array = []; n = 0; while (n < p_array.length) { x = p_array[n][0]; y = p_array[n][1]; nx = x + px; ny = y + py; n_array.push([nx, ny]); n++; } return(n_array); } function rotate_array(p_array, p_angle) { n_array = []; n = 0; while (n < p_array.length) { x = p_array[n][0]; y = p_array[n][1]; nx = (Math.cos(p_angle) * x) - (Math.sin(p_angle) * y); ny = (Math.sin(p_angle) * x) + (Math.cos(p_angle) * y); n_array.push([nx, ny]); n++; } return(n_array); } function rotate_array_origin(p_array, p_angle, p_origin, fixed_distance) { p_angle = p_angle - (Math.PI/2); n_array = []; x = p_array[0][0]; y = p_array[0][1]; radius = fixed_distance; nx = p_origin[0] + (Math.cos(p_angle) * radius); ny = p_origin[1] + (Math.sin(p_angle) * radius); n_array.push([nx, ny]); n = 1; while (n < p_array.length) { x = p_array[n][0]; y = p_array[n][1]; radius = dist_2_points(p_origin, p_array[n]); nx = p_origin[0] + (Math.cos(p_angle) * radius); ny = p_origin[1] + (Math.sin(p_angle) * radius); n_array.push([nx, ny]); n++; } return(n_array); } function dist_2_points(p1, p2) { Distance = Math.sqrt(((p2[0] - p1[0]) * (p2[0] - p1[0])) + ((p2[1] - p1[1]) * (p2[1] - p1[1]))); return(Distance); }
Instance of Symbol 87 MovieClip "mc_junk" in Symbol 91 MovieClip Frame 1
onClipEvent (load) { gotoAndStop(itemnum); if (jmode != null) { _x = jx; _y = jy; _root.lockthrow = true; } else { trace("first junk"); _root.topjunk = this; _root.wobblelist.push(this); wobbleangle = 0; } hitbox._visible = false; } onClipEvent (enterFrame) { if (jmode == 1) { _y = (_y - jspeed); jspeed = jspeed - _root.gravity; if (jspeed < 0) { if (this.hitbox.hitTest(_root.topjunk.hitbox)) { jmode = 2; jspeed = 0; _y = (_root.topjunk._y - 12); _root.lockthrow = false; opp = _root.topjunk._x - _x; adj = _root.topjunk._y - _y; wobblemaker = this._parent._parent.wobblemaster + ((8 - ((_root.wobblelist.length / 2) % 6)) / 18); wobbleangle = Math.atan(opp / adj) * wobblemaker; trace("ang :" + wobbleangle); _root.wobblelist.push(this); fixd = Math.sqrt((opp * opp) + (adj * adj)); this.fixed_distance = fixd; _root.topjunk = this; this._parent._parent.junk_score(1); } if (_y > 345) { trace("hit floor"); jmode = 0; _root.lockthrow = false; this._parent._parent.junk_score(-1); } } } else if (jmode == 2) { } }
Symbol 119 MovieClip Frame 1
function throwit() { trace("throw it:" + itemnum); if (itemnum > 0) { ball._visible = false; if (_xscale == -100) { tx = _x - 76; } else { tx = _x - 76; } _parent.pile.throwjunk(itemnum, tx, _y - 40); itemnum = 0; } } function newitem() { if (itemnum < 1) { ball._visible = true; do { itemnum = Math.floor(Math.random() * 14) + 2; } while (itemnum == _parent.topjunk._currentframe); ball.gotoAndStop(itemnum); _root.manmove = _root.manmove * _root.speedup; } } var itemnum; itemnum = 0; newitem();
Instance of Symbol 87 MovieClip "ball" in Symbol 119 MovieClip Frame 1
onClipEvent (load) { hitbox._visible = false; }
Symbol 119 MovieClip Frame 5
gotoAndPlay (4);
Symbol 127 Button
on (release) { getURL ("http://www.bconstructive.co.uk", "_blank"); }
Symbol 130 Button
on (release) { stopAllSounds(); gotoAndStop ("gametitle"); }

Library Items

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

Instance Names

"loadbar"Frame 1Symbol 36 MovieClip
"mc_holder"Frame 1Symbol 38 MovieClip
"skip"Frame 1Symbol 42 Button
"audio"Frame 5Symbol 50 MovieClip
"tidybar"Frame 10Symbol 74 MovieClip
"pile"Frame 10Symbol 91 MovieClip
"boy"Frame 10Symbol 119 MovieClip
"music1"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip
"music2"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip
"yay"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip
"nope"Symbol 50 MovieClip Frame 1Symbol 49 MovieClip
"hitbox"Symbol 87 MovieClip Frame 1Symbol 76 MovieClip
"mc_junk"Symbol 91 MovieClip Frame 1Symbol 87 MovieClip
"arrow"Symbol 91 MovieClip Frame 1Symbol 90 MovieClip
"ball"Symbol 119 MovieClip Frame 1Symbol 87 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "yay.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "nope.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "ingame_fast.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "ingame.wav"

Labels

"gametitle"Frame 4
"gamestart"Frame 8
"gamehurry"Frame 13
"gameoutro"Frame 14
"gamescore"Frame 15

Dynamic Text Variables

counter_timeSymbol 52 EditableText"29"
counter_timeSymbol 65 EditableText"29"
scoreSymbol 132 EditableText"88"




http://swfchan.com/10/48542/info.shtml
Created: 29/4 -2019 18:58:22 Last modified: 29/4 -2019 18:58:22 Server time: 22/12 -2024 13:18:12