Combined Code
movieClip 5 {
}
movieClip 6 spark2 {
frame 16 {
this.removeMovieClip();
}
}
movieClip 7 spark {
frame 16 {
this.removeMovieClip();
}
}
frame 1 {
stop();
}
movieClip 13 {
frame 25 {
stop();
}
}
movieClip 17 {
}
movieClip 20 {
}
movieClip 21 {
frame 100 {
stop();
}
instance of movieClip 20 {
onClipEvent (press) {
_root.gotoAndStop(2);
}
}
}
instance of movieClip 21 {
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
progress = '' + percent + '%';
gotoAndStop(percent);
}
}
frame 2 {
function addSparkles(_targetX, _targetY, _sparkNumber, _distance, _sparkSize) {
var v6 = 0;
while (v6 < _sparkNumber) {
var v4 = _root.attachMovie('spark', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
var v3 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = _targetX + random(_distance) - _distance / 2;
v4._y = _targetY + random(_distance) - _distance / 2;
v3._x = _targetX + random(_distance) - _distance / 2;
v3._y = _targetY + random(_distance) - _distance / 2;
var v5 = random(_sparkSize) + _sparkSize / 4;
v4._xscale = v5;
v4._yscale = v5;
v5 = random(_sparkSize) + _sparkSize / 4;
v3._xscale = v5;
v3._yscale = v5;
v3._rotation = random(359);
v4._alpha = random(sparkAlpha) + sparkAlpha / 4;
v3._alpha = random(sparkAlpha) + sparkAlpha / 4;
++v6;
}
}
var sparkNumber = 3;
var sparkDistance = 6;
var sparkSize = 100;
var sparkAlpha = 100;
mouseListener = new Object();
mouseListener.onMouseDown = function () {
addSparkles(_xmouse, _ymouse, sparkNumber, sparkDistance, sparkSize);
};
Mouse.addListener(mouseListener);
}
frame 2 {
function createExplosion(targetX, targetY) {
var v6 = 0;
while (v6 < particleTotal) {
var v5 = flash.display.BitmapData.loadBitmap('fire.jpg');
var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth());
var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth());
v4._x = -v5.width / 2;
v4._y = -v5.height / 2;
v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never', true);
v3._x = targetX;
v3._y = targetY;
v3._rotation = random(360);
v3._alpha = random(50) + 50;
v3.boundyLeft = targetX - particleRange;
v3.boundyTop = targetY - particleRange;
v3.boundyRight = targetX + particleRange;
v3.boundyBottom = targetY + particleRange;
v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed);
v3.speedY = Math.random(particleMaxSpeed);
v3.speedY += gravity;
v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed;
++numberOfParticles;
v3.onEnterFrame = function () {
this._alpha -= this.fadeSpeed;
this._x += this.speedX;
this._y += this.speedY;
if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) {
this.removeMovieClip();
--numberOfParticles;
}
};
++v6;
}
}
var particleMaxSpeed = 1;
var particleFadeSpeed = 155;
var particleTotal = 1;
var particleRange = 150;
var gravity = 1;
mouseListener = new Object();
mouseListener.onMouseDown = function () {};
mouseListener.onMouseMove = function () {
createExplosion(_xmouse, _ymouse);
};
Mouse.addListener(mouseListener);
}
frame 2 {
stop();
}
// unknown tag 88 length 62
button 31 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 33 {
}
movieClip 37 {
}
button 40 {
on (release) {
gotoAndPlay(2);
}
}
movieClip 41 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
this._height = int(Math.random() * 14) + 1;
this._y = 2 + (15 - this._height / 2);
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
this._height = int(Math.random() * 14) + 1;
this._y = 2 + (15 - this._height / 2);
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
this._height = int(Math.random() * 14) + 1;
this._y = 2 + (15 - this._height / 2);
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
this._height = int(Math.random() * 14) + 1;
this._y = 2 + (15 - this._height / 2);
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
this._height = int(Math.random() * 14) + 1;
this._y = 2 + (15 - this._height / 2);
}
}
}
movieClip 51 {
}
instance of movieClip 51 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 242.5 && this._x < 300 && this._y > 235 && this._y < 310) {
this._x = 273.5;
this._y = 268.9;
}
dragging = false;
}
}
movieClip 59 {
}
instance of movieClip 59 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 372.3 && this._x < 442.3 && this._y > 135 && this._y < 185) {
this._x = 412.3;
this._y = 159;
}
dragging = false;
}
}
movieClip 62 {
}
instance of movieClip 62 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 236.5 && this._x < 320 && this._y > 160.8 && this._y < 372.8) {
this._x = 279.5;
this._y = 266.8;
}
dragging = false;
}
}
movieClip 65 {
}
instance of movieClip 65 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 380 && this._x < 508 && this._y > 540 && this._y < 900) {
this._x = 441.5;
this._y = 728;
}
dragging = false;
}
}
movieClip 68 {
}
instance of movieClip 68 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 380 && this._x < 508 && this._y > 540 && this._y < 900) {
this._x = 441.5;
this._y = 728;
}
dragging = false;
}
}
movieClip 71 {
}
instance of movieClip 71 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 314 && this._x < 506.6 && this._y > 851 && this._y < 897) {
this._x = 460.6;
this._y = 876;
}
dragging = false;
}
}
movieClip 74 {
}
instance of movieClip 74 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 267 && this._x < 307 && this._y > 247 && this._y < 330) {
this._x = 287;
this._y = 290;
}
dragging = false;
}
}
movieClip 77 {
}
instance of movieClip 77 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 351 && this._x < 496 && this._y > 209.4 && this._y < 402) {
this._x = 425;
this._y = 309.4;
}
dragging = false;
}
}
movieClip 80 {
}
instance of movieClip 80 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 350 && this._x < 490.5 && this._y > 280 && this._y < 420) {
this._x = 423.5;
this._y = 350.5;
}
dragging = false;
}
}
movieClip 83 {
}
instance of movieClip 83 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 344.8 && this._x < 524.7000000000001 && this._y > 210.4 && this._y < 330) {
this._x = 434.7;
this._y = 270.4;
}
dragging = false;
}
}
movieClip 86 {
}
instance of movieClip 86 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 346 && this._x < 528 && this._y > 408 && this._y < 499) {
this._x = 437.4;
this._y = 457.6;
}
dragging = false;
}
}
movieClip 89 {
}
instance of movieClip 89 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 346 && this._x < 528 && this._y > 408 && this._y < 499) {
this._x = 437.4;
this._y = 457.6;
}
dragging = false;
}
}
movieClip 92 {
}
instance of movieClip 92 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 346 && this._x < 528 && this._y > 408 && this._y < 499) {
this._x = 437.4;
this._y = 457.6;
}
dragging = false;
}
}
movieClip 95 {
}
instance of movieClip 95 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 346 && this._x < 528 && this._y > 408 && this._y < 499) {
this._x = 436;
this._y = 453;
}
dragging = false;
}
}
movieClip 98 {
}
instance of movieClip 98 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 346 && this._x < 528 && this._y > 408 && this._y < 499) {
this._x = 453.5;
this._y = 446.9;
}
dragging = false;
}
}
movieClip 101 {
}
instance of movieClip 101 {
onClipEvent (press) {
startDrag('', false);
dragging = true;
}
onClipEvent (release, releaseOutside) {
stopDrag();
dragging = false;
if (this._x > 336 && this._x < 533.5 && this._y > 395 && this._y < 505) {
this._x = 443.5;
this._y = 451;
}
dragging = false;
}
}
movieClip 106 {
}
movieClip 109 {
}
movieClip 110 {
}