Frame 1
function setTextFormat(textObject) {
var _local1 = new TextFormat();
_local1.size = 100;
_local1.letterSpacing = 15;
_local1.font = "Arial Narrow";
_local1.color = 16777215 /* 0xFFFFFF */;
_local1.align = "right";
textObject.setTextFormat(_local1);
}
function setTextFormat2(textObject) {
var _local1 = new TextFormat();
_local1.size = 18;
_local1.letterSpacing = 3;
_local1.font = "Segoe UI Light";
_local1.color = 16777215 /* 0xFFFFFF */;
_local1.align = "right";
textObject.setTextFormat(_local1);
}
function assignMasks() {
ploader.infoText.setMask(ploader.iTM);
ploader.tcont.setMask(ploader.tmask);
ploader.lines.setMask(ploader.linesMask);
}
function easeInQuad(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
function preload() {
var _local3 = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
ploader.tcont.T.text = _local3;
setTextFormat(ploader.tcont.T);
if (_local3 == 100) {
var startPos = ploader.infoText._y;
var timeCount = 0;
ploader.infoText.onEnterFrame = function () {
this._y = easeInQuad(timeCount++, startPos, -55, 10);
if (timeCount >= 10) {
delete this.onEnterFrame;
isLoaded = true;
this.iT.text = "Play";
setTextFormat2(this.iT);
this._y = 120;
this.onEnterFrame = function () {
this._y = 93 - ((93 - this._y) / 1.1);
if (this._y == 93) {
delete this.onEnterFrame;
}
};
}
};
clearInterval(Int);
}
}
function onMouseDown() {
if (isLoaded) {
_root.play();
unloadMovie (bgGrad);
unloadMovie (lines);
unloadMovie (linesMask);
unloadMovie (tcont);
unloadMovie (tmask);
unloadMovie (infoText);
unloadMovie (iT);
unloadMovie (iTM);
unloadMovie (ploader);
unloadMovie (pre_bgmc);
delete preload;
delete easeInQuad;
delete setTextFormat;
delete setTextFormat2;
delete blurData;
delete isLoaded;
delete Int;
delete onMouseDown;
}
}
stop();
blurData = new flash.display.BitmapData(Stage.width + 20, Stage.height + 20);
blurData.draw(_root, new flash.geom.Matrix(1, 0, 0, 1, 10, 10));
this.createEmptyMovieClip("pre_bgmc", this.getNextHighestDepth());
pre_bgmc._x = -10;
pre_bgmc._y = -10;
pre_bgmc.attachBitmap(blurData, 1);
pre_bgmc.filters = [new flash.filters.BlurFilter(10, 10, 2)];
this.createEmptyMovieClip("ploader", this.getNextHighestDepth());
ploader._x = 0;
ploader._y = Stage.height - 150;
ploader.createEmptyMovieClip("bgGrad", ploader.getNextHighestDepth());
ploader.bgGrad.cacheAsBitmap = true;
ploader.bgGrad._x = -ploader._x;
ploader.bgGrad._y = Stage.height - ploader._y;
with (ploader.bgGrad) {
fillType = "linear";
colors = [6710886, 0];
alphas = [0, 75];
ratios = [0, 255];
matrix = {matrixType:"box", x:0, y:-200, w:200, h:200, r:(Math.PI/2)};
lineStyle(1, 0, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(0, 0);
lineTo(Stage.width, 0);
lineTo(Stage.width, -200);
lineTo(0, -200);
lineTo(0, 0);
endFill();
}
ploader.createEmptyMovieClip("lines", ploader.getNextHighestDepth());
ploader.lines.cacheAsBitmap = true;
ploader.lines._x = Stage.width;
ploader.lines._y = 80;
ploader.lines.lineStyle(1, 16777215);
var i = 0;
while (i < 75) {
ploader.lines.moveTo(i * -5, 0);
ploader.lines.lineTo((i * -5) + 50, 50);
i++;
}
ploader.createEmptyMovieClip("linesMask", ploader.getNextHighestDepth());
ploader.linesMask.cacheAsBitmap = true;
with (ploader.linesMask) {
fillType = "linear";
colors = [0, 0];
alphas = [0, 80];
ratios = [0, 255];
matrix = {matrixType:"box", x:Stage.width - 325, y:0, w:200, h:15, r:0};
lineStyle(1, 0, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(0, 80);
lineTo(Stage.width, 80);
lineTo(Stage.width, 90);
lineTo(0, 90);
lineTo(0, 80);
endFill();
alphas = [0, 25];
lineStyle(1, 0, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(0, 90);
lineTo(Stage.width, 90);
lineTo(Stage.width, 130);
lineTo(0, 130);
lineTo(0, 90);
endFill();
}
ploader.createEmptyMovieClip("tcont", ploader.getNextHighestDepth());
ploader.tcont.cacheAsBitmap = true;
ploader.tcont._x = Stage.width - 400;
var T = ploader.tcont.createTextField("T", ploader.tcount.getNextHighestDepth(), 0, 0, 400, 100);
T.text = "0";
T.selectable = false;
setTextFormat(T);
ploader.createEmptyMovieClip("tmask", ploader.getNextHighestDepth());
ploader.tmask.cacheAsBitmap = true;
ploader.tmask._x = Stage.width - 200;
with (ploader.tmask) {
fillType = "linear";
colors = [0, 0];
alphas = [0, 50];
ratios = [0, 255];
matrix = {matrixType:"box", x:0, y:68, w:200, h:15, r:-1.5707963267949};
lineStyle(1, 0, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(0, 0);
lineTo(200, 0);
lineTo(200, 80);
lineTo(0, 80);
lineTo(0, 0);
endFill();
}
ploader.createEmptyMovieClip("infoText", ploader.getNextHighestDepth());
ploader.infoText.cacheAsBitmap = true;
ploader.infoText._x = Stage.width - 415;
ploader.infoText._y = 95;
var iT = ploader.infoText.createTextField("iT", ploader.infoText.getNextHighestDepth(), 0, 0, 400, 100);
iT.text = "Loading...";
iT.selectable = false;
setTextFormat2(iT);
ploader.createEmptyMovieClip("iTM", ploader.getNextHighestDepth());
ploader.iTM.cacheAsBitmap = true;
ploader.iTM._x = Stage.width - 400;
ploader.iTM._y = 90;
with (ploader.iTM) {
fillType = "linear";
colors = [0, 0, 0, 0];
alphas = [0, 100, 100, 0];
ratios = [0, 75, 185, 255];
matrix = {matrixType:"box", x:0, y:0, w:200, h:50, r:-1.5707963267949};
lineStyle(1, 0, 0);
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(0, 0);
lineTo(400, 0);
lineTo(400, 50);
lineTo(0, 50);
lineTo(0, 0);
endFill();
}
assignMasks();
var isLoaded = false;
var Int = setInterval(preload, 100);
Frame 2
stop();
Symbol 39 MovieClip Frame 21
stop();