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 _l8 in this.parts) {
var _local1 = this.parts[_l8].p1;
var _local2 = this.parts[_l8].p2;
var _local3 = this.parts[_l8].mc;
var _l6 = ((_local1.x + _local2.x) * 0.5);
var _l5 = ((_local1.y + _local2.y) * 0.5);
var _l7 = Math.atan2(_local1.y - _local2.y, _local1.x - _local2.x);
_local3._x = _l6;
_local3._y = _l5;
_local3._rotation = _l7 * 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 _l4 = (_local2.PEng.particles[0].y - 500);
for (var _l5 in _local3.balls) {
var _local1 = _local3.balls[_l5];
if (_local1.y < _l4) {
_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 _l12 = new Skin();
var _l10 = 0;
for (var _l13 in d.items) {
var _local2 = d.items[_l13];
var _l7 = _local2.p1;
var _l6 = _local2.p2;
var _l4 = null;
var _local3 = null;
for (var _l13 in this.particles) {
var _local1 = this.particles[_l13];
if (_local1.orgMC._name == _l7) {
_l4 = _local1;
}
if (_local1.orgMC._name == _l6) {
_local3 = _local1;
}
}
_l10++;
var _l8 = this.mc.attachMovie(_local2.mc, _local2.mc + _l10, ++_l10);
var _l9 = new Part(_l4, _local3, _l8);
_l12.parts.push(_l9);
}
return(_l12);
};
Extractor.prototype.extractParticles = function (mc) {
var _local3 = mc;
var _l6 = [];
for (var _l7 in _local3) {
if (typeof(_local3[_l7]) == "movieclip") {
if (_local3[_l7].is == "particle") {
var _local1 = _local3[_l7];
var _l5 = _local1._x;
var _l4 = _local1._y;
var _local2 = new Particle2D(_l5, _l4);
if (_local1.mass) {
_local2.mass = _local1.mass;
} else {
_local2.mass = 1;
}
_local2.orgMC = _local1;
_l6.push(_local2);
}
}
}
return(_l6);
};
Extractor.prototype.extractConstraints = function (mc, parray) {
var _local2 = mc;
var _l16 = [];
for (var _l17 in _local2) {
if (typeof(_local2[_l17]) == "movieclip") {
if ((_local2[_l17].is == "constraint") || (_local2[_l17].is == "angledConstraint")) {
var _local1 = _local2[_l17];
var _l9 = _local1._x;
var _l7 = _local1._y;
var _l11 = (_local1._rotation / 57.29578);
var _l8 = _local1._xscale;
var _l13 = (_l9 + (Math.cos(_l11) * _l8));
var _l12 = (_l7 + (Math.sin(_l11) * _l8));
var _local3 = this.findParticle(_l9, _l7, parray);
var _l4 = this.findParticle(_l13, _l12, parray);
var _l10 = this.getDist(_local3, _l4);
if (_local1.is == "angledConstraint") {
var _l15 = this.findParticle(_local1.p3._x, _local1.p3._y, parray);
var _l6 = new AngledConstraint(_local3, _l4, _l10, _l15, _local1.minang, _local1.maxang);
if (_local1.inversed) {
_l6.inversed = true;
}
_l16.push(_l6);
} else {
_l16.push(new Constraint(_local3, _l4, _l10));
}
}
}
}
return(_l16);
};
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 _l5 = 10000000000;
var _l7 = null;
for (var _l8 in ar) {
var _local1 = ar[_l8];
var _l2 = (x - _local1.x);
var _local2 = y - _local1.y;
var _local3 = (_l2 * _l2) + (_local2 * _local2);
if (_local3 < _l5) {
_l5 = _local3;
_l7 = _local1;
}
}
return(_l7);
};
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 _l5 = this.timeFactor;
var _l6 = this.particles;
var _l7 = Math.pow(this.fric, _l5);
for (var _l8 in _l6) {
var _local1 = _l6[_l8];
var _local3 = _local1.x;
var _local2 = _local1.y;
_local1.x = _local1.x + ((_local1.x - _local1.oldx) * _l7);
_local1.y = _local1.y + (((_local1.y - _local1.oldy) * _l7) + ((this.gravity * _l5) * _l5));
_local1.oldx = _local3;
_local1.oldy = _local2;
}
};
PEngine2D.prototype.constrain = function () {
var _local2 = this;
var _local3 = _local2.constraints;
var _local1 = _local2.angledConstraints;
for (var _l4 in _local1) {
_local2.satisfyAngConstraint(_local1[_l4]);
}
for (var _l4 in _local3) {
_local2.satisfyConstraint(_local3[_l4]);
}
};
PEngine2D.prototype.satisfyConstraint = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _l10 = c.restLength;
var _l3 = (_local1.x - _local2.x);
var _local3 = _local1.y - _local2.y;
var _l4 = Math.sqrt((_l3 * _l3) + (_local3 * _local3));
var _l6 = (_local1.mass + _local2.mass);
var _l13 = (_local1.mass / _l6);
var _l12 = (_local2.mass / _l6);
rl2 = _l4 + ((_l10 - _l4) * 1);
var _l7 = (((_l4 - rl2) / _l4) * 0.5);
var _l9 = (_l7 * _l13);
var _l8 = (_l7 * _l12);
_local1.x = _local1.x - (_l3 * _l8);
_local1.y = _local1.y - (_local3 * _l8);
_local2.x = _local2.x + (_l3 * _l9);
_local2.y = _local2.y + (_local3 * _l9);
};
PEngine2D.prototype.collision = function () {
var _l9 = this.particles;
var _l8 = this.track.balls;
for (var _l10 in _l9) {
var _l5 = _l9[_l10];
for (var _l10 in _l8) {
var _local3 = _l8[_l10];
var _local2 = _l5.x - _local3.x;
var _local1 = _l5.y - _local3.y;
var _l6 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
var _l7 = (_local3.rad + _l5.rad);
if (_l6 < _l7) {
_local2 = _local2 / _l6;
_local1 = _local1 / _l6;
_l5.x = _local3.x + (_local2 * _l7);
_l5.y = _local3.y + (_local1 * _l7);
}
}
}
};
PEngine2D.prototype.update = function () {
var _local1 = this;
_local1.timeFactor = _local1.getTimeFactor();
_local1.verlet();
_local1.hold();
var _local2 = 0;
while (_local2 < 2) {
_local1.constrain();
_local1.collision();
_local2++;
}
};
PEngine2D.prototype.hold = function () {
var _local2 = this;
var _local3 = _root;
if (_local2.onHold != null) {
for (var _l4 in _local2.onHold) {
var _local1 = _local2.onHold[_l4];
_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 _l10 = _root;
_l10.clear();
_l10.lineStyle(20, 16711680, 30);
for (var _l11 in _local3) {
var _local1 = _local3[_l11].p1;
var _local2 = _local3[_l11].p2;
var _l9 = _local1.x;
var _l7 = _local1.y;
var _l8 = _local2.x;
var _l6 = _local2.y;
_l10.moveTo(_l9, _l7);
_l10.lineTo(_l8, _l6);
}
};
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 _l5 = _local3.p1;
var _l4 = _local3.p2;
var _l15 = _local3.p3;
var _l12 = Math.atan2(_l4.y - _l5.y, _l4.x - _l5.x);
var _l18 = Math.atan2(_l15.y - _l4.y, _l15.x - _l4.x);
var _local1 = _l12 - _l18;
while (_local1 > 3.141593) {
_local1 = _local1 - 6.283185;
}
while (_local1 < -3.141593) {
_local1 = _local1 + 6.283185;
}
var _l6 = _local3.restLength;
var _l13 = (_l5.mass + _l4.mass);
var _l14 = (_l5.mass / _l13);
var _l7 = (_l4.mass / _l13);
var _l16 = 0;
var _l17 = ((_local3.maxang + _local3.minang) / 2);
if (_local3.inversed) {
if ((_local1 > _local3.minang) && (_local1 < _l17)) {
_l16 = _local3.minang - _local1;
}
if ((_local1 < _local3.maxang) && (_local1 > _l17)) {
_l16 = _local3.maxang - _local1;
}
} else {
var _l8 = ((_local3.maxang - _local3.minang) / 2);
var _l19 = ((_local3.maxang + _local3.minang) / 2);
var _local2 = _l19 - _local1;
while (_local2 > 3.141593) {
_local2 = _local2 - 6.283185;
}
while (_local2 < -3.141593) {
_local2 = _local2 + 6.283185;
}
if (_local2 > _l8) {
_l16 = _local2 - _l8;
} else if (_local2 < (-_l8)) {
_l16 = _local2 + _l8;
} else {
_l16 = 0;
}
}
var _l9 = ((_l16 * 0.3) + _l12);
var _l11 = (_l5.x + ((_l4.x - _l5.x) * _l7));
var _l10 = (_l5.y + ((_l4.y - _l5.y) * _l7));
_l5.x = _l11 + ((Math.cos(_l9 + 3.141593) * _l6) * _l7);
_l5.y = _l10 + ((Math.sin(_l9 + 3.141593) * _l6) * _l7);
_l4.x = _l11 + ((Math.cos(_l9) * _l6) * _l14);
_l4.y = _l10 + ((Math.sin(_l9) * _l6) * _l14);
};
PEngine2D.prototype.useMuscle = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _l11 = (_local2.x - _local1.x);
var _l13 = (_local2.y - _local1.y);
var _l12 = Math.atan2(_l13, _l11);
var _l8 = (_local1.mass + _local2.mass);
var _l14 = (_local1.mass / _l8);
var _l5 = (_local2.mass / _l8);
var _l10 = (_l5 * c.restLength);
var _l9 = (_l14 * c.restLength);
var _l7 = (_local1.x + ((_local2.x - _local1.x) * _l5));
var _l6 = (_local1.y + ((_local2.y - _local1.y) * _l5));
var _local3 = c.power + _l12;
_local1.x = _l7 + (Math.cos(_local3 + 3.141593) * _l10);
_local1.y = _l6 + (Math.sin(_local3 + 3.141593) * _l10);
_local2.x = _l7 + (Math.cos(_local3) * _l9);
_local2.y = _l6 + (Math.sin(_local3) * _l9);
};
PEngine2D.prototype.hackContraint = function (c) {
var _local3 = c;
var _l6 = _local3.p1;
var _l5 = _local3.p2;
var _l16 = _local3.p3;
var _l13 = Math.atan2(_l5.y - _l6.y, _l5.x - _l6.x);
var _l19 = Math.atan2(_l16.y - _l5.y, _l16.x - _l5.x);
var _local1 = _l13 - _l19;
while (_local1 > 3.141593) {
_local1 = _local1 - 6.283185;
}
while (_local1 < -3.141593) {
_local1 = _local1 + 6.283185;
}
var _l7 = _local3.restLength;
var _l14 = (_l6.mass + _l5.mass);
var _l15 = (_l6.mass / _l14);
var _l8 = (_l5.mass / _l14);
var _l17 = 0;
var _l18 = ((_local3.maxang + _local3.minang) / 2);
if (_local3.inversed) {
if ((_local1 > _local3.minang) && (_local1 < _l18)) {
_l17 = _local3.minang - _local1;
}
if ((_local1 < _local3.maxang) && (_local1 > _l18)) {
_l17 = _local3.maxang - _local1;
}
} else {
var _l9 = ((_local3.maxang - _local3.minang) / 2);
var _l20 = ((_local3.maxang + _local3.minang) / 2);
var _local2 = _l20 - _local1;
while (_local2 > 3.141593) {
_local2 = _local2 - 6.283185;
}
while (_local2 < -3.141593) {
_local2 = _local2 + 6.283185;
}
if (_local2 > _l9) {
_l17 = _local2 - _l9;
} else if (_local2 < (-_l9)) {
_l17 = _local2 + _l9;
} else {
_l17 = 0;
}
}
var _l10 = ((_l17 * 0.3) + _l13);
var _l12 = (_l6.x + ((_l5.x - _l6.x) * _l8));
var _l11 = (_l6.y + ((_l5.y - _l6.y) * _l8));
_l6.x = _l12 + ((Math.cos(_l10 + 3.141593) * _l7) * _l8);
_l6.y = _l11 + ((Math.sin(_l10 + 3.141593) * _l7) * _l8);
_l6.y = ((_l6.y > this.maxy) ? (this.maxy) : (_l6.y));
_l5.x = _l12 + ((Math.cos(_l10) * _l7) * _l15);
_l5.y = _l11 + ((Math.sin(_l10) * _l7) * _l15);
_l5.y = ((_l5.y > this.maxy) ? (this.maxy) : (_l5.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 () {
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 _l5 = [];
var _l6 = _root._xmouse;
var _l7 = _root._ymouse;
for (var _l8 in PEng.particles) {
var _local1 = PEng.particles[_l8];
var _local3 = _l6 - _local1.x;
var _local2 = _l7 - _local1.y;
if (((_local3 * _local3) + (_local2 * _local2)) < 1500) {
_l5.push(_local1);
}
}
PEng.onHold = _l5;
};
_root.onMouseUp = function () {
PEng.onHold = null;
};
Instance of Symbol 29 MovieClip "knee1" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 29 MovieClip "foot1" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 29 MovieClip "knee2" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 29 MovieClip "foot2" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 29 MovieClip "pants" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1.1;
}
Instance of Symbol 29 MovieClip "stomach" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 29 MovieClip "head" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 29 MovieClip "arm2" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 29 MovieClip "hand2" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 29 MovieClip "arm1" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 29 MovieClip "hand1" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 29 MovieClip "neck" in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.5;
this.maxang = 1;
this.p3 = _parent.head;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1;
this.maxang = 0.5;
this.p3 = _parent.stomach;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand1;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand2;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.pants;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.neck;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot1;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot2;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee2;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee1;
}
Instance of Symbol 31 MovieClip in Symbol 32 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 31 MovieClip in Symbol 32 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 31 MovieClip in Symbol 32 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 31 MovieClip in Symbol 32 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.570796;
this.maxang = 0;
this.p3 = _parent.arm1;
this.inversed = true;
}