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

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

opai2.swf

This is the info page for
Flash #87069

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


ActionScript [AS1/AS2]
Frame 1
_root.onEnterFrame = function () { if (_root.getBytesLoaded() == _root.getBytesTotal()) { _root.onEnterFrame = undefined; _root.gotoAndStop(2); } else { _root.gotoAndPlay(1); } };
Frame 2
function line_point(id, ctrl, canvas, draw_list) { function get_max_dl() { var max_dl = 0; var i = 0; while (i < this_obj.mclist.length) { var point = this_obj.mclist[i]; if (point.dl > max_dl) { max_dl = point.dl; } i++; } return(max_dl); } function getdl(p) { var dx = (p._x - this.ctrl._x); var dy = (p._y - this.ctrl._y); return(Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2))); } function move_dots() { this_obj.owner.move_eyes(); var dx = (this_obj.ctrl._x - this_obj.ctrl.pos._x); var dy = (this_obj.ctrl._y - this_obj.ctrl.pos._y); var dl = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2)); if (dl > 30) { this_obj.ctrl.onRelease(); } var i = 0; while (i < (this_obj.mclist.length - 1)) { var mc = this_obj.mclist[i]; mc._x = mc.pos._x + (dx * mc.def); mc._y = mc.pos._y + (dy * mc.def); i++; } this_obj.drawer.redraw(); } var this_obj = this; this.id = id; this.ctrl = ctrl; this.ctrl.on_drag = false; this.ctrl.pos = {_x:this.ctrl._x, _y:this.ctrl._y}; this.drawer = new drawer(canvas, draw_list); this.mclist = this.drawer.mclist(); this._stop = false; this.owner = undefined; var i = 0; while (i < this.mclist.length) { var point = this.mclist[i]; point.pos = {_x:point._x, _y:point._y}; point.dl = getdl(point); i++; } var max_dl = get_max_dl(); var i = 0; while (i < this.mclist.length) { var point = this.mclist[i]; if (point.def == 0) { } else { point.def = 1 - Math.pow(point.dl / max_dl, 2); } i++; } this.mclist = this.mclist.concat(ctrl); this.ctrl.onPress = function () { this.on_drag = true; this.startDrag(); this.onMouseMove = move_dots; this_obj.owner.switch_pai(this_obj.id); }; this.ctrl.onRelease = function () { this.on_drag = false; this.stopDrag(); this.onMouseMove = undefined; }; this.drawer.draw(); } function drawer(canvas, draw_list) { this.draw_list = draw_list; this.canvas = canvas.createEmptyMovieClip("cvs", Math.floor(Math.random() * 100)); var this_obj = this; this._show = true; var i = 0; while (i < draw_list.length) { var draw_obj = draw_list[i]; var j = 0; while (j < draw_obj.fixed.length) { var n = draw_obj.fixed[j]; draw_obj.points[n].def = 0; j++; } i++; } } function tits(r, l, eye_r, eye_l) { this.r = r; this.l = l; this.eye_r = eye_r; this.eye_l = eye_l; r.set_owner(this); l.set_owner(this); } function eyeball(mc, d) { this.mc = mc; this.d = d; mc.stop(); this.pos = {_x:mc._x, _y:mc._y}; } _root.stop(); _root.nip_l.stop(); _root.nip_r.stop(); line_point.prototype.move_pai = function (d) { if (this.ctrl.on_drag || (this._stop)) { return(undefined); } var i = 0; while (i < this.mclist.length) { var mc = this.mclist[i]; if (d == 0) { mc._x = mc.pos._x; mc._y = mc.pos._y; } var dx = (mc._x - mc.pos._x); var dy = (mc._y - mc.pos._y); var l = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2)); var s = Math.atan2(dy, dx); mc._x = mc._x - ((l * Math.cos(s)) * 1.8); mc._y = mc._y - ((l * Math.sin(s)) * 1.8); this.drawer.redraw(); i++; } }; line_point.prototype._move = function () { this._stop = false; }; line_point.prototype._reset = function () { this._stop = true; this.move_pai(0); }; line_point.prototype.set_owner = function (obj) { this.owner = obj; }; drawer.prototype.draw = function () { var i = 0; while (i < this.draw_list.length) { var draw_obj = this.draw_list[i]; this.canvas.lineStyle(1, draw_obj.line_color, draw_obj.line_alpha); this.canvas.moveTo(draw_obj.points[0]._x, draw_obj.points[0]._y); this.canvas.beginFill(draw_obj.fill_color); var j = 1; while (j < (draw_obj.points.length - 2)) { var ctrl_p = draw_obj.points[j]; var end_p = draw_obj.points[j + 1]; this.canvas.curveTo(ctrl_p._x, ctrl_p._y, end_p._x, end_p._y); j = j + 2; } var last_p = draw_obj.points[0]; var last_ctrl_p = draw_obj.points[draw_obj.points.length - 1]; this.canvas.curveTo(last_ctrl_p._x, last_ctrl_p._y, last_p._x, last_p._y); this.drw.endFill(); i++; } }; drawer.prototype.redraw = function () { this.canvas.clear(); this.draw(); }; drawer.prototype.mclist = function () { var mclist = []; var i = 0; while (i < this.draw_list.length) { mclist = mclist.concat(this.draw_list[i].points); if (this.draw_list[i].start_p != undefined) { mclist = mclist.concat([this.draw_list[i].start_p, this.draw_list[i].end_p]); } i++; } mclist.sort(); var prev = undefined; var mclist_uniq = []; var j = 0; while (j < mclist.length) { if (mclist[j] == prev) { } prev = mclist[j]; mclist_uniq.push(mclist[j]); j++; } return(mclist_uniq); }; drawer.prototype.hide_mcs = function () { var mcs = this.mclist(); var i = 0; while (i < mcs.length) { mcs[i]._visible = false; this._show = false; i++; } }; drawer.prototype.show_mcs = function () { var mcs = this.mclist(); var i = 0; while (i < mcs.length) { mcs[i]._visible = true; this._show = true; i++; } }; drawer.prototype.trace_points = function () { var output; var i = 0; while (i < this.draw_list.length) { output = output + (i + " = {points:["); var draw_obj = this.draw_list[i]; var j = 0; while (j < draw_obj.points.length) { var mc = draw_obj.points[j]; output = output + (((("{_x:" + mc._x) + ",_y:") + mc._y) + "},"); j++; } output = output + "]\n"; i++; } trace(output); }; tits.prototype.switch_pai = function (id) { if (id == "r") { this.r._move(); this.l._reset(); } else { this.l._move(); this.r._reset(); } }; tits.prototype.move_eyes = function () { this.eye_r.look(); this.eye_l.look(); }; tits.prototype.reset_eyes = function () { this.eye_r.reset_pos(); this.eye_l.reset_pos(); }; eyeball.prototype.look = function () { var dx = (_root._xmouse - this.pos._x); var dy = (_root._ymouse - this.pos._y); var s = Math.atan2(dy, dx); this.mc._x = this.pos._x + (this.d * Math.cos(s)); this.mc._y = this.pos._y + (this.d * Math.sin(s)); }; eyeball.prototype.reset_pos = function () { this.mc._x = this.pos._x; this.mc._y = this.pos._y; }; var d_p1 = [{_x:197.9, _y:463.1}, {_x:216.6, _y:529.3}, {_x:277.1, _y:524.75}, {_x:350.9, _y:521}, {_x:362.15, _y:454.55}, {_x:371.1, _y:406.7}, {_x:321, _y:361}, {_x:150.55, _y:300.55}]; var d_p2 = [{_x:197.9, _y:463.1}, {_x:216.6, _y:529.3}, {_x:277.1, _y:524.75}, {_x:350.9, _y:521}, {_x:362.15, _y:454.55}, {_x:324.35, _y:516.2}, {_x:275.5, _y:509.75}, {_x:218, _y:508.25}]; var d_p3 = [{_x:224.1, _y:411.85}, {_x:224.6, _y:441.9}, {_x:244.7, _y:417.55}, {_x:260.2, _y:395.85}, {_x:249.15, _y:387.55}, {_x:233.9, _y:382.85}]; var draw_1 = {line_color:10066329, line_alpha:100, fill_color:16706784, points:d_p1, fixed:[0, 6]}; var draw_2 = {line_color:undefined, line_alpha:0, fill_color:15125700, points:d_p2, fixed:[0]}; var draw_3 = {line_color:16777215, line_alpha:0, fill_color:16777215, points:d_p3}; var pai_r = new line_point("r", _root.nip_r, _root.canvas2, [draw_1, draw_2, draw_3]); var d_p4 = [{_x:310, _y:397}, {_x:331, _y:507.5}, {_x:431, _y:483.5}, {_x:475.5, _y:463}, {_x:479.5, _y:429.5}, {_x:492, _y:369.5}, {_x:429, _y:338.5}, {_x:392.5, _y:325}, {_x:382, _y:312.5}, {_x:321, _y:329}]; var d_p5 = [{_x:310, _y:397}, {_x:331, _y:507.5}, {_x:431, _y:483.5}, {_x:475.5, _y:463}, {_x:479.5, _y:429.5}, {_x:463, _y:473.5}, {_x:398, _y:471.5}, {_x:373.5, _y:471}, {_x:364, _y:425}, {_x:348.5, _y:369.5}, {_x:319.5, _y:355.5}, {_x:257.5, _y:333.5}]; var d_p6 = [{_x:362.4, _y:371.95}, {_x:359, _y:397.95}, {_x:383.7, _y:377.3}, {_x:398.05, _y:354.1}, {_x:382.5, _y:353.35}, {_x:369, _y:356.5}]; var draw_4 = {line_color:10066329, line_alpha:100, fill_color:16706784, points:d_p4, fixed:[0, 8]}; var draw_5 = {line_color:undefined, line_alpha:0, fill_color:15125700, points:d_p5, fixed:[0, 10]}; var draw_6 = {line_color:16777215, line_alpha:0, fill_color:16777215, points:d_p6}; var pai_l = new line_point("l", _root.nip_l, _root.canvas1, [draw_4, draw_5, draw_6]); var obj_eye_r = new eyeball(_root.eye_r, 5); var obj_eye_l = new eyeball(_root.eye_l, 5); var my_tits = new tits(pai_r, pai_l, obj_eye_r, obj_eye_l); _root.onEnterFrame = function () { pai_l.move_pai(); pai_r.move_pai(); };

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:Timeline
Symbol 3 GraphicUsed by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 GraphicUsed by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline

Instance Names

"eye_l"Frame 2Symbol 5 MovieClip
"eye_r"Frame 2Symbol 7 MovieClip
"canvas1"Frame 2Symbol 10 MovieClip
"canvas2"Frame 2Symbol 10 MovieClip
"nip_r"Frame 2Symbol 13 MovieClip
"nip_l"Frame 2Symbol 13 MovieClip




http://swfchan.com/18/87069/info.shtml
Created: 30/3 -2019 04:00:15 Last modified: 30/3 -2019 04:00:15 Server time: 02/05 -2024 11:59:13