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

pumkin_colors.swf

This is the info page for
Flash #129490

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


Text
sounds_loader

1234567890-

ActionScript [AS1/AS2]

Frame 1
stop(); initPumkins = function () { i = 1; while (i <= maxPumkins) { newname = "p" add i; p0.duplicateMovieClip(newname, 12 + i); p = eval (newname); p.col = colors[i]; p.pumkin.initcolor = i; p.myNum = i; newname = "s" add i; s0.duplicateMovieClip(newname, i); p.myShadow = newname; i++; } }; initClouds = function () { c1.xv = 3; c2.xv = 1.3; c3.xv = 1.4; c4.xv = 2; i = 1; while (i <= 4) { c = eval ("c" + i); c.onEnterFrame = function () { this._x = this._x + this.xv; if (this._x > 700) { this._x = (this._x - 700) - this._width; this._y = random(120); } }; i++; } }; transXYZ = function (x, y, z) { widthDif = front._width - back._width; ydif = front._y - back._y; yw = y * widthDif; w = back._width + yw; groundY = back._y + (y * ydif); basex = back._x - (yw / 2); nx = basex + (x * w); ny = groundY - (z * w); nscale = minscale + ((100 - minscale) * y); var o = new object(); o.x = nx; o.y = ny; o.scale = nscale; o.groundY = groundY; return(o); }; makeRandomList = function (n) { var a = new array(); var c = new array(); i = 1; while (i <= n) { a.unshift(i); i++; } i = 1; while (i <= n) { pos = random(a.length); b = a.splice(pos, 1)[0]; c.unshift(b); i++; } return(c); };
Instance of Symbol 48 MovieClip "p0" in Frame 1
/* no clip actions */
Instance of Symbol 64 MovieClip in Frame 1
/* no clip actions */
Frame 2
friction = 0.99; elas = 0.6; maxheight = 200; minscale = 50; gravity = -0.005; colors = new array(0, "red", "blue", "green", "yellow", "orange", "purple", "pink", "brown", "gray", "white", "black"); maxPumkins = colors.length - 1; initClouds(); initPumkins(); colorOrder = makeRandomList(maxPumkins); colorOrder.unshift("x");
Frame 13
count = 0; pumkinClicked = function (num) { if (clickArray[num] == 0) { clickArray[num] = 1; clicked++; } if (clicked >= count) { bringIn(); } }; bringIn = function () { trace(count); if (count < maxPumkins) { count++; p = eval ("p" + colorOrder[count]); p.orderNum = count; x = random(100) / 100; y = random(100) / 100; z = 1; xv = random(100) / 3000; yv = random(100) / 3000; if (random(2)) { xv = -xv; } if (random(2)) { yv = -yv; } p.place(x, y, z, xv, yv, zv); p.incomingSnd.start(); } else { i = 1; while (i <= maxPumkins) { p = eval ("p" + i); p.jump(1); i++; } } clicked = 0; clickArray = new array(); clickArray.unshift("x"); i = 1; while (i <= count) { clickArray.push(0); i++; } };
Frame 14
bringIn(); trace(maxPumkins); stop();
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) { if (random(2)) { _xscale = (-_xscale); } }
Symbol 34 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
stop(); chance = 4; onEnterFrame = function () { if (random(100) < chance) { gotoAndStop(random(4) + 1); } };
Symbol 46 MovieClip Frame 11
onEnterFrame = function () { };
Symbol 46 MovieClip Frame 15
onEnterFrame = function () { };
Symbol 46 MovieClip Frame 19
onEnterFrame = function () { };
Symbol 46 MovieClip Frame 22
gotoAndStop (1);
Symbol 47 MovieClip Frame 1
function ChangeColor(colorRef) { skin.gotoAndStop(colorRef); } function ChangeFace(faceName) { switch (faceName) { case "no" : myface.gotoAndStop("no"); return; case "roll" : myface.gotoAndStop("roll"); return; case "click" : myface.gotoAndStop("click"); return; case "speak" : myface.gotoAndPlay("speak"); } }
Symbol 47 MovieClip Frame 2
ChangeColor(initColor); stop();
Symbol 48 MovieClip Frame 1
place = function (x_, y_, z_, xv_, yv_, zv_) { active = 1; x = x_; y = y_; z = z_; xv = xv_; yv = yv_; zv = zv_; pumkin.changeFace("click"); incoming = 1; }; initSound = function () { this.createEmptyMovieClip("speech", 1); mySnd = new sound(speech); mySnd.attachSound(col + ".mp3"); mySnd.setVolume(100); this.createEmptyMovieClip("bounce", 2); bounceSnd = new sound(bounce); bounceSnd.attachSound("bounce"); this.createEmptyMovieClip("incoming", 3); incomingSnd = new sound(incoming); incomingSnd.setVolume(10); incomingSnd.attachSound("incoming"); }; jump = function (high) { pumkin.changeFace("speak"); leaping = 1; xv = random(100) / 3000; yv = random(100) / 3000; zv = 0.04 + (random(10) / 300); if (high == 1) { xv = xv * 2; yv = yv * 2; zv = zv * 2; pumkin.changeFace("click"); } if (random(2)) { xv = -xv; } if (random(2)) { yv = -yv; } }; frameAction = function () { if (yscaleFactor < 1) { yscaleFactor = yscaleFactor * 1.3; if (yScaleFactor > 1) { yScaleFactor = 1; } } if (((x + xv) > 1) || ((x + xv) < 0)) { xv = -xv; } if (((y + yv) > 1) || ((y + yv) < 0)) { yv = -yv; } x = x + xv; y = y + yv; zv = zv + _parent.gravity; nz = z + zv; xv = xv * _parent.friction; yv = yv * _parent.friction; if (nz < 0) { if (incoming == 1) { pumkin.changeFace("no"); } incoming = 0; zv = (-zv) * _parent.elas; xv = xv * _parent.elas; yv = yv * _parent.elas; nz = 0; leaping = 0; vol = (zv / 0.06) * 100; if (vol > 100) { vol = 100; } if (vol > 10) { bounceSnd.setPan(-100 + (x * 200)); bounceSnd.setVolume(vol); bounceSnd.start(); } yscaleFactor = 1 - (zv * 7); } z = nz; var o = _parent.transXYZ(x, y, z); this._x = o.x; this._y = o.y; this._xscale = o.scale; this._yscale = o.scale * yscaleFactor; this.swapDepths(12 + int(100 * y)); s = _parent[myShadow]; s._x = _x; s._y = o.groundY; baseScale = o.scale; sc = baseScale - (z * 200); if (sc < 0) { sc = 0; } s._xscale = sc; s._yscale = sc; }; doPress = function () { pumkin.changeFace("click"); }; doRelease = function () { mySnd.setPan(-50 + (x * 100)); mySnd.start(); jump(); _parent.pumkinClicked(orderNum); }; doRollOver = function () { pumkin.changeFace("roll"); }; doRollOut = function () { if (!leaping) { pumkin.changeFace("no"); } }; myButton.onPress = function () { doPress(); }; myButton.onRelease = function () { doRelease(); }; myButton.onReleaseOutside = function () { doRelease(); }; myButton.onRollOver = function () { doRollOver(); }; myButton.onRollOut = function () { doRollOut(); };
Symbol 48 MovieClip Frame 2
active = 0; yscaleFactor = 1; initSound(); stop(); onEnterFrame = function () { if (active) { frameAction(); } };
Symbol 64 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:48
Symbol 17 GraphicUsed by:18
Symbol 18 ButtonUses:17Used by:48
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:22
Symbol 22 MovieClipUses:19 21Used by:47
Symbol 23 GraphicUsed by:34
Symbol 24 GraphicUsed by:34
Symbol 25 GraphicUsed by:34
Symbol 26 GraphicUsed by:34
Symbol 27 GraphicUsed by:34
Symbol 28 GraphicUsed by:34
Symbol 29 GraphicUsed by:34
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:23 24 25 26 27 28 29 30 31 32 33Used by:47
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:46
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:46
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:46
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:36 38 40 42 43 44 45Used by:47
Symbol 47 MovieClipUses:22 34 46Used by:48
Symbol 48 MovieClipUses:16 18 47Used by:Timeline
Symbol 49 FontUsed by:50
Symbol 50 TextUses:49Used by:64
Symbol 51 Sound [white.mp3]Used by:64
Symbol 52 Sound [yellow.mp3]Used by:64
Symbol 53 Sound [red.mp3]Used by:64
Symbol 54 Sound [purple.mp3]Used by:64
Symbol 55 Sound [pink.mp3]Used by:64
Symbol 56 Sound [orange.mp3]Used by:64
Symbol 57 Sound [green.mp3]Used by:64
Symbol 58 Sound [gray.mp3]Used by:64
Symbol 59 Sound [brown.mp3]Used by:64
Symbol 60 Sound [blue.mp3]Used by:64
Symbol 61 Sound [black.mp3]Used by:64
Symbol 62 Sound [bounce]Used by:64
Symbol 63 Sound [incoming]Used by:64
Symbol 64 MovieClipUses:50 51 52 53 54 55 56 57 58 59 60 61 62 63Used by:Timeline
Symbol 65 FontUsed by:66
Symbol 66 EditableTextUses:65Used by:Timeline

