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

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

1240042604.rayverak_stretch_interaction.swf

This is the info page for
Flash #51584

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


ActionScript [AS1/AS2]
Frame 1
function constraint(particle1, particle2, distance, num) { dist_x = particle1._x - body_pos[num][0]; dist_y = particle1._y - body_pos[num][1]; actual_distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); actual_angle = -Math.atan2(dist_x, dist_y); error = actual_distance - distance; if (error > 0) { error = 0; } particle2._x = body_pos[num][0] - (error * Math.sin(actual_angle)); particle2._y = body_pos[num][1] + (error * Math.cos(actual_angle)); } part_size = 193; var body_pos = new Array(new Array(100, 55), new Array(150, 55), new Array(200, 55), new Array(250, 55), new Array(300, 55), new Array(350, 55), new Array(400, 55), new Array(450, 55), new Array(500, 55), new Array(100, 350), new Array(150, 350), new Array(200, 350), new Array(250, 350), new Array(300, 350), new Array(350, 350), new Array(400, 350), new Array(450, 350), new Array(500, 350)); _root.attachMovie("part", "part1", 1, {_x:10, _y:10}); i = 0; while (i < 18) { _root.attachMovie("body", "body" + (i + 1), 2 + i, {_x:body_pos[i][0], _y:body_pos[i][1]}); i++; } _root.onEnterFrame = function () { part1._x = _root._xmouse; part1._y = _root._ymouse; i = 0; while (i < 18) { constraint(part1, eval ("body" + (i + 1)), part_size, i); i++; } };

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [body]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [part]Uses:3

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "body"
ExportAssets (56)Timeline Frame 1Symbol 4 as "part"




http://swfchan.com/11/51584/info.shtml
Created: 24/4 -2019 20:15:49 Last modified: 24/4 -2019 20:15:49 Server time: 02/05 -2024 18:58:42