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

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

DBZ Image Splitter step viewer.swf

This is the info page for
Flash #104261

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


Text
DOWNLOAD COMPLETE

<p align="center"><font face="_sans" size="20" color="#000000">I created this image viewer to <sbr />display the various steps I&apos;ve <sbr />taken to draw an image.</font></p><p align="center"></p><p align="center"><font face="_sans" size="20" color="#000000">Moving the mouse around the <sbr />screen reveals the different <sbr />stages of completion.</font></p><p align="center"></p><p align="center"><font face="_sans" size="20" color="#000000"><b>Click on the screen to begin.</b></font></p>

ActionScript [AS1/AS2]

Frame 1
stop(); bg_mc._width = Stage.width; bg_mc._height = Stage.height; da_mc._x = (lbc._x = (bg_mc._width / 2) - (da_mc._width / 2)); da_mc._y = (bg_mc._height / 2) - (da_mc._height / 2); lbc._y = (da_mc._y + da_mc._height) + 30; loadbar._x = lbc._x + 91; loadbar._y = lbc._y; var bt = 0; var bl = 0; var pl = 0; onEnterFrame = function () { bt = int(_root.getBytesTotal() / 1000); bl = int(_root.getBytesLoaded() / 1000); pl = int((bl / bt) * 200); loadbar._width = pl; if ((bt == bl) and (bt != 0)) { _root.gotoAndStop(3); delete _root.onEnterFrame; } }; friction = 0.96; v = 1; g = 0; ds = 0.9; hw = ball._width / 2; hh = ball._height / 2; yspeed = random(200) - 100; xspeed = random(200) - 100; stopall = false; slide = false; _root.createEmptyMovieClip("lineDraw", _root.getNextHighestDepth()); lineDraw.swapDepths(ball); drawLine = function () { lineDraw.clear(); lineDraw.lineStyle(1, 0, 100); lineDraw.moveTo(sign._x, sign._y); lineDraw.lineTo(ball._x, ball._y); }; moveit = function () { if (v == 1) { newX = this._x; if (xabs > 0.09) { this._x = this._x + xspeed; } this.ball2._rotation = this.ball2._rotation + ((newX - oldX) * 1.9); xspeed = xspeed * friction; oldX = newX; if (!stopall) { newY = this._y; this._y = this._y + (yspeed + ((g = g + ds))); yspeed = yspeed * friction; oldY = newY; } else { if (!slide) { slide = true; sign._x = ball._x; } else { sign._x = sign._x + ((ball._x - sign._x) / 10); } sign._y = int(ball._y - 40); if ((sign._x + (sign._width / 2)) > bg_mc._width) { sign._x = bg_mc._width - (sign._width / 2); } else if ((sign._x - (sign._width / 2)) < 0) { sign._x = sign._width / 2; } drawLine(); sign.gotoAndStop(1); } } else { sign.gotoAndStop(2); newX = this._x; newY = this._y; xspeed = newX - oldX; yspeed = newY - oldY; oldX = newX; oldY = newY; } if (!stopall) { if ((this._y + hh) >= bg_mc._height) { this._y = bg_mc._height - hh; g = -(g * 0.4); yspeed = yspeed * -1; yabs = Math.abs(g); if (yabs > 1) { this.ball2.nextFrame(); } if (yabs < 0.3) { stopall = true; } } if ((this._y - hh) <= 0) { this._y = hh; g = 0; yspeed = yspeed * -1; this.ball2.nextFrame(); } } xabs = Math.abs(xspeed); if ((this._x + hw) >= bg_mc._width) { this._x = bg_mc._width - hw; xspeed = xspeed * -1; if (xabs > 1) { this.ball2.nextFrame(); } } if ((this._x - hw) <= 0) { this._x = hw; xspeed = xspeed * -1; if (xabs > 1) { this.ball2.nextFrame(); } } }; ball.onEnterFrame = moveit; ball.onPress = function () { lineDraw.clear(); stopall = (slide = false); this.startDrag(); v = 0; }; ball.onRelease = (ball.onReleaseOutside = function () { stopall = false; this.stopDrag(); v = 1; });
Frame 2
stop();
Frame 3
text_mc._x = bg_mc._width / 2; text_mc._y = bg_mc._height / 2; bg_mc.useHandCursor = false; bg_mc.onRelease = function () { _root.gotoAndStop(4); delete this.onRelease; }; stop();
Frame 4
mask_mc._width = bg_mc._width; mask_mc._height = bg_mc._height; f4_mc.duplicateMovieClip("image4", _root.getNextHighestDepth()); f3_mc.duplicateMovieClip("image3", _root.getNextHighestDepth()); mask_mc.duplicateMovieClip("mask3", _root.getNextHighestDepth()); image3.setMask("mask3"); mask3.onEnterFrame = function () { this._x = _xmouse - this._width; this._y = _ymouse - this._height; if (this._x > 0) { this._x = 0; } if (this._y > 0) { this._y = 0; } }; f2_mc.duplicateMovieClip("image2", _root.getNextHighestDepth()); mask_mc.duplicateMovieClip("mask2", _root.getNextHighestDepth()); image2.setMask("mask2"); mask2.onEnterFrame = function () { this._x = _xmouse - this._width; this._y = _ymouse; if (this._x > 0) { this._x = 0; } if (this._y < 0) { this._y = 0; } }; f1_mc.duplicateMovieClip("image1", _root.getNextHighestDepth()); mask_mc.duplicateMovieClip("mask1", _root.getNextHighestDepth()); image1.setMask("mask1"); mask1.onEnterFrame = function () { this._x = _xmouse; this._y = _ymouse; if (this._x < 0) { this._x = 0; } if (this._y < 0) { this._y = 0; } }; i = 4; while (i > 0) { var wc = eval (("_root.f" + i) + "_mc"); wc.swapDepths(10000); wc.removeMovieClip(); i--; } mask_mc.swapDepths(10000); mask_mc.removeMovieClip(); lineH_mc._height = bg_mc._height; lineV_mc._width = bg_mc._width; lineH_mc.swapDepths(10000); lineV_mc.swapDepths(10001); _root.onEnterFrame = function () { lineV_mc._y = _ymouse; if (lineV_mc._y > bg_mc._height) { lineV_mc._y = bg_mc._height; } if (lineV_mc._y < 0) { lineV_mc._y = 0; } lineH_mc._x = _xmouse; if (lineH_mc._x > bg_mc._width) { lineH_mc._x = bg_mc._width; } if (lineH_mc._x < 0) { lineH_mc._x = 0; } };
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 21 MovieClip Frame 10
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 GraphicUsed by:19
Symbol 10 GraphicUsed by:17
Symbol 11 GraphicUsed by:17
Symbol 12 GraphicUsed by:17
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:10 11 12 13 14 15 16Used by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:9 17 18Used by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 GraphicUsed by:28
Symbol 24 FontUsed by:25 27
Symbol 25 EditableTextUses:24Used by:28
Symbol 26 Font
Symbol 27 EditableTextUses:24Used by:28
Symbol 28 MovieClipUses:23 25 27Used by:Timeline
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClipUses:36Used by:Timeline
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40
Symbol 40 MovieClipUses:39Used by:Timeline
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:Timeline

Instance Names

"bg_mc"Frame 1Symbol 2 MovieClip
"loadbar"Frame 1Symbol 4 MovieClip
"da_mc"Frame 1Symbol 6 MovieClip
"lbc"Frame 1Symbol 8 MovieClip
"ball"Frame 1Symbol 19 MovieClip
"sign"Frame 1Symbol 22 MovieClip
"text_mc"Frame 3Symbol 28 MovieClip
"f1_mc"Frame 4Symbol 31 MovieClip
"f2_mc"Frame 4Symbol 34 MovieClip
"f3_mc"Frame 4Symbol 37 MovieClip
"f4_mc"Frame 4Symbol 40 MovieClip
"mask_mc"Frame 4Symbol 2 MovieClip
"lineH_mc"Frame 4Symbol 42 MovieClip
"lineV_mc"Frame 4Symbol 42 MovieClip
"ball2"Symbol 19 MovieClip Frame 1Symbol 17 MovieClip




http://swfchan.com/21/104261/info.shtml
Created: 18/3 -2019 17:15:31 Last modified: 18/3 -2019 17:15:31 Server time: 23/04 -2024 23:29:39