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>

crystallization.swf

This is the info page for
Flash #51625

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


ActionScript [AS1/AS2]
Frame 1
function effect() { bitmap.draw(farm); bitmap.applyFilter(bitmap, rect, point, blur); } var blur = (new flash.filters.BlurFilter(2, 2, 3)); var glow = (new flash.filters.GlowFilter(16777215, 1, 4, 4, 2, 3, false, false)); var bitmap = (new flash.display.BitmapData(250, 250, false, 0)); var point = (new flash.geom.Point(0, 0)); var rect = (new flash.geom.Rectangle(0, 0, 250, 250)); _root.createEmptyMovieClip("bitlayer", 5); _root.bitlayer.attachBitmap(bitmap, 8); farm._visible = false; setInterval(effect, 10);
Symbol 5 MovieClip [crystal_blue] Frame 10
this.removeMovieClip();
Symbol 9 MovieClip [crystal_purp] Frame 10
this.removeMovieClip();
Symbol 11 MovieClip [CrystalFarm] Frame 1
#initclip 2 Object.registerClass("CrystalFarm", CrystalFarm); #endinitclip
Symbol 12 MovieClip [__Packages.CrystalFarm] Frame 0
class CrystalFarm extends MovieClip { var attachMovie, cwidth, cheight, mcs, _width, _height, _xscale, _yscale, __width, __height, cols, rows, onMouseUp, grid, active, onEnterFrame, _xmouse, _ymouse; function CrystalFarm () { super(); var _local3 = attachMovie(CRYSTAL_LINKAGE, "tmp", 1); cwidth = _local3._width; cheight = _local3._height; _local3.removeMovieClip(); mcs = []; } function onLoad() { var _local2 = _width; var _local3 = _height; _xscale = (_yscale = 100); setSize(_local2, _local3); } function setSize(p_width, p_height) { __width = p_width; __height = p_height; cols = Math.ceil(__width / cwidth); rows = Math.ceil(__height / cheight); onMouseUp = startClick; } function reset() { grid = []; var _local4 = cols; var _local3; while (_local4--) { _local3 = (grid[_local4] = []); var _local2 = rows; while (_local2--) { _local3[_local2] = random(190) + 10; } } while (mcs.length) { mcs.pop().removeMovieClip(); } active = {}; delete onEnterFrame; } function startClick() { reset(); activate(Math.max(1, Math.min(cols - 2, Math.floor(_xmouse / cwidth))), Math.max(1, Math.min(rows - 2, Math.floor(_ymouse / cheight)))); delete onMouseUp; onEnterFrame = doIdle; } function doIdle() { var _local4 = []; for (var _local6 in active) { var _local2 = active[_local6].x; var _local3 = active[_local6].y; grid[_local2][_local3] = grid[_local2][_local3] - (random(6) / 2); if (grid[_local2][_local3] < 0) { _local4.push(active[_local6]); } } var _local5 = _local4.length; while (_local5--) { activate(_local4[_local5].x, _local4[_local5].y); } if (mcs.length == (cols * rows)) { delete onEnterFrame; onMouseUp = startClick; } } function activate(p_x, p_y) { if (random(2) == 0) { CRYSTAL_LINKAGE = "crystal_blue"; } else { CRYSTAL_LINKAGE = "crystal_purp"; } grid[p_x][p_y] = 0; var _local4 = (p_y * cols) + p_x; delete active["_" + _local4]; mcs.push(attachMovie(CRYSTAL_LINKAGE, "c" + _local4, _local4, {_x:p_x * cwidth, _y:p_y * cheight, id:_local4, x:p_x, y:p_y})); if (grid[p_x - 1][p_y] > 0) { grid[p_x - 1][p_y] = grid[p_x - 1][p_y] - (5 + random(140)); active["_" + (_local4 - 1)] = {x:p_x - 1, y:p_y}; } if (grid[p_x + 1][p_y] > 0) { grid[p_x + 1][p_y] = grid[p_x + 1][p_y] - (5 + random(140)); active["_" + (_local4 + 1)] = {x:p_x + 1, y:p_y}; } if (grid[p_x][p_y - 1] > 0) { grid[p_x][p_y - 1] = grid[p_x][p_y - 1] - (5 + random(140)); active["_" + (_local4 - cols)] = {x:p_x, y:p_y - 1}; } if (grid[p_x][p_y + 1] > 0) { grid[p_x][p_y + 1] = grid[p_x][p_y + 1] - (5 + random(140)); active["_" + (_local4 + cols)] = {x:p_x, y:p_y + 1}; } } var CRYSTAL_LINKAGE = "crystal_purp"; }

Library Items

Symbol 1 ShapeTweeningUsed by:5
Symbol 2 ShapeTweeningUsed by:5
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5 9
Symbol 5 MovieClip [crystal_blue]Uses:1 2 3 4
Symbol 6 ShapeTweeningUsed by:9
Symbol 7 ShapeTweeningUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip [crystal_purp]Uses:6 7 8 4Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [CrystalFarm]Uses:10Used by:Timeline
Symbol 12 MovieClip [__Packages.CrystalFarm]

Instance Names

"farm"Frame 1Symbol 11 MovieClip [CrystalFarm]

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "crystal_blue"
ExportAssets (56)Timeline Frame 1Symbol 9 as "crystal_purp"
ExportAssets (56)Timeline Frame 1Symbol 11 as "CrystalFarm"
ExportAssets (56)Timeline Frame 1Symbol 12 as "__Packages.CrystalFarm"




http://swfchan.com/11/51625/info.shtml
Created: 24/4 -2019 19:10:09 Last modified: 24/4 -2019 19:10:09 Server time: 22/12 -2024 19:41:51