Frame 1
function Part(p1, p2, mc) {
var _local1 = this;
_local1.p1 = p1;
_local1.p2 = p2;
_local1.mc = mc;
}
function Skin() {
this.parts = [];
}
function Track() {
this.balls = [];
this.mc = _root.createEmptyMovieClip("balls", 50);
}
function Muscle(p1, p2, restLength, power) {
var _local1 = this;
_local1.p1 = p1;
_local1.p2 = p2;
_local1.restLength = restLength;
_local1.power = power;
}
function Extractor() {
var _local1 = this;
_local1.particles = null;
_local1.constraints = null;
_local1.skin = null;
_local1.mc = _root.createEmptyMovieClip("skin", 2);
}
function Constraint(p1, p2, restLength) {
var _local1 = this;
_local1.p1 = p1;
_local1.p2 = p2;
_local1.restLength = restLength;
}
function AngledConstraint(p1, p2, restLength, p3, minang, maxang) {
var _local1 = this;
_local1.p1 = p1;
_local1.p2 = p2;
_local1.restLength = restLength;
_local1.p3 = p3;
_local1.minang = minang;
_local1.maxang = maxang;
_local1.isAngled = true;
}
function Joint(p1, p2, p3, dst12, dst23, minang, maxang) {
var _local1 = this;
var _local2 = p2;
_local1.p1 = p1;
_local1.p2 = _local2;
_local1.p3 = p3;
_local1.dst12 = dst12;
_local1.dst23 = dst23;
_local1.minang = minang;
_local1.maxang = maxang;
_local1.c1 = new Constraint(p1, _local2, dst12);
_local1.c2 = new Constraint(_local2, p3, dst23);
}
function Particle2D(x, y) {
var _local1 = this;
_local1.x = x;
_local1.y = y;
_local1.xf = 0;
_local1.yf = 0;
_local1.oldx = x;
_local1.oldy = y;
_local1.rad = 1;
_local1.mass = 1;
}
function MCParticle(x, y, mc) {
super(x, y);
this.mc = mc;
this.defaultSize = 100;
}
function PEngine2D() {
var _local1 = this;
_local1.MAXPARTICLES = 256;
_local1.oldTime = getTimer();
_local1.speed = 1;
_local1.particles = [];
_local1.mc = _root;
_local1.pdepth = 0;
_local1.gravity = 0.0011;
_local1.fric = 0.9993;
_local1.minx = (-Stage.width) / 2;
_local1.miny = (-Stage.height) / 2;
_local1.maxx = Stage.width / 2;
_local1.maxy = Stage.height / 2;
_local1.onHold = null;
_local1.constraints = [];
_local1.angledConstraints = [];
_local1.muscles = [];
}
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"});
Skin.prototype.draw = function () {
for (var _loc8 in this.parts) {
var _local1 = this.parts[_loc8].p1;
var _local2 = this.parts[_loc8].p2;
var _local3 = this.parts[_loc8].mc;
var _loc6 = ((_local1.x + _local2.x) * 0.5);
var _loc5 = ((_local1.y + _local2.y) * 0.5);
var _loc7 = Math.atan2(_local1.y - _local2.y, _local1.x - _local2.x);
_local3._x = _loc6;
_local3._y = _loc5;
_local3._rotation = _loc7 * 57.29578;
}
};
_root._xscale = (_root._yscale = 80);
Track.prototype.create = function () {
var _local3 = this;
var _local2 = 0;
while (_local2 < 30) {
var _local1 = _local3.mc.attachMovie("ball", "ba" + _local2, _local2 + 1);
_local1.x = (_local1._x = random(Stage.width * 4) - (Stage.width / 2));
_local1.y = (_local1._y = random(Stage.height * 4) - (Stage.height / 2));
_local1.rad = random(100) + 30;
_local1._width = (_local1._height = _local1.rad * 2);
_local3.balls.push(_local1);
_local2++;
}
};
Track.prototype.update = function () {
var _local2 = _root;
var _local3 = this;
var _loc4 = (_local2.PEng.particles[0].y - 500);
for (var _loc5 in _local3.balls) {
var _local1 = _local3.balls[_loc5];
if (_local1.y < _loc4) {
_local1._y = (_local1.y = (_local2.PEng.particles[0].y + 500) + random(700));
_local1._x = (_local1.x = (_local2.PEng.particles[0].x + random(1000)) - random(1000));
_local1.rad = random(100) + 30;
_local1._width = (_local1._height = _local1.rad * 2);
}
}
};
Function.prototype.extend = function (superClass) {
var _local1 = this;
_local1.prototype.__proto__ = superClass.prototype;
_local1.prototype.__constructor__ = superClass;
ASSetPropFlags(_local1.prototype, ["__constructor__"], 1);
};
ASSetPropFlags(Function.prototype, ["extend"], 1);
Extractor.prototype.extract = function (mc) {
var _local1 = this;
var _local2 = mc;
_local1.particles = _local1.extractParticles(_local2);
_local1.constraints = _local1.extractConstraints(_local2, _local1.particles);
_local1.skin = _local1.extractSkin(_local2, _root.skinDescription);
_local2.removeMovieClip();
};
Extractor.prototype.extractSkin = function (mc, d) {
var _local3 = this;
var _loc12 = new Skin();
var _loc10 = 0;
for (var _loc13 in d.items) {
var _local2 = d.items[_loc13];
var _loc7 = _local2.p1;
var _loc6 = _local2.p2;
var _loc4 = null;
var _loc5 = null;
for (var _loc13 in _local3.particles) {
var _local1 = _local3.particles[_loc13];
if (_local1.orgMC._name == _loc7) {
_loc4 = _local1;
}
if (_local1.orgMC._name == _loc6) {
_loc5 = _local1;
}
}
mc = _local3.mc.attachMovie(_local2.mc, _local2.mc + _loc10, ++_loc10);
var _loc9 = new Part(_loc4, _loc5, mc);
_loc12.parts.push(_loc9);
}
return(_loc12);
};
Extractor.prototype.extractParticles = function (mc) {
var _local3 = mc;
var _loc6 = [];
for (var _loc7 in _local3) {
if (typeof(_local3[_loc7]) == "movieclip") {
if (_local3[_loc7].is == "particle") {
var _local1 = _local3[_loc7];
var _loc5 = _local1._x;
var _loc4 = _local1._y;
var _local2 = new Particle2D(_loc5, _loc4);
if (_local1.mass) {
_local2.mass = _local1.mass;
} else {
_local2.mass = 1;
}
_local2.orgMC = _local1;
_loc6.push(_local2);
}
}
}
return(_loc6);
};
Extractor.prototype.extractConstraints = function (mc, parray) {
var _local2 = mc;
var _loc16 = [];
for (var _loc17 in _local2) {
if (typeof(_local2[_loc17]) == "movieclip") {
if ((_local2[_loc17].is == "constraint") || (_local2[_loc17].is == "angledConstraint")) {
var _local1 = _local2[_loc17];
var _loc9 = _local1._x;
var _loc7 = _local1._y;
var _loc11 = (_local1._rotation / 57.29578);
var _loc8 = _local1._xscale;
var _loc13 = (_loc9 + (Math.cos(_loc11) * _loc8));
var _loc12 = (_loc7 + (Math.sin(_loc11) * _loc8));
var _local3 = this.findParticle(_loc9, _loc7, parray);
var _loc4 = this.findParticle(_loc13, _loc12, parray);
var _loc10 = this.getDist(_local3, _loc4);
if (_local1.is == "angledConstraint") {
var _loc15 = this.findParticle(_local1.p3._x, _local1.p3._y, parray);
var _loc6 = new AngledConstraint(_local3, _loc4, _loc10, _loc15, _local1.minang, _local1.maxang);
if (_local1.inversed) {
_loc6.inversed = true;
}
_loc16.push(_loc6);
continue;
}
_loc16.push(new Constraint(_local3, _loc4, _loc10));
}
}
}
return(_loc16);
};
Extractor.prototype.extractMC = function (mc) {
var _local1 = this;
var _local2 = mc;
_local1.particles = _local1.extractParticles(_local2);
_local1.constraints = _local1.extractConstraints(_local2, _local1.particles);
_local2.removeMovieClip();
};
Extractor.prototype.getDist = function (p1, p2) {
var _local2 = p1.x - p2.x;
var _local1 = p1.y - p2.y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
return(_local3);
};
Extractor.prototype.findParticle = function (x, y, ar) {
var _loc5 = 10000000000;
var _loc7 = null;
for (var _loc8 in ar) {
var _local1 = ar[_loc8];
var _loc2 = (x - _local1.x);
var _local2 = y - _local1.y;
var _local3 = (_loc2 * _loc2) + (_local2 * _local2);
if (_local3 < _loc5) {
_loc5 = _local3;
_loc7 = _local1;
}
}
return(_loc7);
};
MovieClip.prototype.getMC = function (id) {
var _local1 = this;
if (_local1.lastDepth) {
_local1.lastDepth++;
} else {
_local1.lastDepth = 1;
}
var _local3 = (id + "Instance") + _local1.lastDepth;
var _local2 = _local1.attachMovie(id, _local3, _local1.lastDepth);
if (_local2) {
return(_local2);
}
return(false);
};
MCParticle.extend(Particle2D);
PEngine2D.prototype.addConstraint = function (c) {
this.constraints.push(c);
};
PEngine2D.prototype.addAngledConstraint = function (c) {
this.angledConstraints.push(c);
};
PEngine2D.prototype.addParticle = function (p) {
var _local1 = this;
if (_local1.particles.length > _local1.MAXPARTICLES) {
_local1.removeParticle(0);
}
_local1.particles.push(p);
};
PEngine2D.prototype.removeParticle = function (index) {
var _local1 = this.particles[index];
_local1.mc.removeMovieClip();
this.particles.splice(index, 1);
};
PEngine2D.prototype.verlet = function () {
var _loc5 = this.timeFactor;
var _loc6 = this.particles;
var _loc7 = Math.pow(this.fric, _loc5);
for (var _loc8 in _loc6) {
var _local1 = _loc6[_loc8];
var _local3 = _local1.x;
var _local2 = _local1.y;
_local1.x = _local1.x + ((_local1.x - _local1.oldx) * _loc7);
_local1.y = _local1.y + (((_local1.y - _local1.oldy) * _loc7) + ((this.gravity * _loc5) * _loc5));
_local1.oldx = _local3;
_local1.oldy = _local2;
}
};
PEngine2D.prototype.constrain = function () {
var _local1 = this;
var _local3 = _local1.constraints;
var _local2 = _local1.angledConstraints;
for (var _loc4 in _local2) {
_local1.satisfyAngConstraint(_local2[_loc4]);
}
for (var _loc4 in _local3) {
_local1.satisfyConstraint(_local3[_loc4]);
}
};
PEngine2D.prototype.satisfyConstraint = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _loc10 = c.restLength;
var _loc3 = (_local1.x - _local2.x);
var _local3 = _local1.y - _local2.y;
var _loc4 = Math.sqrt((_loc3 * _loc3) + (_local3 * _local3));
var _loc6 = (_local1.mass + _local2.mass);
var _loc13 = (_local1.mass / _loc6);
var _loc12 = (_local2.mass / _loc6);
rl2 = _loc4 + ((_loc10 - _loc4) * 1);
var _loc7 = (((_loc4 - rl2) / _loc4) * 0.5);
var _loc9 = (_loc7 * _loc13);
var _loc8 = (_loc7 * _loc12);
_local1.x = _local1.x - (_loc3 * _loc8);
_local1.y = _local1.y - (_local3 * _loc8);
_local2.x = _local2.x + (_loc3 * _loc9);
_local2.y = _local2.y + (_local3 * _loc9);
};
PEngine2D.prototype.collision = function () {
var _loc9 = this.particles;
var _loc8 = this.track.balls;
for (var _loc10 in _loc9) {
var _loc5 = _loc9[_loc10];
for (var _loc10 in _loc8) {
var _local3 = _loc8[_loc10];
var _local2 = _loc5.x - _local3.x;
var _local1 = _loc5.y - _local3.y;
var _loc6 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
var _loc7 = (_local3.rad + _loc5.rad);
if (_loc6 < _loc7) {
_local2 = _local2 / _loc6;
_local1 = _local1 / _loc6;
_loc5.x = _local3.x + (_local2 * _loc7);
_loc5.y = _local3.y + (_local1 * _loc7);
}
}
}
};
PEngine2D.prototype.update = function () {
var _local2 = this;
_local2.timeFactor = _local2.getTimeFactor();
_local2.verlet();
_local2.hold();
var _local1 = 0;
while (_local1 < 2) {
_local2.constrain();
_local2.collision();
_local1++;
}
};
PEngine2D.prototype.hold = function () {
var _local2 = this;
var _local3 = _root;
if (_local2.onHold != null) {
for (var _loc4 in _local2.onHold) {
var _local1 = _local2.onHold[_loc4];
_local1.x = _local1.x + ((_local3._xmouse - _local1.x) * 0.3);
_local1.y = _local1.y + ((_local3._ymouse - _local1.y) * 0.3);
}
}
};
PEngine2D.prototype.forces = function () {
var _local1 = this.particles;
for (var _local2 in _local1) {
}
};
PEngine2D.prototype.getTimeFactor = function () {
var _local3 = this;
var _local2 = getTimer();
var _local1 = _local2 - _local3.oldTime;
_local3.oldTime = _local2;
if (_local1 > 40) {
_local1 = 40;
}
return(_local1 * _local3.speed);
};
PEngine2D.prototype.paint = function () {
var _local2 = this.particles;
for (var _local3 in _local2) {
var _local1 = _local2[_local3];
_local1.mc._x = _local1.x;
_local1.mc._y = _local1.y;
}
};
PEngine2D.prototype.paintLines = function () {
var _local3 = this.angledConstraints;
var _loc10 = _root;
_loc10.clear();
_loc10.lineStyle(20, 16711680, 30);
for (var _loc11 in _local3) {
var _local1 = _local3[_loc11].p1;
var _local2 = _local3[_loc11].p2;
var _loc9 = _local1.x;
var _loc7 = _local1.y;
var _loc8 = _local2.x;
var _loc6 = _local2.y;
_loc10.moveTo(_loc9, _loc7);
_loc10.lineTo(_loc8, _loc6);
}
};
PEngine2D.prototype.shake = function () {
var _local1 = this;
for (var _local2 in _local1.particles) {
_local1.particles[_local2].x = _local1.particles[_local2].x + ((Math.random() - Math.random()) * 45);
_local1.particles[_local2].y = _local1.particles[_local2].y + (((Math.random() - Math.random()) * 25) - 25);
}
};
PEngine2D.prototype.satisfyAngConstraint = function (c) {
var _local3 = c;
var _loc5 = _local3.p1;
var _loc4 = _local3.p2;
var _loc15 = _local3.p3;
var _loc12 = Math.atan2(_loc4.y - _loc5.y, _loc4.x - _loc5.x);
var _loc18 = Math.atan2(_loc15.y - _loc4.y, _loc15.x - _loc4.x);
var _local1 = _loc12 - _loc18;
while (_local1 > 3.141593) {
_local1 = _local1 - 6.283185;
}
while (_local1 < -3.141593) {
_local1 = _local1 + 6.283185;
}
var _loc6 = _local3.restLength;
var _loc13 = (_loc5.mass + _loc4.mass);
var _loc14 = (_loc5.mass / _loc13);
var _loc7 = (_loc4.mass / _loc13);
var _loc16 = 0;
var _loc17 = ((_local3.maxang + _local3.minang) / 2);
if (_local3.inversed) {
if ((_local1 > _local3.minang) && (_local1 < _loc17)) {
_loc16 = _local3.minang - _local1;
}
if ((_local1 < _local3.maxang) && (_local1 > _loc17)) {
_loc16 = _local3.maxang - _local1;
}
} else {
var _loc8 = ((_local3.maxang - _local3.minang) / 2);
var _loc19 = ((_local3.maxang + _local3.minang) / 2);
var _local2 = _loc19 - _local1;
while (_local2 > 3.141593) {
_local2 = _local2 - 6.283185;
}
while (_local2 < -3.141593) {
_local2 = _local2 + 6.283185;
}
if (_local2 > _loc8) {
_loc16 = _local2 - _loc8;
} else if (_local2 < (-_loc8)) {
_loc16 = _local2 + _loc8;
} else {
_loc16 = 0;
}
}
var _loc9 = ((_loc16 * 0.3) + _loc12);
var _loc11 = (_loc5.x + ((_loc4.x - _loc5.x) * _loc7));
var _loc10 = (_loc5.y + ((_loc4.y - _loc5.y) * _loc7));
_loc5.x = _loc11 + ((Math.cos(_loc9 + 3.141593) * _loc6) * _loc7);
_loc5.y = _loc10 + ((Math.sin(_loc9 + 3.141593) * _loc6) * _loc7);
_loc4.x = _loc11 + ((Math.cos(_loc9) * _loc6) * _loc14);
_loc4.y = _loc10 + ((Math.sin(_loc9) * _loc6) * _loc14);
};
PEngine2D.prototype.useMuscle = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _loc11 = (_local2.x - _local1.x);
var _loc13 = (_local2.y - _local1.y);
var _loc12 = Math.atan2(_loc13, _loc11);
var _loc8 = (_local1.mass + _local2.mass);
var _loc14 = (_local1.mass / _loc8);
var _loc5 = (_local2.mass / _loc8);
var _loc10 = (_loc5 * c.restLength);
var _loc9 = (_loc14 * c.restLength);
var _loc7 = (_local1.x + ((_local2.x - _local1.x) * _loc5));
var _loc6 = (_local1.y + ((_local2.y - _local1.y) * _loc5));
var _local3 = c.power + _loc12;
_local1.x = _loc7 + (Math.cos(_local3 + 3.141593) * _loc10);
_local1.y = _loc6 + (Math.sin(_local3 + 3.141593) * _loc10);
_local2.x = _loc7 + (Math.cos(_local3) * _loc9);
_local2.y = _loc6 + (Math.sin(_local3) * _loc9);
};
PEngine2D.prototype.hackContraint = function (c) {
var _local3 = c;
var _loc6 = _local3.p1;
var _loc5 = _local3.p2;
var _loc16 = _local3.p3;
var _loc13 = Math.atan2(_loc5.y - _loc6.y, _loc5.x - _loc6.x);
var _loc19 = Math.atan2(_loc16.y - _loc5.y, _loc16.x - _loc5.x);
var _local1 = _loc13 - _loc19;
while (_local1 > 3.141593) {
_local1 = _local1 - 6.283185;
}
while (_local1 < -3.141593) {
_local1 = _local1 + 6.283185;
}
var _loc7 = _local3.restLength;
var _loc14 = (_loc6.mass + _loc5.mass);
var _loc15 = (_loc6.mass / _loc14);
var _loc8 = (_loc5.mass / _loc14);
var _loc17 = 0;
var _loc18 = ((_local3.maxang + _local3.minang) / 2);
if (_local3.inversed) {
if ((_local1 > _local3.minang) && (_local1 < _loc18)) {
_loc17 = _local3.minang - _local1;
}
if ((_local1 < _local3.maxang) && (_local1 > _loc18)) {
_loc17 = _local3.maxang - _local1;
}
} else {
var _loc9 = ((_local3.maxang - _local3.minang) / 2);
var _loc20 = ((_local3.maxang + _local3.minang) / 2);
var _local2 = _loc20 - _local1;
while (_local2 > 3.141593) {
_local2 = _local2 - 6.283185;
}
while (_local2 < -3.141593) {
_local2 = _local2 + 6.283185;
}
if (_local2 > _loc9) {
_loc17 = _local2 - _loc9;
} else if (_local2 < (-_loc9)) {
_loc17 = _local2 + _loc9;
} else {
_loc17 = 0;
}
}
var _loc10 = ((_loc17 * 0.3) + _loc13);
var _loc12 = (_loc6.x + ((_loc5.x - _loc6.x) * _loc8));
var _loc11 = (_loc6.y + ((_loc5.y - _loc6.y) * _loc8));
_loc6.x = _loc12 + ((Math.cos(_loc10 + 3.141593) * _loc7) * _loc8);
_loc6.y = _loc11 + ((Math.sin(_loc10 + 3.141593) * _loc7) * _loc8);
_loc6.y = ((_loc6.y > this.maxy) ? (this.maxy) : (_loc6.y));
_loc5.x = _loc12 + ((Math.cos(_loc10) * _loc7) * _loc15);
_loc5.y = _loc11 + ((Math.sin(_loc10) * _loc7) * _loc15);
_loc5.y = ((_loc5.y > this.maxy) ? (this.maxy) : (_loc5.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);
continue;
}
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 () {
var _local1 = _root;
PEng.update();
track.update();
skin.draw();
if ((PEng.onHold == null) || (PEng.onHold.length == 0)) {
xv = xv + ((((Stage.width * 0.5) - ((PEng.particles[0].x * _local1._xscale) * 0.01)) - _local1._x) * 0.05);
yv = yv + (((((Stage.height * 0.5) - ((PEng.particles[0].y * _local1._yscale) * 0.01)) - 100) - _local1._y) * 0.05);
xv = xv * 0.8;
yv = yv * 0.8;
_local1._x = _local1._x + xv;
_local1._y = _local1._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 _loc5 = [];
var _loc6 = _root._xmouse;
var _loc7 = _root._ymouse;
for (var _loc8 in PEng.particles) {
var _local1 = PEng.particles[_loc8];
var _local3 = _loc6 - _local1.x;
var _local2 = _loc7 - _local1.y;
if (((_local3 * _local3) + (_local2 * _local2)) < 1500) {
_loc5.push(_local1);
}
}
PEng.onHold = _loc5;
};
_root.onMouseUp = function () {
PEng.onHold = null;
};
Instance of Symbol 30 MovieClip "knee1" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 30 MovieClip "foot1" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 30 MovieClip "knee2" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 30 MovieClip "foot2" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 30 MovieClip "pants" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1.1;
}
Instance of Symbol 30 MovieClip "stomach" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 30 MovieClip "head" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 30 MovieClip "arm2" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 30 MovieClip "hand2" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 30 MovieClip "arm1" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 30 MovieClip "hand1" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 30 MovieClip "neck" in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.5;
this.maxang = 1;
this.p3 = _parent.head;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1;
this.maxang = 0.5;
this.p3 = _parent.stomach;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand1;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand2;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.pants;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.neck;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot1;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot2;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee2;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee1;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = 0;
this.maxang = 1.570796;
this.p3 = _parent.stomach;
this.inversed = true;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = 0;
this.maxang = 1.570796;
this.p3 = _parent.stomach;
this.inversed = true;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.570796;
this.maxang = 0;
this.p3 = _parent.arm2;
this.inversed = true;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.570796;
this.maxang = 0;
this.p3 = _parent.arm1;
this.inversed = true;
}