Frame 1
stop();
Instance of Symbol 67 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.gotoAndPlay(2);
} else {
this.gotoAndStop(Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * this._totalframes));
}
}
Frame 3
stopAllSounds();
Frame 558
stop();
Frame 585
function Part(p1, p2, mc) {
var _local2 = this;
_local2.p1 = p1;
_local2.p2 = p2;
_local2.mc = mc;
}
function Skin() {
this.parts = [];
}
function Track() {
this.balls = [];
this.mc = _root.createEmptyMovieClip("balls", 50);
}
function Muscle(p1, p2, restLength, power) {
var _local2 = this;
_local2.p1 = p1;
_local2.p2 = p2;
_local2.restLength = restLength;
_local2.power = power;
}
function Extractor() {
var _local3 = this;
_local3.particles = null;
_local3.constraints = null;
_local3.skin = null;
_local3.mc = _root.createEmptyMovieClip("skin", 2);
}
function Constraint(p1, p2, restLength) {
var _local2 = this;
_local2.p1 = p1;
_local2.p2 = p2;
_local2.restLength = restLength;
}
function AngledConstraint(p1, p2, restLength, p3, minang, maxang) {
var _local2 = this;
_local2.p1 = p1;
_local2.p2 = p2;
_local2.restLength = restLength;
_local2.p3 = p3;
_local2.minang = minang;
_local2.maxang = maxang;
_local2.isAngled = true;
}
function Joint(p1, p2, p3, dst12, dst23, minang, maxang) {
var _local2 = this;
var _local3 = p2;
_local2.p1 = p1;
_local2.p2 = _local3;
_local2.p3 = p3;
_local2.dst12 = dst12;
_local2.dst23 = dst23;
_local2.minang = minang;
_local2.maxang = maxang;
_local2.c1 = new Constraint(p1, _local3, dst12);
_local2.c2 = new Constraint(_local3, p3, dst23);
}
function Particle2D(x, y) {
var _local2 = this;
_local2.x = x;
_local2.y = y;
_local2.xf = 0;
_local2.yf = 0;
_local2.oldx = x;
_local2.oldy = y;
_local2.rad = 1;
_local2.mass = 1;
}
function MCParticle(x, y, mc) {
super(x, y);
this.mc = mc;
this.defaultSize = 100;
}
function PEngine2D() {
var _local3 = this;
_local3.MAXPARTICLES = 256;
_local3.oldTime = getTimer();
_local3.speed = 1;
_local3.particles = [];
_local3.mc = _root;
_local3.pdepth = 0;
_local3.gravity = 0.0011;
_local3.fric = 0.9993;
_local3.minx = (-Stage.width) / 2;
_local3.miny = (-Stage.height) / 2;
_local3.maxx = Stage.width / 2;
_local3.maxy = Stage.height / 2;
_local3.onHold = null;
_local3.constraints = [];
_local3.angledConstraints = [];
_local3.muscles = [];
}
_root.createEmptyMovieClip("kkk", _root.getNextHighestDepth());
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 _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 _local7 = (_local3.y + _local2.y) * 0.5;
var _local5 = Math.atan2(_local3.y - _local2.y, _local3.x - _local2.x);
_local4._x = _local6;
_local4._y = _local7;
_local4._rotation = _local5 * 57.29578;
}
};
_root._xscale = (_root._yscale = 80);
Track.prototype.create = function () {
var _local4 = this;
var _local3 = 0;
while (_local3 < 30) {
var _local2 = _local4.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);
_local4.balls.push(_local2);
_local3++;
}
};
Track.prototype.update = function () {
var _local4 = _root;
var _local5 = this;
var _local6 = _local4.PEng.particles[0].y - 500;
for (var _local7 in _local5.balls) {
var _local3 = _local5.balls[_local7];
if (_local3.y < _local6) {
_local3._y = (_local3.y = (_local4.PEng.particles[0].y + 500) + random(700));
_local3._x = (_local3.x = (_local4.PEng.particles[0].x + random(1000)) - random(1000));
_local3.rad = random(100) + 30;
_local3._width = (_local3._height = _local3.rad * 2);
}
}
};
Function.prototype.extend = function (superClass) {
var _local2 = this;
_local2.prototype.__proto__ = superClass.prototype;
_local2.prototype.__constructor__ = superClass;
ASSetPropFlags(_local2.prototype, ["__constructor__"], 1);
};
ASSetPropFlags(Function.prototype, ["extend"], 1);
Extractor.prototype.extract = function (mc) {
var _local3 = this;
var _local4 = mc;
_local3.particles = _local3.extractParticles(_local4);
_local3.constraints = _local3.extractConstraints(_local4, _local3.particles);
_local3.skin = _local3.extractSkin(_local4, _root.skinDescription);
_local4.removeMovieClip();
};
Extractor.prototype.extractSkin = function (mc, d) {
var _local12 = new Skin();
var _local8 = 0;
for (var _local13 in d.items) {
var _local3 = d.items[_local13];
var _local6 = _local3.p1;
var _local7 = _local3.p2;
var _local4 = null;
var _local5 = null;
for (var _local13 in this.particles) {
var _local2 = this.particles[_local13];
if (_local2.orgMC._name == _local6) {
_local4 = _local2;
}
if (_local2.orgMC._name == _local7) {
_local5 = _local2;
}
}
_local8++;
_local8++;
var _local10 = this.mc.attachMovie(_local3.mc, _local3.mc + _local8, _local8);
var _local9 = new Part(_local4, _local5, _local10);
_local12.parts.push(_local9);
}
var _local14 = _local12;
return(_local14);
};
Extractor.prototype.extractParticles = function (mc) {
var _local3 = mc;
var _local6 = [];
for (var _local7 in _local3) {
if (typeof(_local3[_local7]) == "movieclip") {
if (_local3[_local7].is == "particle") {
var _local1 = _local3[_local7];
var _local4 = _local1._x;
var _local5 = _local1._y;
var _local2 = new Particle2D(_local4, _local5);
if (_local1.mass) {
_local2.mass = _local1.mass;
} else {
_local2.mass = 1;
}
_local2.orgMC = _local1;
_local6.push(_local2);
}
}
}
var _local8 = _local6;
return(_local8);
};
Extractor.prototype.extractConstraints = function (mc, parray) {
var _local3 = mc;
var _local16 = [];
for (var _local17 in _local3) {
if (typeof(_local3[_local17]) == "movieclip") {
if ((_local3[_local17].is == "constraint") || (_local3[_local17].is == "angledConstraint")) {
var _local2 = _local3[_local17];
var _local6 = _local2._x;
var _local8 = _local2._y;
var _local10 = _local2._rotation / 57.29578;
var _local7 = _local2._xscale;
var _local13 = _local6 + (Math.cos(_local10) * _local7);
var _local14 = _local8 + (Math.sin(_local10) * _local7);
var _local5 = this.findParticle(_local6, _local8, parray);
var _local4 = this.findParticle(_local13, _local14, parray);
var _local11 = this.getDist(_local5, _local4);
if (_local2.is == "angledConstraint") {
var _local12 = this.findParticle(_local2.p3._x, _local2.p3._y, parray);
var _local9 = new AngledConstraint(_local5, _local4, _local11, _local12, _local2.minang, _local2.maxang);
if (_local2.inversed) {
_local9.inversed = true;
}
_local16.push(_local9);
} else {
_local16.push(new Constraint(_local5, _local4, _local11));
}
}
}
}
var _local18 = _local16;
return(_local18);
};
Extractor.prototype.extractMC = function (mc) {
var _local2 = this;
var _local3 = mc;
_local2.particles = _local2.extractParticles(_local3);
_local2.constraints = _local2.extractConstraints(_local3, _local2.particles);
_local3.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));
var _local4 = _local3;
return(_local4);
};
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 _local3 = y - _local1.y;
var _local4 = (_local2 * _local2) + (_local3 * _local3);
if (_local4 < _local5) {
_local5 = _local4;
_local7 = _local1;
}
}
var _local11 = _local7;
return(_local11);
};
MovieClip.prototype.getMC = function (id) {
var _local2 = this;
if (_local2.lastDepth) {
_local2.lastDepth++;
} else {
_local2.lastDepth = 1;
}
var _local4 = (id + "Instance") + _local2.lastDepth;
var _local3 = _local2.attachMovie(id, _local4, _local2.lastDepth);
var _local5 = ((!_local3) ? false : (_local3));
return(_local5);
};
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 _local2 = this;
if (_local2.particles.length > _local2.MAXPARTICLES) {
_local2.removeParticle(0);
}
_local2.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 _local7 = this.particles;
var _local6 = Math.pow(this.fric, _local5);
for (var _local8 in _local7) {
var _local2 = _local7[_local8];
var _local4 = _local2.x;
var _local3 = _local2.y;
_local2.x = _local2.x + ((_local2.x - _local2.oldx) * _local6);
_local2.y = _local2.y + (((_local2.y - _local2.oldy) * _local6) + ((this.gravity * _local5) * _local5));
_local2.oldx = _local4;
_local2.oldy = _local3;
}
};
PEngine2D.prototype.constrain = function () {
var _local2 = this;
var _local3 = _local2.constraints;
var _local4 = _local2.angledConstraints;
for (var _local5 in _local4) {
_local2.satisfyAngConstraint(_local4[_local5]);
}
for (var _local5 in _local3) {
_local2.satisfyConstraint(_local3[_local5]);
}
};
PEngine2D.prototype.satisfyConstraint = function (c) {
var _local2 = c.p1;
var _local1 = c.p2;
var _local13 = c.restLength;
var _local4 = _local2.x - _local1.x;
var _local5 = _local2.y - _local1.y;
var _local3 = Math.sqrt((_local4 * _local4) + (_local5 * _local5));
var _local9 = _local2.mass + _local1.mass;
var _local11 = _local2.mass / _local9;
var _local12 = _local1.mass / _local9;
rl2 = _local3 + ((_local13 - _local3) * 1);
var _local8 = ((_local3 - rl2) / _local3) * 0.5;
var _local6 = _local8 * _local11;
var _local7 = _local8 * _local12;
_local2.x = _local2.x - (_local4 * _local7);
_local2.y = _local2.y - (_local5 * _local7);
_local1.x = _local1.x + (_local4 * _local6);
_local1.y = _local1.y + (_local5 * _local6);
};
PEngine2D.prototype.collision = function () {
var _local9 = this.particles;
var _local8 = this.track.balls;
for (var _local10 in _local9) {
var _local3 = _local9[_local10];
for (var _local10 in _local8) {
var _local2 = _local8[_local10];
var _local6 = _local3.x - _local2.x;
var _local7 = _local3.y - _local2.y;
var _local5 = Math.sqrt((_local6 * _local6) + (_local7 * _local7));
var _local4 = _local2.rad + _local3.rad;
if (_local5 < _local4) {
_local6 = _local6 / _local5;
_local7 = _local7 / _local5;
_local3.x = _local2.x + (_local6 * _local4);
_local3.y = _local2.y + (_local7 * _local4);
}
}
}
};
PEngine2D.prototype.update = function () {
var _local2 = this;
_local2.timeFactor = _local2.getTimeFactor();
_local2.verlet();
_local2.hold();
var _local3 = 0;
while (_local3 < 2) {
_local2.constrain();
_local2.collision();
_local3++;
}
};
PEngine2D.prototype.hold = function () {
var _local4 = this;
var _local5 = _root;
if (_local4.onHold != null) {
for (var _local6 in _local4.onHold) {
var _local3 = _local4.onHold[_local6];
_local3.x = _local3.x + ((_local5._xmouse - _local3.x) * 0.3);
_local3.y = _local3.y + ((_local5._ymouse - _local3.y) * 0.3);
}
}
};
PEngine2D.prototype.forces = function () {
var _local2 = this.particles;
for (var _local3 in _local2) {
}
};
PEngine2D.prototype.getTimeFactor = function () {
var _local2 = this;
var _local3 = getTimer();
var _local5 = _local3 - _local2.oldTime;
_local2.oldTime = _local3;
if (_local5 > 40) {
_local5 = 40;
}
var _local4 = _local5 * _local2.speed;
return(_local4);
};
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 _local6 = _local4.x;
var _local8 = _local4.y;
var _local7 = _local3.x;
var _local9 = _local3.y;
_local10.moveTo(_local6, _local8);
_local10.lineTo(_local7, _local9);
}
};
PEngine2D.prototype.shake = function () {
var _local2 = this;
for (var _local3 in _local2.particles) {
_local2.particles[_local3].x = _local2.particles[_local3].x + ((Math.random() - Math.random()) * 45);
_local2.particles[_local3].y = _local2.particles[_local3].y + (((Math.random() - Math.random()) * 25) - 25);
}
};
PEngine2D.prototype.satisfyAngConstraint = function (c) {
var _local2 = c;
var _local4 = _local2.p1;
var _local5 = _local2.p2;
var _local12 = _local2.p3;
var _local15 = Math.atan2(_local5.y - _local4.y, _local5.x - _local4.x);
var _local19 = Math.atan2(_local12.y - _local5.y, _local12.x - _local5.x);
var _local1 = _local15 - _local19;
while (_local1 > 3.141593) {
_local1 = _local1 - 6.283185;
}
while (_local1 < -3.141593) {
_local1 = _local1 + 6.283185;
}
var _local10 = _local2.restLength;
var _local14 = _local4.mass + _local5.mass;
var _local13 = _local4.mass / _local14;
var _local9 = _local5.mass / _local14;
var _local6 = 0;
var _local11 = (_local2.maxang + _local2.minang) / 2;
if (_local2.inversed) {
if ((_local1 > _local2.minang) && (_local1 < _local11)) {
_local6 = _local2.minang - _local1;
}
if ((_local1 < _local2.maxang) && (_local1 > _local11)) {
_local6 = _local2.maxang - _local1;
}
} else {
var _local8 = (_local2.maxang - _local2.minang) / 2;
var _local18 = (_local2.maxang + _local2.minang) / 2;
var _local3 = _local18 - _local1;
while (_local3 > 3.141593) {
_local3 = _local3 - 6.283185;
}
while (_local3 < -3.141593) {
_local3 = _local3 + 6.283185;
}
if (_local3 > _local8) {
_local6 = _local3 - _local8;
} else if (_local3 < (-_local8)) {
_local6 = _local3 + _local8;
} else {
_local6 = 0;
}
}
var _local7 = (_local6 * 0.3) + _local15;
var _local16 = _local4.x + ((_local5.x - _local4.x) * _local9);
var _local17 = _local4.y + ((_local5.y - _local4.y) * _local9);
_local4.x = _local16 + ((Math.cos(_local7 + 3.141593) * _local10) * _local9);
_local4.y = _local17 + ((Math.sin(_local7 + 3.141593) * _local10) * _local9);
_local5.x = _local16 + ((Math.cos(_local7) * _local10) * _local13);
_local5.y = _local17 + ((Math.sin(_local7) * _local10) * _local13);
};
PEngine2D.prototype.useMuscle = function (c) {
var _local1 = c.p1;
var _local2 = c.p2;
var _local14 = _local2.x - _local1.x;
var _local12 = _local2.y - _local1.y;
var _local13 = Math.atan2(_local12, _local14);
var _local7 = _local1.mass + _local2.mass;
var _local11 = _local1.mass / _local7;
var _local5 = _local2.mass / _local7;
var _local10 = _local5 * c.restLength;
var _local6 = _local11 * c.restLength;
var _local8 = _local1.x + ((_local2.x - _local1.x) * _local5);
var _local9 = _local1.y + ((_local2.y - _local1.y) * _local5);
var _local3 = c.power + _local13;
_local1.x = _local8 + (Math.cos(_local3 + 3.141593) * _local10);
_local1.y = _local9 + (Math.sin(_local3 + 3.141593) * _local10);
_local2.x = _local8 + (Math.cos(_local3) * _local6);
_local2.y = _local9 + (Math.sin(_local3) * _local6);
};
PEngine2D.prototype.hackContraint = function (c) {
var _local3 = c;
var _local5 = _local3.p1;
var _local6 = _local3.p2;
var _local12 = _local3.p3;
var _local15 = Math.atan2(_local6.y - _local5.y, _local6.x - _local5.x);
var _local20 = Math.atan2(_local12.y - _local6.y, _local12.x - _local6.x);
var _local2 = _local15 - _local20;
while (_local2 > 3.141593) {
_local2 = _local2 - 6.283185;
}
while (_local2 < -3.141593) {
_local2 = _local2 + 6.283185;
}
var _local10 = _local3.restLength;
var _local14 = _local5.mass + _local6.mass;
var _local13 = _local5.mass / _local14;
var _local9 = _local6.mass / _local14;
var _local7 = 0;
var _local18 = (_local3.maxang + _local3.minang) / 2;
if (_local3.inversed) {
if ((_local2 > _local3.minang) && (_local2 < _local18)) {
_local7 = _local3.minang - _local2;
}
if ((_local2 < _local3.maxang) && (_local2 > _local18)) {
_local7 = _local3.maxang - _local2;
}
} else {
var _local8 = (_local3.maxang - _local3.minang) / 2;
var _local19 = (_local3.maxang + _local3.minang) / 2;
var _local4 = _local19 - _local2;
while (_local4 > 3.141593) {
_local4 = _local4 - 6.283185;
}
while (_local4 < -3.141593) {
_local4 = _local4 + 6.283185;
}
if (_local4 > _local8) {
_local7 = _local4 - _local8;
} else if (_local4 < (-_local8)) {
_local7 = _local4 + _local8;
} else {
_local7 = 0;
}
}
var _local11 = (_local7 * 0.3) + _local15;
var _local16 = _local5.x + ((_local6.x - _local5.x) * _local9);
var _local17 = _local5.y + ((_local6.y - _local5.y) * _local9);
_local5.x = _local16 + ((Math.cos(_local11 + 3.141593) * _local10) * _local9);
_local5.y = _local17 + ((Math.sin(_local11 + 3.141593) * _local10) * _local9);
((_local5.y >= this.maxy) ? (this.maxy) : (_local5.y));
_local6.x = _local16 + ((Math.cos(_local11) * _local10) * _local13);
_local6.y = _local17 + ((Math.sin(_local11) * _local10) * _local13);
((_local6.y >= this.maxy) ? (this.maxy) : (_local6.y));
};
_root.attachMovie("guy", "guy", 1);
_root._x = Stage.width * 2;
_root._y = Stage.height * 2;
Frame 586
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 _local2 = _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 * _local2._xscale) * 0.01)) - _local2._x) * 0.05);
yv = yv + (((((Stage.height * 0.5) - ((PEng.particles[0].y * _local2._yscale) * 0.01)) - 100) - _local2._y) * 0.05);
xv = xv * 0.8;
yv = yv * 0.8;
_local2._x = _local2._x + xv;
_local2._y = _local2._y + yv;
}
if (Key.isDown(39)) {
PEng.speed = PEng.speed + 0.01;
((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 _local7 = _root._xmouse;
var _local6 = _root._ymouse;
for (var _local8 in PEng.particles) {
var _local2 = PEng.particles[_local8];
var _local4 = _local7 - _local2.x;
var _local3 = _local6 - _local2.y;
if (((_local4 * _local4) + (_local3 * _local3)) < 1500) {
_local5.push(_local2);
}
}
PEng.onHold = _local5;
};
_root.onMouseUp = function () {
PEng.onHold = null;
};
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(32)) {
delete _root.kkk.onEnterFrame;
delete _root.onEnterFrame;
keyListener.onKeyDown = function () {
};
_root._xscale = 100;
_root._yscale = 100;
removeIt(_root.skin);
removeIt(_root.kkk);
removeIt(_root.ukko);
removeIt(_root);
_root.skin.removeMovieClip();
removeMovieClip(root.skin);
_root.skin.removeMovieClip();
removeMovieClip(root.skin);
_root.ukko.removeMovieClip();
removeMovieClip(root.ukko);
_root.skin.RemoveAllClip();
_root.kkk.RemoveAllClip();
_root.ukko.RemoveAllClip();
_root.skin.remove();
_root.kkk.remove();
_root.ukko.remove();
_root._x = 0;
_root._y = 0;
play();
}
};
Key.addListener(keyListener);
MovieClip.prototype.remove = function () {
this.swapDepths(1048575);
this.removeMovieClip();
};
_global.removeIt = function (what) {
var _local1 = what._parent;
_local1.createEmptyMovieClip("delIt", what.getDepth());
_local1.delIt.removeMovieClip();
};
MovieClip.prototype.removeMovieClip2 = function () {
if (this.getDepth() >= 0) {
removeMovieClip(this);
return(undefined);
}
var _local3;
var _local2;
var _local4;
for (_local3 in this._parent) {
_local2 = this._parent[_local3];
if (((_local2._name === _local3) & (typeof(_local2) === "movieclip")) & (_local2._parent === this._parent)) {
_local4 = (((_local2.getDepth() + 1) < 1) ? (_local4 = 1) : "");
break;
}
}
_local4 = ((!_local4) ? 1 : (_local4));
this.swapDepths(_local4);
removeMovieClip(this);
};
movieclip.prototype.RemoveAllClip = function () {
for (z in this) {
if (((typeof(this[z]) == "movieclip") && (this[z] != _parent)) && (this[z] != this)) {
this[z].removeMovieClip();
}
}
};
Frame 651
stop();
Instance of Symbol 3 MovieClip "pants" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1.1;
}
Instance of Symbol 3 MovieClip "knee1" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 3 MovieClip "foot1" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 3 MovieClip "knee2" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.9;
}
Instance of Symbol 3 MovieClip "foot2" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.8;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot1;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.3;
this.p3 = _parent.foot2;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.3;
this.maxang = 0.1;
this.p3 = _parent.pants;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.3;
this.maxang = 2.1;
this.p3 = _parent.stomach;
}
Instance of Symbol 3 MovieClip "stomach" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 3 MovieClip "head" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 1;
}
Instance of Symbol 3 MovieClip "arm2" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 3 MovieClip "hand2" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 3 MovieClip "arm1" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 3 MovieClip "hand1" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 3 MovieClip "neck" in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "particle";
this.mass = 0.5;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.5;
this.maxang = 1;
this.p3 = _parent.head;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1;
this.maxang = 0.5;
this.p3 = _parent.stomach;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand1;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.6;
this.maxang = 0.1;
this.p3 = _parent.hand2;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.1;
this.maxang = 2.6;
this.p3 = _parent.neck;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.pants;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee2;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -0.4;
this.maxang = 0.4;
this.p3 = _parent.neck;
}
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -2.1;
this.maxang = 0.3;
this.p3 = _parent.knee1;
}
Instance of Symbol 5 MovieClip in Symbol 6 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 5 MovieClip in Symbol 6 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 5 MovieClip in Symbol 6 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 5 MovieClip in Symbol 6 MovieClip [guy] Frame 1
onClipEvent (load) {
this.is = "angledConstraint";
this.minang = -1.570796;
this.maxang = 0;
this.p3 = _parent.arm1;
this.inversed = true;
}
Symbol 59 MovieClip Frame 14
stop();
Symbol 163 Button
on (release) {
getURL ("http://www.flashfunpages.com");
}
Symbol 181 Button
on (release) {
stopAllSounds();
mysound = new Sound(this);
mysound.attachSound("m\u00FCzik");
mysound.start(0, 100);
gotoAndPlay ("frame_startlelf");
}
Symbol 331 Button
on (release) {
gotoAndPlay (1);
}
Symbol 337 Button
on (release) {
getURL ("http://www.laughnetwork.com");
}