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/69483655?noj=FRM69483655-2DC" width="1" height="1"></div>

Line art.swf

This is the info page for
Flash #75702

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


Text
Line Art

Signs

Program by Max Abernethy
Flecko.net

x     +     -
y     +     -

Execute

Functions

x     sin     cos      tan
y     sin     cos      tan

Values

5

px.

Initial size:

Initial angle:

0

°

Size increment:

Angle increment:

1

10

°

%

Color

Rate:

10

%

Tips

-For the angle setting, try slight variations on numbers that divide evenly into 360 (for example, 89 or 35).

-Not using color will make the lines render much faster.  Unfortunately, though, it doesn't look as cool.

-Altering the color rate can make a huge difference in appearance.

-Even if you don't know what any of the buttons mean, just keep messing around with them.  You'll get something cool sooner or later.

Run

IMPORTANT:

On the rendering screen, press space to stop and backspace to return to the config. screeen

ActionScript [AS1/AS2]

Frame 1
colormode = "none"; fv = "None"; ra = 100; ga = 0; ba = 0;
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (load) { t = Math.round(_root.getBytesTotal() / 1000) + "k"; _root.stop(); } onClipEvent (enterFrame) { l = Math.round(_root.getBytesLoaded() / 1000) + "k"; if (l == t) { _root.gotoAndStop(2); } }
Frame 2
stop();
Instance of Symbol 12 MovieClip in Frame 2
onClipEvent (enterFrame) { if (_root.xsign == 1) { xs = ""; } else { xs = "-"; } if (_root.ysign == 1) { ys = ""; } else { ys = "-"; } xeq = String((("x+=" + xs) + _root.xfunc) + "(rotation)*length"); yeq = String((("y+=" + ys) + _root.yfunc) + "(rotation)*length"); }
Instance of Symbol 45 MovieClip in Frame 2
onClipEvent (load) { isdefault = "true"; variable = "_root.xsign"; value = 1; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 46 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.xsign"; value = -1; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 47 MovieClip in Frame 2
onClipEvent (load) { isdefault = "true"; variable = "_root.ysign"; value = 1; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 48 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.ysign"; value = -1; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.xfunc"; value = "sin"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 52 MovieClip in Frame 2
onClipEvent (load) { isdefault = "true"; variable = "_root.xfunc"; value = "cos"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 53 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.xfunc"; value = "tan"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 54 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.yfunc"; value = "tan"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 55 MovieClip in Frame 2
onClipEvent (load) { isdefault = "false"; variable = "_root.yfunc"; value = "cos"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 56 MovieClip in Frame 2
onClipEvent (load) { isdefault = "true"; variable = "_root.yfunc"; value = "sin"; } onClipEvent (load) { if ((isdefault == "true") && (_root.firstrun != false)) { hasdefaulted = true; Set(variable, value); gotoAndStop (2); } else if (eval (variable) == value) { gotoAndStop (2); } } onClipEvent (enterFrame) { if ((eval (variable) != value) && (_currentframe == 2)) { gotoAndStop (1); } }
Instance of Symbol 61 MovieClip in Frame 2
onClipEvent (load) { initval = "none"; initdisp = "None"; variable = "_root.colormode"; values = new array(); values[0] = "none"; values[1] = "grayscale"; values[2] = "rainbow"; values[3] = "fire"; values[4] = "solid"; values[5] = "pulse"; facevalues = new array(); facevalues[0] = "None"; facevalues[1] = "Grayscale"; facevalues[2] = "Rainbow"; facevalues[3] = "Fire"; facevalues[4] = "Solid"; facevalues[5] = "Pulse"; } onClipEvent (load) { fv = _root.fv; }
Instance of Symbol 63 MovieClip in Frame 2
onClipEvent (load) { if (gen != false) { res = 10; i = 0; while (i < res) { n = 0; while (n < res) { _root.level++; duplicateMovieClip (this, "swatch" + _root.level, _root.level); s = eval ("_root.swatch" + _root.level); s._x = _x + (n * _width); s._y = _y + (i * _height); s.lum = (res - i) / res; s.sat = (res - n) / res; s.c = new Color(s); s.trans = new Object(); s.gen = false; n++; } i++; } } } onClipEvent (enterFrame) { ra = _root.ra; ga = _root.ga; ba = _root.ba; ra = ra * lum; ga = ga * lum; ba = ba * lum; if (ga < ra) { desat = ra; } else { desat = ga; } if (desat < ba) { desat = ba; } ra = ra + ((desat - ra) * sat); ga = ga + ((desat - ga) * sat); ba = ba + ((desat - ba) * sat); trans.ra = ra; trans.ga = ga; trans.ba = ba; c.setTransform(trans); if (_root._currentFrame == 3) { removeMovieClip(this); } }
Instance of Symbol 65 MovieClip in Frame 2
onClipEvent (load) { _height = 4.4444444444; if (gen != false) { colorset = new Array(new Array(100, 0, 0), new Array(100, 50, 0), new Array(100, 100, 0), new Array(0, 100, 0), new Array(0, 100, 50), new Array(0, 100, 100), new Array(0, 50, 100), new Array(0, 0, 100), new Array(100, 0, 100)); i = 0; while (i < colorset.length) { _root.level++; duplicateMovieClip (this, "hue" + _root.level, _root.level); h = eval ("_root.hue" + _root.level); h._y = _y + (_height * i); h.trans = new Object(); h.trans.ra = colorset[i][0]; h.trans.ga = colorset[i][1]; h.trans.ba = colorset[i][2]; h.gen = false; i++; } _visible = false; } else { c = new Color(this); c.setTransform(trans); } } onClipEvent (enterFrame) { if (_root._currentFrame == 3) { removeMovieClip(this); } }
Instance of Symbol 66 MovieClip in Frame 2
onClipEvent (load) { c = new Color(this); trans = new Object(); } onClipEvent (enterFrame) { trans.ra = _root.hsra; trans.ga = _root.hsga; trans.ba = _root.hsba; c.setTransform(trans); }
Instance of Symbol 74 MovieClip "line0" in Frame 3
onClipEvent (load) { if (_name == "line0") { _xscale = Number(_root.initsize); _rotation = Number(_root.initangle); _root.xfunc = String(_root.xfunc); _root.yfunc = String(_root.yfunc); _root.colormode = String(_root.colormode); if (_root.colormode == "pulse") { ra = (ga = (ba = 0)); p = 0; } else if (_root.colormode == "solid") { ra = _root.hsra; ga = _root.hsga; ba = _root.hsba; } else { if ((_root.colormode != "rainbow") && (_root.colormode != "fire")) { ra = 0; } else { ra = 100; } ga = 0; ba = 0; } cd = Number(_root.cd); } var rad = ((_rotation / 180) * Math.PI); var ang = Number(_root.incangle); var inc = ((Number(_root.incsize) / 100) + 1); if (_root.xfunc == "sin") { xd = (Math.sin(rad) * _xscale) * _root.xsign; } else if (_root.xfunc == "cos") { xd = (Math.cos(rad) * _xscale) * _root.xsign; } else { xd = (Math.tan(rad) * _xscale) * _root.xsign; } if (_root.yfunc == "sin") { yd = (Math.sin(rad) * _xscale) * _root.ysign; } else if (_root.yfunc == "cos") { yd = (Math.cos(rad) * _xscale) * _root.ysign; } else { yd = (Math.tan(rad) * _xscale) * _root.ysign; } rdelay = 2; if (_root.colormode != "none") { c = new Color(this); trans = new Object(); trans.ra = ra; trans.ga = ga; trans.ba = ba; c.setTransform(trans); } } onClipEvent (enterFrame) { if (Key.isDown(Key.SPACE)) { duplicate = false; } if (Key.isDown(Key.BACKSPACE)) { _root.gotoAndStop("ui"); } if (_root._currentframe == 2) { removeMovieClip(this); } if (duplicate != false) { duplicate = false; _root.level++; duplicateMovieClip (this, "line" + _root.level, _root.level); l = eval ("_root.line" + _root.level); l._x = _x + xd; l._y = _y + yd; l._rotation = _rotation + ang; l._xscale = _xscale * inc; if (_root.colormode == "grayscale") { l.ra = (l.ga = (l.ba = ra + cd)); if ((100 < l.ra) || (l.ra < 0)) { cd = cd * -1; l.ra = (l.ga = (l.ba = ra + cd)); } l.cd = cd; } else if (_root.colormode == "rainbow") { if (((ra == 100) && (ga < 100)) && (ba == 0)) { ga = ga + cd; } else if ((0 < ra) && (ga == 100)) { ra = ra - cd; } else if ((ga == 100) && (ba < 100)) { ba = ba + cd; } else if ((0 < ga) && (ba == 100)) { ga = ga - cd; } else if ((ba == 100) && (ra < 100)) { ra = ra + cd; } else if ((ra == 100) && (0 < ba)) { ba = ba - cd; } l.ra = ra; l.ga = ga; l.ba = ba; l.cd = cd; } else if (_root.colormode == "fire") { ga = ga + cd; if ((100 < ga) || (ga < 0)) { cd = cd * -1; ga = ga + (cd * 2); } l.ra = ra; l.ga = ga; l.ba = ba; l.cd = cd; } else if (_root.colormode == "solid") { l.ra = ra; l.ga = ga; l.ba = ba; } else if (_root.colormode == "pulse") { p = p + (cd / 100); if ((1 < p) || (p < 0)) { cd = cd * -1; p = p + (cd / 50); } l.ra = _root.hsra * p; l.ga = _root.hsga * p; l.ba = _root.hsba * p; l.cd = cd; l.p = p; } } rdelay--; if ((rdelay < 0) && ((((_x < (-_xscale)) || ((800 + _xscale) < _x)) || (_y < (-_xscale))) || ((600 + _xscale) < _y))) { removeMovieClip(this); } }
Symbol 43 Button
on (release) { if (_currentframe == 1) { Set(variable, value); gotoAndStop (2); } }
Symbol 45 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 50 Button
on (release) { firstrun = false; gotoAndStop (3); }
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 59 Button
on (release) { i = 0; while (i < values.length) { _root.level++; duplicateMovieClip (_root.selectitem, "item" + _root.level, _root.level); s = eval ("_root.item" + _root.level); s._x = _x - 2; s._y = _y + ((s._height - 2) * i); s.variable = variable; s.v = values[i]; s.fv = facevalues[i]; s.p = this; children[i] = s; i++; } gotoAndStop (2); }
Symbol 61 MovieClip Frame 1
i = 0; while (i < children.length) { children[i].removeMovieClip(); i++; } children = new Array(); stop();
Symbol 62 Button
on (release) { _root.hsra = ra; _root.hsga = ga; _root.hsba = ba; }
Symbol 64 Button
on (release) { _root.ra = trans.ra; _root.ga = trans.ga; _root.ba = trans.ba; }
Symbol 70 Button
on (release) { Set(variable, v); _root.fv = fv; p.fv = fv; p.gotoAndStop(1); }

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 FontUsed by:3 4 7 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 58 71
Symbol 3 EditableTextUses:2Used by:5
Symbol 4 EditableTextUses:2Used by:5
Symbol 5 MovieClipUses:1 3 4Used by:Timeline
Symbol 6 GraphicUsed by:Timeline
Symbol 7 EditableTextUses:2Used by:Timeline
Symbol 8 GraphicUsed by:Timeline
Symbol 9 EditableTextUses:2Used by:Timeline
Symbol 10 EditableTextUses:2Used by:12
Symbol 11 EditableTextUses:2Used by:12
Symbol 12 MovieClipUses:10 11Used by:Timeline
Symbol 13 EditableTextUses:2Used by:Timeline
Symbol 14 EditableTextUses:2Used by:Timeline
Symbol 15 EditableTextUses:2Used by:Timeline
Symbol 16 EditableTextUses:2Used by:Timeline
Symbol 17 EditableTextUses:2Used by:Timeline
Symbol 18 EditableTextUses:2Used by:Timeline
Symbol 19 EditableTextUses:2Used by:Timeline
Symbol 20 EditableTextUses:2Used by:Timeline
Symbol 21 EditableTextUses:2Used by:Timeline
Symbol 22 EditableTextUses:2Used by:Timeline
Symbol 23 EditableTextUses:2Used by:Timeline
Symbol 24 EditableTextUses:2Used by:Timeline
Symbol 25 EditableTextUses:2Used by:Timeline
Symbol 26 EditableTextUses:2Used by:Timeline
Symbol 27 EditableTextUses:2Used by:Timeline
Symbol 28 EditableTextUses:2Used by:Timeline
Symbol 29 EditableTextUses:2Used by:Timeline
Symbol 30 EditableTextUses:2Used by:Timeline
Symbol 31 EditableTextUses:2Used by:Timeline
Symbol 32 EditableTextUses:2Used by:Timeline
Symbol 33 EditableTextUses:2Used by:Timeline
Symbol 34 EditableTextUses:2Used by:Timeline
Symbol 35 EditableTextUses:2Used by:Timeline
Symbol 36 EditableTextUses:2Used by:Timeline
Symbol 37 EditableTextUses:2Used by:Timeline
Symbol 38 EditableTextUses:2Used by:Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 GraphicUsed by:45 46 47 48 51 52 53 54 55 56
Symbol 41 GraphicUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:41 42Used by:45 46 47 48 51 52 53 54 55 56
Symbol 44 GraphicUsed by:45 46 47 48 51 52 53 54 55 56
Symbol 45 MovieClipUses:40 43 44Used by:Timeline
Symbol 46 MovieClipUses:40 43 44Used by:Timeline
Symbol 47 MovieClipUses:40 43 44Used by:Timeline
Symbol 48 MovieClipUses:40 43 44Used by:Timeline
Symbol 49 GraphicUsed by:50 59 62 63 64 65 66
Symbol 50 ButtonUses:49Used by:Timeline
Symbol 51 MovieClipUses:40 43 44Used by:Timeline
Symbol 52 MovieClipUses:40 43 44Used by:Timeline
Symbol 53 MovieClipUses:40 43 44Used by:Timeline
Symbol 54 MovieClipUses:40 43 44Used by:Timeline
Symbol 55 MovieClipUses:40 43 44Used by:Timeline
Symbol 56 MovieClipUses:40 43 44Used by:Timeline
Symbol 57 GraphicUsed by:61
Symbol 58 EditableTextUses:2Used by:61
Symbol 59 ButtonUses:49Used by:61
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:57 58 59 60Used by:Timeline
Symbol 62 ButtonUses:49Used by:63
Symbol 63 MovieClipUses:49 62Used by:Timeline
Symbol 64 ButtonUses:49Used by:65
Symbol 65 MovieClipUses:49 64Used by:Timeline
Symbol 66 MovieClipUses:49Used by:Timeline
Symbol 67 GraphicUsed by:72
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 ButtonUses:68 69Used by:72
Symbol 71 EditableTextUses:2Used by:72
Symbol 72 MovieClipUses:67 70 71Used by:Timeline
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:Timeline

Instance Names

"selectitem"Frame 2Symbol 72 MovieClip
"line0"Frame 3Symbol 74 MovieClip

Labels

"init"Frame 1
"ui"Frame 2
"exec"Frame 3

Dynamic Text Variables

lSymbol 3 EditableText""
tSymbol 4 EditableText""
xeqSymbol 10 EditableText""
yeqSymbol 11 EditableText""
TextField28Symbol 13 EditableText"Program by Max Abernethy Flecko.net"
TextField11Symbol 15 EditableText"Execute"
initsizeSymbol 19 EditableText"5"
initangleSymbol 23 EditableText"0"
incsizeSymbol 27 EditableText"1"
incangleSymbol 28 EditableText"10"
cdSymbol 33 EditableText"10"
fvSymbol 58 EditableText""
fvSymbol 71 EditableText""




http://swfchan.com/16/75702/info.shtml
Created: 5/4 -2019 22:17:19 Last modified: 5/4 -2019 22:17:19 Server time: 02/05 -2024 06:11:17