Instance Names

"back"Frame 1Symbol 2 MovieClip
"front"Frame 1Symbol 2 MovieClip
"c4"Frame 1Symbol 7 MovieClip
"c2"Frame 1Symbol 9 MovieClip
"c1"Frame 1Symbol 11 MovieClip
"c3"Frame 1Symbol 7 MovieClip
"frog0"Frame 1Symbol 13 MovieClip
"s0"Frame 1Symbol 15 MovieClip
"p0"Frame 1Symbol 48 MovieClip
"watchTRext"Frame 1Symbol 66 EditableText
"skin"Symbol 47 MovieClip Frame 1Symbol 34 MovieClip
"myface"Symbol 47 MovieClip Frame 1Symbol 46 MovieClip
"myButton"Symbol 48 MovieClip Frame 1Symbol 18 Button
"pumkin"Symbol 48 MovieClip Frame 1Symbol 47 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 51 as "white.mp3"
ExportAssets (56)Timeline Frame 1Symbol 52 as "yellow.mp3"
ExportAssets (56)Timeline Frame 1Symbol 53 as "red.mp3"
ExportAssets (56)Timeline Frame 1Symbol 54 as "purple.mp3"
ExportAssets (56)Timeline Frame 1Symbol 55 as "pink.mp3"
ExportAssets (56)Timeline Frame 1Symbol 56 as "orange.mp3"
ExportAssets (56)Timeline Frame 1Symbol 57 as "green.mp3"
ExportAssets (56)Timeline Frame 1Symbol 58 as "gray.mp3"
ExportAssets (56)Timeline Frame 1Symbol 59 as "brown.mp3"
ExportAssets (56)Timeline Frame 1Symbol 60 as "blue.mp3"
ExportAssets (56)Timeline Frame 1Symbol 61 as "black.mp3"
ExportAssets (56)Timeline Frame 1Symbol 62 as "bounce"
ExportAssets (56)Timeline Frame 1Symbol 63 as "incoming"

Labels

"bringin"Frame 13
"no"Symbol 46 MovieClip Frame 1
"roll"Symbol 46 MovieClip Frame 11
"click"Symbol 46 MovieClip Frame 15
"speak"Symbol 46 MovieClip Frame 19

Dynamic Text Variables

watchedSymbol 66 EditableText"1234567890-"




http://swfchan.com/26/129490/info.shtml
Created: 6/1 -2019 13:11:29 Last modified: 6/1 -2019 13:11:29 Server time: 22/12 -2024 19:37:56