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

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

opai.swf

This is the info page for
Flash #87070

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


ActionScript [AS1/AS2]
Frame 1
if (_root.getBytesLoaded() == _root.getBytesTotal()) { _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 > 50) { 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) { trace(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:149.25, _y:355.2}, {_x:139.35, _y:385.5}, {_x:127.35, _y:414.6}, {_x:103.15, _y:444.75}, {_x:97.95, _y:490.35}, {_x:96.4, _y:535.85}, {_x:157.35, _y:555.3}, {_x:214.7, _y:561.9}, {_x:243.6, _y:517.9}, {_x:271.7, _y:474.3}, {_x:259.1, _y:412.45}, {_x:215.35, _y:376.35}]; var d_p2 = [{_x:97.95, _y:490.35}, {_x:102.4, _y:522.5}, {_x:131.3, _y:515.1}, {_x:150.9, _y:506}, {_x:170.35, _y:520.1}, {_x:194.4, _y:530.5}, {_x:217.85, _y:516.1}, {_x:252.9, _y:485.5}, {_x:259.1, _y:412.45}, {_x:271.7, _y:474.3}, {_x:243.6, _y:517.9}, {_x:214.7, _y:561.9}, {_x:157.35, _y:555.3}, {_x:96.4, _y:535.85}]; var d_p3 = [{_x:163.75, _y:408.7}, {_x:153.35, _y:405.85}, {_x:146.25, _y:421.7}, {_x:137.35, _y:438.35}, {_x:146.75, _y:444.2}, {_x:155.85, _y:448.85}, {_x:166.25, _y:433.7}, {_x:176.35, _y:414.35}]; var draw_1 = {line_color:0, line_alpha:100, fill_color:16769220, points:d_p1, fixed:[0, 10]}; var draw_2 = {line_color:16626566, line_alpha:0, fill_color:16626566, points:d_p2}; 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:270.25, _y:411.15}, {_x:269.75, _y:471.35}, {_x:289, _y:500.8}, {_x:324.6, _y:548.7}, {_x:379.4, _y:540.15}, {_x:420.5, _y:527.55}, {_x:430.05, _y:476.65}, {_x:432.5, _y:438.55}, {_x:399.9, _y:401.2}, {_x:369.1, _y:367.7}, {_x:363.35, _y:348.6}, {_x:314.65, _y:380.85}]; var d_p5 = [{_x:270.25, _y:411.15}, {_x:278.85, _y:447.8}, {_x:297.05, _y:472.4}, {_x:313.9, _y:494.65}, {_x:335.45, _y:501.75}, {_x:350.2, _y:507.05}, {_x:365.65, _y:498.2}, {_x:383.85, _y:487}, {_x:397.65, _y:496.2}, {_x:416.2, _y:505.55}, {_x:430.05, _y:476.65}, {_x:420.5, _y:527.55}, {_x:379.4, _y:540.15}, {_x:324.6, _y:548.7}, {_x:289, _y:500.8}, {_x:269.75, _y:471.35}]; var d_p6 = [{_x:349.05, _y:393.9}, {_x:341.2, _y:400.7}, {_x:348.35, _y:418.8}, {_x:359.7, _y:437.05}, {_x:369.05, _y:430.75}, {_x:376.15, _y:426.05}, {_x:370.3, _y:407.8}, {_x:361.2, _y:390.7}]; var draw_4 = {line_color:0, line_alpha:100, fill_color:16769220, points:d_p4, fixed:[0, 10]}; var draw_5 = {line_color:16626566, line_alpha:0, fill_color:16626566, points:d_p5}; 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.canvas, [draw_4, draw_5, draw_6]); var eye_r = new eyeball(_root.eye_r, 3); var eye_l = new eyeball(_root.eye_l, 3); var my_tits = new tits(pai_r, pai_l, eye_r, 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:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed 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:Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:Timeline

Instance Names

"eye_l"Frame 2Symbol 4 MovieClip
"eye_r"Frame 2Symbol 6 MovieClip
"canvas"Frame 2Symbol 10 MovieClip
"canvas2"Frame 2Symbol 10 MovieClip
"nip_r"Frame 2Symbol 14 MovieClip
"nip_l"Frame 2Symbol 16 MovieClip




http://swfchan.com/18/87070/info.shtml
Created: 30/3 -2019 03:59:37 Last modified: 30/3 -2019 03:59:37 Server time: 02/05 -2024 00:53:33