Frame 1
quality = "low";
skinDescription = new Object();
skinDescription.items = [];
skinDescription.items.push({p1:"arm1", p2:"hand1", mc:"hand"});
skinDescription.items.push({p1:"neck", p2:"arm1", mc:"arm"});
skinDescription.items.push({p1:"pants", p2:"knee2", mc:"thigh"});
skinDescription.items.push({p1:"knee2", p2:"foot2", mc:"leg"});
skinDescription.items.push({p1:"stomach", p2:"neck", mc:"chest"});
skinDescription.items.push({p1:"neck", p2:"head", mc:"head"});
skinDescription.items.push({p1:"stomach", p2:"pants", mc:"stomach"});
skinDescription.items.push({p1:"knee1", p2:"foot1", mc:"leg"});
skinDescription.items.push({p1:"pants", p2:"knee1", mc:"thigh"});
skinDescription.items.push({p1:"neck", p2:"arm2", mc:"arm"});
skinDescription.items.push({p1:"arm2", p2:"hand2", mc:"hand"});
function Part(p1, p2, mc) {
this.p1 = p1;
this.p2 = p2;
this.mc = mc;
}
function Skin() {
this.parts = [];
}
Skin.prototype.draw = function () {
for (var _local8 in this.parts) {
var _local3 = this.parts[_local8].p1;
var _local2 = this.parts[_local8].p2;
var _local4 = this.parts[_local8].mc;
var _local6 = (_local3.x + _local2.x) * 0.5;
var _local5 = (_local3.y + _local2.y) * 0.5;
var _local7 = Math.atan2(_local3.y - _local2.y, _local3.x - _local2.x);
_local4._x = _local6;
_local4._y = _local5;
_local4._rotation = _local7 * 57.2957795130823;
}
};
function Track() {
this.balls = [];
this.mc = _root.createEmptyMovieClip("balls", 50);
}
_root._xscale = (_root._yscale = 80);
Track.prototype.create = function () {
var _local3 = 0;
while (_local3 < 30) {
var _local2 = this.mc.attachMovie("ball", "ba" + _local3, _local3 + 1);
_local2.x = (_local2._x = random(Stage.width * 4) - (Stage.width / 2));
_local2.y = (_local2._y = random(Stage.height * 4) - (Stage.height / 2));
_local2.rad = random(100) + 30;
_local2._width = (_local2._height = _local2.rad * 2);
this.balls.push(_local2);
_local3++;
}
};
Track.prototype.update = function () {
var _local4 = _root.PEng.particles[0].y - 500;
for (var _local5 in this.balls) {
var _local3 = this.balls[_local5];
if (_local3.y < _local4) {
_local3._y = (_local3.y = (_root.PEng.particles[0].y + 500) + random(700));
_local3._x = (_local3.x = (_root.PEng.particles[0].x + random(1000)) - random(1000));
_local3.rad = random(100) + 30;
_local3._width = (_local3._height = _local3.rad * 2);
}
}
};
function Muscle(p1, p2, restLength, power) {
this.p1 = p1;
this.p2 = p2;
this.restLength = restLength;
this.power = power;
}
function Extractor() {
this.particles = null;
this.constraints = null;
this.skin = null;
this.mc = _root.createEmptyMovieClip("skin", 2);
}
Function.prototype.extend = function (superClass) {
this.prototype.__proto__ = superClass.prototype;
this.prototype.__constructor__ = superClass;
ASSetPropFlags(this.prototype, ["__constructor__"], 1);
};
ASSetPropFlags(Function.prototype, ["extend"], 1);
Extractor.prototype.extract = function (mc) {
this.particles = this.extractParticles(mc);
this.constraints = this.extractConstraints(mc, this.particles);
this.skin = this.extractSkin(mc, _root.skinDescription);
mc.removeMovieClip();
};
Extractor.prototype.extractSkin = function (mc, d) {
var _local12 = new Skin();
var _local10 = 0;
for (var _local13 in d.items) {
var _local3 = d.items[_local13];
var _local7 = _local3.p1;
var _local6 = _local3.p2;
var _local4 = null;
var _local5 = null;
for (var _local13 in this.particles) {
var _local2 = this.particles[_local13];
if (_local2.orgMC._name == _local7) {
_local4 = _local2;
}
if (_local2.orgMC._name == _local6) {
_local5 = _local2;
}
}
_local10++;
mc = this.mc.attachMovie(_local3.mc, _local3.mc + _local10, _local10);
var _local9 = new Part(_local4, _local5, mc);
_local12.parts.push(_local9);
}
return(_local12);
};
Extractor.prototype.extractParticles = function (mc) {
var _local6 = [];
for (var _local7 in mc) {
if (typeof(mc[_local7]) == "movieclip") {
if (mc[_local7].is == "particle") {
var _local1 = mc[_local7];
var _local5 = _local1._x;
var _local4 = _local1._y;
var _local2 = new Particle2D(_local5, _local4);
if (_local1.mass) {
_local2.mass = _local1.mass;
} else {
_local2.mass = 1;
}
_local2.orgMC = _local1;
_local6.push(_local2);
}
}
}
return(_local6);
};
Extractor.prototype.extractConstraints = function (mc, parray) {
var _local16 = [];
for (var _local17 in mc) {
if (typeof(mc[_local17]) == "movieclip") {
if ((mc[_local17].is == "constraint") || (mc[_local17].is == "angledConstraint")) {
var _local2 = mc[_local17];
var _local9 = _local2._x;
var _local7 = _local2._y;
var _local11 = _local2._rotation / 57.2957795130823;
var _local8 = _local2._xscale;
var _local13 = _local9 + (Math.cos(_local11) * _local8);
var _local12 = _local7 + (Math.sin(_local11) * _local8);
var _local5 = this.findParticle(_local9, _local7, parray);
var _local4 = this.findParticle(_local13, _local12, parray);
var _local10 = this.getDist(_local5, _local4);
if (_local2.is == "angledConstraint") {
var _local15 = this.findParticle(_local2.p3._x, _local2.p3._y, parray);
var _local6 = new AngledConstraint(_local5, _local4, _local10, _local15, _local2.minang, _local2.maxang);
if (_local2.inversed) {
_local6.inversed = true;
}
_local16.push(_local6);
} else {
_local16.push(new Constraint(_local5, _local4, _local10));
}
}
}
}
return(_local16);
};
Extractor.prototype.extractMC = function (mc) {
this.particles = this.extractParticles(mc);
this.constraints = this.extractConstraints(mc, this.particles);
mc.removeMovieClip();
};
Extractor.prototype.getDist = function (p1, p2) {
var _local1 = p1.x - p2.x;
var _local2 = p1.y - p2.y;
var _local3 = Math.sqrt((_local1 * _local1) + (_local2 * _local2));
return(_local3);
};
Extractor.prototype.findParticle = function (x, y, ar) {
var _local5 = 10000000000;
var _local7 = null;
for (var _local8 in ar) {
var _local1 = ar[_local8];
var _local2 = x - _local1.x;
var _local4 = y - _local1.y;
var _local3 = (_local2 * _local2) + (_local4 * _local4);
if (_local3 < _local5) {
_local5 = _local3;
_local7 = _local1;
}
}
return(_local7);
};
MovieClip.prototype.getMC = function (id) {
if (this.lastDepth) {
this.lastDepth++;
} else {
this.lastDepth = 1;
}
var _local3 = (id + "Instance") + this.lastDepth;
var _local2 = this.attachMovie(id, _local3, this.lastDepth);
if (_local2) {
return(_local2);
}
return(false);
};
function Constraint(p1, p2, restLength) {
this.p1 = p1;
this.p2 = p2;
this.restLength = restLength;
}
function AngledConstraint(p1, p2, restLength, p3, minang, maxang) {
this.p1 = p1;
this.p2 = p2;
this.restLength = restLength;
this.p3 = p3;
this.minang = minang;
this.maxang = maxang;
this.isAngled = true;
}
function Joint(p1, p2, p3, dst12, dst23, minang, maxang) {
this.p1 = p1;
this.p2 = p2;
this.p3 = p3;
this.dst12 = dst12;
this.dst23 = dst23;
this.minang = minang;
this.maxang = maxang;
this.c1 = new Constraint(p1, p2, dst12);
this.c2 = new Constraint(p2, p3, dst23);
}
function Particle2D(x, y) {
this.x = x;
this.y = y;
this.xf = 0;
this.yf = 0;
this.oldx = x;
this.oldy = y;
this.rad = 1;
this.mass = 1;
}
function MCParticle(x, y, mc) {
super(x, y);
this.mc = mc;
this.defaultSize = 100;
}
MCParticle.extend(Particle2D);
function PEngine2D() {
this.MAXPARTICLES = 256;
this.oldTime = getTimer();
this.speed = 1;
this.particles = [];
this.mc = _root;
this.pdepth = 0;
this.gravity = 0.0011;
this.fric = 0.9993;
this.minx = (-Stage.width) / 2;
this.miny = (-Stage.height) / 2;
this.maxx = Stage.width / 2;
this.maxy = Stage.height / 2;
this.onHold = null;
this.constraints = [];
this.angledConstraints = [];
this.muscles = [];
}
PEngine2D.prototype.addConstraint = function (c) {
this.constraints.push(c);
};
PEngine2D.prototype.addAngledConstraint = function (c) {
this.angledConstraints.push(c);
};
PEngine2D.prototype.addParticle = function (p) {
if (this.particles.length > this.MAXPARTICLES) {
this.removeParticle(0);
}
this.particles.push(p);
};
PEngine2D.prototype.removeParticle = function (index) {
var _local2 = this.particles[index];
_local2.mc.removeMovieClip();
this.particles.splice(index, 1);
};
PEngine2D.prototype.verlet = function () {
var _local5 = this.timeFactor;
var _local6 = this.particles;
var _local7 = Math.pow(this.fric, _local5);
for (var _local8 in _local6) {
var _local2 = _local6[_local8];
var _local3 = _local2.x;
var _local4 = _local2.y;
_local2.x = _local2.x + ((_local2.x - _local2.oldx) * _local7);
_local2.y = _local2.y + (((_local2.y - _local2.oldy) * _local7) + ((this.gravity * _local5) * _local5));
_local2.oldx = _local3;
_local2.oldy = _local4;
}
};
PEngine2D.prototype.constrain = function () {
var _local2 = this.constraints;
var _local3 = this.angledConstraints;
for (var _local4 in _local3) {
this.satisfyAngConstraint(_local3[_local4]);
}
for (var _local4 in _local2) {
this.satisfyConstraint(_local2[_local4]);
}
};
PEngine2D.prototype.satisfyConstraint = function (c) {
var _local2 = c.p1;
var _local1 = c.p2;
var _local10 = c.restLength;
var _local3 = _local2.x - _local1.x;
var _local5 = _local2.y - _local1.y;
var _local4 = Math.sqrt((_local3 * _local3) + (_local5 * _local5));
var _local6 = _local2.mass + _local1.mass;
var _local13 = _local2.mass / _local6;
var _local12 = _local1.mass / _local6;
rl2 = _local4 + ((_local10 - _local4) * 1);
var _local7 = ((_local4 - rl2) / _local4) * 0.5;
var _local9 = _local7 * _local13;
var _local8 = _local7 * _local12;
_local2.x = _local2.x - (_local3 * _local8);
_local2.y = _local2.y - (_local5 * _local8);
_local1.x = _local1.x + (_local3 * _local9);
_local1.y = _local1.y + (_local5 * _local9);
};
PEngine2D.prototype.collision = function () {
var _local9 = this.particles;
var _local8 = this.track.balls;
for (var _local10 in _local9) {
var _local5 = _local9[_local10];
for (var _local10 in _local8) {
var _local2 = _local8[_local10];
var _local3 = _local5.x - _local2.x;
var _local4 = _local5.y - _local2.y;
var _local6 = Math.sqrt((_local3 * _local3) + (_local4 * _local4));
var _local7 = _local2.rad + _local5.rad;
if (_local6 < _local7) {
_local3 = _local3 / _local6;
_local4 = _local4 / _local6;
_local5.x = _local2.x + (_local3 * _local7);
_local5.y = _local2.y + (_local4 * _local7);
}
}
}
};
PEngine2D.prototype.update = function () {
this.timeFactor = this.getTimeFactor();
this.verlet();
this.hold();
var _local2 = 0;
while (_local2 < 2) {
this.constrain();
this.collision();
_local2++;
}
};
PEngine2D.prototype.hold = function () {
if (this.onHold != null) {
for (var _local4 in this.onHold) {
var _local3 = this.onHold[_local4];
_local3.x = _local3.x + ((_root._xmouse - _local3.x) * 0.3);
_local3.y = _local3.y + ((_root._ymouse - _local3.y) * 0.3);
}
}
};
PEngine2D.prototype.forces = function () {
var _local2 = this.particles;
for (var _local3 in _local2) {
}
};
PEngine2D.prototype.getTimeFactor = function () {
var _local3 = getTimer();
var _local2 = _local3 - this.oldTime;
this.oldTime = _local3;
if (_local2 > 40) {
_local2 = 40;
}
return(_local2 * this.speed);
};
PEngine2D.prototype.paint = function () {
var _local3 = this.particles;
for (var _local4 in _local3) {
var _local2 = _local3[_local4];
_local2.mc._x = _local2.x;
_local2.mc._y = _local2.y;
}
};
PEngine2D.prototype.paintLines = function () {
var _local5 = this.angledConstraints;
var _local10 = _root;
_local10.clear();
_local10.lineStyle(20, 16711680, 30);
for (var _local11 in _local5) {
var _local4 = _local5[_local11].p1;
var _local3 = _local5[_local11].p2;
var _local9 = _local4.x;
var _local7 = _local4.y;
var _local8 = _local3.x;
var _local6 = _local3.y;
_local10.moveTo(_local9, _local7);
_local10.lineTo(_local8, _local6);
}
};
PEngine2D.prototype.shake = function () {
for (var _local2 in this.particles) {
this.particles[_local2].x = this.particles[_local2].x + ((Math.random() - Math.random()) * 45);
this.particles[_local2].y = this.particles[_local2].y + (((Math.random() - Math.random()) * 25) - 25);
}
};
PEngine2D.prototype.satisfyAngConstraint = function (c) {
var _local5 = c.p1;
var _local4 = c.p2;
var _local15 = c.p3;
var _local12 = Math.atan2(_local4.y - _local5.y, _local4.x - _local5.x);
var _local18 = Math.atan2(_local15.y - _local4.y, _local15.x - _local4.x);
var _local1 = _local12 - _local18;
while (_local1 > Math.PI) {
_local1 = _local1 - (Math.PI*2);
}
while (_local1 < -3.14159265358979) {
_local1 = _local1 + (Math.PI*2);
}
var _local6 = c.restLength;
var _local13 = _local5.mass + _local4.mass;
var _local14 = _local5.mass / _local13;
var _local7 = _local4.mass / _local13;
var _local16 = 0;
var _local17 = (c.maxang + c.minang) / 2;
if (c.inversed) {
if ((_local1 > c.minang) && (_local1 < _local17)) {
_local16 = c.minang - _local1;
}
if ((_local1 < c.maxang) && (_local1 > _local17)) {
_local16 = c.maxang - _local1;
}
} else {
var _local8 = (c.maxang - c.minang) / 2;
var _local19 = (c.maxang + c.minang) / 2;
var _local2 = _local19 - _local1;
while (_local2 > Math.PI) {
_local2 = _local2 - (Math.PI*2);
}
while (_local2 < -3.14159265358979) {
_local2 = _local2 + (Math.PI*2);
}
if (_local2 > _local8) {
_local16 = _local2 - _local8;
} else if (_local2 < (-_local8)) {
_local16 = _local2 + _local8;
} else {
_local16 = 0;
}
}
var _local9 = (_local16 * 0.3) + _local12;
var _local11 = _local5.x + ((_local4.x - _local5.x) * _local7);
var _local10 = _local5.y + ((_local4.y - _local5.y) * _local7);
_local5.x = _local11 + ((Math.cos(_local9 + Math.PI) * _local6) * _local7);
_local5.y = _local10 + ((Math.sin(_local9 + Math.PI) * _local6) * _local7);
_local4.x = _local11 + ((Math.cos(_local9) * _local6) * _local14);
_local4.y = _local10 + ((Math.sin(_local9) * _local6) * _local14);
};
PEngine2D.prototype.useMuscle = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _local11 = _local2.x - _local1.x;
var _local13 = _local2.y - _local1.y;
var _local12 = Math.atan2(_local13, _local11);
var _local8 = _local1.mass + _local2.mass;
var _local14 = _local1.mass / _local8;
var _local5 = _local2.mass / _local8;
var _local10 = _local5 * c.restLength;
var _local9 = _local14 * c.restLength;
var _local7 = _local1.x + ((_local2.x - _local1.x) * _local5);
var _local6 = _local1.y + ((_local2.y - _local1.y) * _local5);
var _local3 = c.power + _local12;
_local1.x = _local7 + (Math.cos(_local3 + Math.PI) * _local10);
_local1.y = _local6 + (Math.sin(_local3 + Math.PI) * _local10);
_local2.x = _local7 + (Math.cos(_local3) * _local9);
_local2.y = _local6 + (Math.sin(_local3) * _local9);
};
PEngine2D.prototype.hackContraint = function (c) {
var _local6 = c.p1;
var _local5 = c.p2;
var _local16 = c.p3;
var _local13 = Math.atan2(_local5.y - _local6.y, _local5.x - _local6.x);
var _local19 = Math.atan2(_local16.y - _local5.y, _local16.x - _local5.x);
var _local2 = _local13 - _local19;
while (_local2 > Math.PI) {
_local2 = _local2 - (Math.PI*2);
}
while (_local2 < -3.14159265358979) {
_local2 = _local2 + (Math.PI*2);
}
var _local7 = c.restLength;
var _local14 = _local6.mass + _local5.mass;
var _local15 = _local6.mass / _local14;
var _local8 = _local5.mass / _local14;
var _local17 = 0;
var _local18 = (c.maxang + c.minang) / 2;
if (c.inversed) {
if ((_local2 > c.minang) && (_local2 < _local18)) {
_local17 = c.minang - _local2;
}
if ((_local2 < c.maxang) && (_local2 > _local18)) {
_local17 = c.maxang - _local2;
}
} else {
var _local9 = (c.maxang - c.minang) / 2;
var _local20 = (c.maxang + c.minang) / 2;
var _local3 = _local20 - _local2;
while (_local3 > Math.PI) {
_local3 = _local3 - (Math.PI*2);
}
while (_local3 < -3.14159265358979) {
_local3 = _local3 + (Math.PI*2);
}
if (_local3 > _local9) {
_local17 = _local3 - _local9;
} else if (_local3 < (-_local9)) {
_local17 = _local3 + _local9;
} else {
_local17 = 0;
}
}
var _local10 = (_local17 * 0.3) + _local13;
var _local12 = _local6.x + ((_local5.x - _local6.x) * _local8);
var _local11 = _local6.y + ((_local5.y - _local6.y) * _local8);
_local6.x = _local12 + ((Math.cos(_local10 + Math.PI) * _local7) * _local8);
_local6.y = _local11 + ((Math.sin(_local10 + Math.PI) * _local7) * _local8);
_local6.y = ((_local6.y > this.maxy) ? (this.maxy) : (_local6.y));
_local5.x = _local12 + ((Math.cos(_local10) * _local7) * _local15);
_local5.y = _local11 + ((Math.sin(_local10) * _local7) * _local15);
_local5.y = ((_local5.y > this.maxy) ? (this.maxy) : (_local5.y));
};
_root.attachMovie("guy", "guy", 1);
_root._x = Stage.width * 0.5;
_root._y = Stage.height * 0.5;
Frame 2
PEng = new PEngine2D();
E = new Extractor();
E.extract(_root.guy);
var ukko = _root.createEmptyMovieClip("ukko", 1);
for (var i in E.particles) {
var pa = E.particles[i];
var mc = ukko.getMC("ball");
var p = new MCParticle(pa.x, pa.y, mc);
pa.matchingParticle = p;
p.mass = pa.mass;
p.mc._xscale = (p.mc._yscale = p.mass * 100);
p.rad = p.mass * 12;
PEng.addParticle(p);
}
for (var i in E.skin.parts) {
var pa = E.skin.parts[i];
pa.p1 = pa.p1.matchingParticle;
pa.p2 = pa.p2.matchingParticle;
}
for (var i in E.constraints) {
var c = E.constraints[i];
if (c.isAngled) {
var nc = new AngledConstraint(c.p1.matchingParticle, c.p2.matchingParticle, c.restLength, c.p3.matchingParticle, c.minang, c.maxang);
if (c.inversed == true) {
nc.inversed = true;
}
PEng.addAngledConstraint(nc);
} else {
var nc = new Constraint(c.p1.matchingParticle, c.p2.matchingParticle, c.restLength);
PEng.addConstraint(nc);
}
}
var track = new Track();
track.create();
PEng.track = track;
xv = (yv = 0);
var skin = E.skin;
_root.onEnterFrame = function () {
PEng.update();
track.update();
skin.draw();
if ((PEng.onHold == null) || (PEng.onHold.length == 0)) {
xv = xv + ((((Stage.width * 0.5) - ((PEng.particles[0].x * _root._xscale) * 0.01)) - _root._x) * 0.05);
yv = yv + (((((Stage.height * 0.5) - ((PEng.particles[0].y * _root._yscale) * 0.01)) - 100) - _root._y) * 0.05);
xv = xv * 0.8;
yv = yv * 0.8;
_root._x = _root._x + xv;
_root._y = _root._y + yv;
}
if (Key.isDown(39)) {
PEng.speed = PEng.speed + 0.01;
PEng.speed = ((PEng.speed > 3) ? 3 : (PEng.speed));
}
if (Key.isDown(37)) {
PEng.speed = PEng.speed - 0.01;
PEng.speed = PEng.speed * (PEng.speed > 0);
}
};
stop();
_root.onMouseDown = function () {
var _local5 = [];
var _local6 = _root._xmouse;
var _local7 = _root._ymouse;
for (var _local8 in PEng.particles) {
var _local2 = PEng.particles[_local8];
var _local3 = _local6 - _local2.x;
var _local4 = _local7 - _local2.y;
if (((_local3 * _local3) + (_local4 * _local4)) < 1500) {
_local5.push(_local2);
}
}
PEng.onHold = _local5;
};
_root.onMouseUp = function () {
PEng.onHold = null;
};
Instance of Symbol 2 MovieClip "knee1" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 2 MovieClip "foot1" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 2 MovieClip "knee2" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 2 MovieClip "foot2" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 2 MovieClip "pants" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1.1;
}
Instance of Symbol 2 MovieClip "stomach" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 2 MovieClip "head" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 2 MovieClip "arm2" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 2 MovieClip "hand2" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 2 MovieClip "arm1" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 2 MovieClip "hand1" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 2 MovieClip "neck" in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.5;
this.maxang = 1;
this.p3 = _parent.head;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1;
this.maxang = 0.5;
this.p3 = _parent.stomach;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand1;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand2;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.pants;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.neck;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot1;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot2;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee2;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee1;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = 0;
this.maxang = (Math.PI/2);
this.p3 = _parent.stomach;
this.inversed = true;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = 0;
this.maxang = (Math.PI/2);
this.p3 = _parent.stomach;
this.inversed = true;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.5707963267949;
this.maxang = 0;
this.p3 = _parent.arm2;
this.inversed = true;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.5707963267949;
this.maxang = 0;
this.p3 = _parent.arm1;
this.inversed = true;
}