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

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

picturetest.swf

This is the info page for
Flash #172663

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


ActionScript [AS1/AS2]
Frame 1
function drawRectangle(target_mc, xpos, ypos, boxWidth, fillColor) { startx = xpos - (boxWidth / 2); starty = ypos - (boxWidth / 2); endx = xpos + (boxWidth / 2); endy = ypos + (boxWidth / 2); if (endx > WIDTH) { endx = WIDTH; } if (endy > HEIGHT) { endy = HEIGHT; } if (startx < 0) { startx = 0; } if (starty < 0) { starty = 0; } with (target_mc) { beginFill(fillColor); moveTo(startx, starty); lineTo(endx, starty); lineTo(endx, endy); lineTo(startx, endy); lineTo(startx, starty); endFill(); } } var bitmap_bg = flash.display.BitmapData.loadBitmap("pic.jpg"); _root.createEmptyMovieClip("background_image", _root.getNextHighestDepth()); background_image.attachBitmap(bitmap_bg, _root.getNextHighestDepth()); HEIGHT = background_image._height; WIDTH = background_image._width; boxSize = 50; setInterval(this, "tile", 10); tile = function () { if (boxSize > 2) { boxSize = boxSize - 0.05; } i = 0; while (i < 1) { xpos = Math.round(Math.random() * WIDTH); ypos = Math.round(Math.random() * HEIGHT); color = bitmap_bg.getPixel(xpos, ypos); drawRectangle(rectangle_mc, xpos, ypos, boxSize, color); i++; } }; this.createEmptyMovieClip("rectangle_mc", _root.getNextHighestDepth()); background_image._visible = false;

Library Items

Symbol 1 Bitmap [pic.jpg]Used by:2
Symbol 2 GraphicUses:1Used by:Timeline

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "pic.jpg"




http://swfchan.com/35/172663/info.shtml
Created: 17/10 -2018 13:53:13 Last modified: 17/10 -2018 13:53:13 Server time: 05/11 -2024 06:59:22