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

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

boom.swf

This is the info page for
Flash #114112

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


ActionScript [AS1/AS2]
Instance of Symbol 2 MovieClip [Particle] "Starter" in Frame 1
onClipEvent (load) { firstSpawn = true; }
Symbol 2 MovieClip [Particle] Frame 1
#initclip 2 Object.registerClass("Particle", Ball); #endinitclip
Symbol 3 MovieClip [__Packages.Ball] Frame 0
class Ball extends MovieClip { var X, _x, Y, _y, onPress, onEnterFrame, onLoad, i, currentParticle, swapDepths, removeMovieClip, randNeg, gravity, randX, randY; function Ball () { super(); X = _x; Y = _y; onPress = function () { this.explode(50); }; onEnterFrame = function () { this.fall(); }; onLoad = function () { this.i = 0; if (!_root.Starter.firstSpawn) { this.randX = Math.ceil((Math.random() * 10) + 1) * this.getNeg(); this.randY = Math.ceil((Math.random() * 10) + 1) * this.getNeg(); } else { this.randX = 0; this.randY = 0; } this.gravity = 0; }; } function explode(numParticles) { _root.Starter.firstSpawn = false; (i);// not popped while (i < numParticles) { currentParticle = _root.attachMovie("Particle", "particle_" + i, _root.getNextHighestDepth()); currentParticle._x = X; currentParticle._y = Y; i++; } swapDepths(_root.getNextHighestDepth()); removeMovieClip(); } function getNeg() { randNeg = Math.random(); if (randNeg < 0.5) { return(-1); } return(1); } function fall() { if (gravity < 30) { gravity = gravity + 0.3; } _x = _x + randX; _y = _y + (randY + gravity); X = _x; Y = _y; } }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [Particle]Uses:1Used by:Timeline
Symbol 3 MovieClip [__Packages.Ball]

Instance Names

"Starter"Frame 1Symbol 2 MovieClip [Particle]

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "Particle"
ExportAssets (56)Timeline Frame 1Symbol 3 as "__Packages.Ball"




http://swfchan.com/23/114112/info.shtml
Created: 11/3 -2019 01:24:29 Last modified: 11/3 -2019 01:24:29 Server time: 02/05 -2024 09:00:22