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

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

opai3.swf

This is the info page for
Flash #87068

(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 > 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) { 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))) + 10; }; eyeball.prototype.reset_pos = function () { this.mc._x = this.pos._x; this.mc._y = this.pos._y; }; var d_p1 = [{_x:190, _y:342}, {_x:102, _y:416.75}, {_x:106.25, _y:474.75}, {_x:117.5, _y:540.25}, {_x:173.75, _y:560}, {_x:234, _y:569.25}, {_x:274.75, _y:522.25}, {_x:300.75, _y:483.75}, {_x:292, _y:422}, {_x:278.75, _y:315.5}]; var d_p2 = [{_x:185, _y:545.25}, {_x:126, _y:539.25}, {_x:106.25, _y:474.75}, {_x:117.5, _y:540.25}, {_x:173.75, _y:560}, {_x:234, _y:569.25}, {_x:274.75, _y:522.25}, {_x:300.75, _y:483.75}, {_x:292, _y:422}, {_x:288.5, _y:551.75}]; var d_p3 = [{_x:173.6, _y:401.3}, {_x:156.75, _y:390.25}, {_x:144, _y:417.9}, {_x:136.6, _y:448.95}, {_x:169, _y:426.7}, {_x:182.2, _y:412.15}]; var draw_1 = {line_color:10066329, line_alpha:100, fill_color:16706784, points:d_p1, fixed:[0, 8]}; var draw_2 = {line_color:undefined, line_alpha:0, fill_color:15125700, points:d_p2, fixed:[8]}; 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:298.35, _y:404.3}, {_x:288, _y:457}, {_x:295.5, _y:508.15}, {_x:303.85, _y:560.7}, {_x:384, _y:565.45}, {_x:461.7, _y:562.15}, {_x:477.45, _y:487.95}, {_x:496.2, _y:398.2}, {_x:374.45, _y:329.95}, {_x:318.2, _y:337.2}]; var d_p5 = [{_x:298.35, _y:404.3}, {_x:288, _y:457}, {_x:295.5, _y:508.15}, {_x:303.85, _y:560.7}, {_x:384, _y:565.45}, {_x:461.7, _y:562.15}, {_x:477.45, _y:487.95}, {_x:451.7, _y:560.7}, {_x:367.95, _y:550.45}, {_x:287.2, _y:543.7}]; var d_p6 = [{_x:346.85, _y:398.8}, {_x:328.25, _y:414}, {_x:338.75, _y:428.9}, {_x:353.1, _y:435.95}, {_x:368.25, _y:413.7}, {_x:377.7, _y:380.15}]; var draw_4 = {line_color:10066329, line_alpha:100, fill_color:16706784, points:d_p4, fixed:[0, 10]}; var draw_5 = {line_color:undefined, line_alpha:0, fill_color:15125700, points:d_p5, fixed:[0]}; 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:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:Timeline
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:Timeline

Instance Names

"canvas1"Frame 2Symbol 5 MovieClip
"canvas2"Frame 2Symbol 5 MovieClip
"nip_r"Frame 2Symbol 7 MovieClip
"nip_l"Frame 2Symbol 9 MovieClip
"eye_r"Frame 2Symbol 12 MovieClip
"eye_l"Frame 2Symbol 15 MovieClip




http://swfchan.com/18/87068/info.shtml
Created: 30/3 -2019 04:00:37 Last modified: 30/3 -2019 04:00:37 Server time: 28/04 -2024 16:40:56