Combined Code
movieClip 2 loadingBar {
}
instance loadingBar of movieClip 2 loadingBar {
onClipEvent (load) {
_root.loadingBar._xscale = 100;
percent = 0;
}
onClipEvent (enterFrame) {
_root._quality = 'BEST';
percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadingBar._xscale = 100 - percent;
if (percent >= 100) {
_root.play();
} else {
_root.stop();
}
}
}
movieClip 51 {
}
// unknown tag 88 length 106
frame 2 {
stop();
}
// unknown tag 88 length 75
movieClip 60 {
}
movieClip 61 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 68 {
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 85 {
}
movieClip 86 {
frame 1 {
function createWater(target) {
target.counter = 1;
target.pt = new flash.geom.Point(0, 0);
target.mpoint = new flash.geom.Point(0, 0);
target.myBitmap = new flash.display.BitmapData(target._width, target._height, false, 0);
target.myDispl = new flash.filters.DisplacementMapFilter(target.myBitmap, target.mpoint, 6, 2, 5, 8, 'clamp');
target.myList = new Array();
target.myList.push(target.myDispl);
target.filters = target.myList;
target.onEnterFrame = function () {
filterList = target.filters;
offset = new Array();
offset[1] = new Object();
offset[1].x = target.counter;
offset[1].y = target.counter / 8;
target.myBitmap.perlinNoise(35, 5, 3, 50, true, false, 7, true, offset);
filterList.mapBitmap = target.myBitmap;
target.filters = filterList;
++target.counter;
};
}
createWater(watery);
createWater(yellowFish);
}
}