Combined Code
frame 1 {
myDT = new Date();
myTM = myDT.getTime();
myLV = new LoadVars();
myLV.onLoad = function (Seikou) {
if (Seikou) {
i = 1;
while (i <= 5) {
_root.motionbnr.mizu['load_mc' + i].enabled = true;
++i;
}
}
};
myLV.load('http://www.pairon.jp/flash/data.txt?time=' + myTM, '0');
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
button 20 {
on (rollOver) {
this.gotoAndStop('bnr1');
}
}
button 23 {
on (rollOver) {
this.gotoAndStop('bnr2');
}
}
button 26 {
on (rollOver) {
this.gotoAndStop('bnr3');
}
}
button 29 {
on (rollOver) {
this.gotoAndStop('bnr4');
}
}
button 32 {
on (rollOver) {
this.gotoAndStop('bnr5');
}
}
movieClip 33 {
frame 1 {
load_mc._alpha = 100;
var jpgArr = new Array();
jpgArr[0] = 'http://www.pairon.jp/flash/r1.jpg?time=' + myTM;
'0';
var timing = 7.5;
var fps = 18;
var spd = 8;
load_mc._alpha = 0;
var time;
var cnt = 0;
var timeLag = 6000 * timing - 3600000 / spd / fps;
var loadOBJ = new Object();
var loadMCL = new MovieClipLoader();
loadOBJ.onLoadInit = function (target) {
this.addChild(target);
time = getTimer();
target.onEnterFrame = function () {
if (getTimer() - time < timeLag && this._alpha < 100) {
this._alpha += spd;
} else {
if (getTimer() - time < timeLag) {
this._alpha = 100;
} else {
this._alpha -= spd;
if (this._alpha < 0) {
if (cnt < jpgArr.length - 1) {
++cnt;
} else {
cnt = 0;
}
loadMCL.loadClip(jpgArr[cnt], load_mc);
delete this.onEnterFrame;
}
}
}
};
};
loadMCL.addListener(loadOBJ);
loadMCL.loadClip(jpgArr[0], load_mc1);
}
instance load_mc1 of movieClip 11 {
onClipEvent (release) {
this.getURL(_root.myLV.url1, _root.myLV.target1);
}
}
frame 2 {
stop();
setTimeout(function () {
play();
}, 5000);
}
frame 3 {
jpgArr[1] = 'http://www.pairon.jp/flash/r2.jpg?time=' + myTM;
'0';
var timing = 7.5;
var fps = 18;
var spd = 8;
load_mc._alpha = 0;
var time;
var cnt = 0;
var timeLag = 6000 * timing - 3600000 / spd / fps;
var loadOBJ = new Object();
var loadMCL = new MovieClipLoader();
loadOBJ.onLoadInit = function (target) {
this.addChild(target);
time = getTimer();
target.onEnterFrame = function () {
if (getTimer() - time < timeLag && this._alpha < 100) {
this._alpha += spd;
} else {
if (getTimer() - time < timeLag) {
this._alpha = 100;
} else {
this._alpha -= spd;
if (this._alpha < 0) {
if (cnt < jpgArr.length - 1) {
++cnt;
} else {
cnt = 0;
}
loadMCL.loadClip(jpgArr[cnt], load_mc);
delete this.onEnterFrame;
}
}
}
};
};
loadMCL.addListener(loadOBJ);
loadMCL.loadClip(jpgArr[1], load_mc2);
}
instance load_mc2 of movieClip 11 {
onClipEvent (release) {
this.getURL(_root.myLV.url2, _root.myLV.target2);
}
}
frame 4 {
stop();
setTimeout(function () {
play();
}, 5000);
}
frame 5 {
jpgArr[2] = 'http://www.pairon.jp/flash/r3.jpg?time=' + myTM;
'0';
var timing = 7.5;
var fps = 18;
var spd = 8;
load_mc._alpha = 0;
var time;
var cnt = 0;
var timeLag = 6000 * timing - 3600000 / spd / fps;
var loadOBJ = new Object();
var loadMCL = new MovieClipLoader();
loadOBJ.onLoadInit = function (target) {
this.addChild(target);
time = getTimer();
target.onEnterFrame = function () {
if (getTimer() - time < timeLag && this._alpha < 100) {
this._alpha += spd;
} else {
if (getTimer() - time < timeLag) {
this._alpha = 100;
} else {
this._alpha -= spd;
if (this._alpha < 0) {
if (cnt < jpgArr.length - 1) {
++cnt;
} else {
cnt = 0;
}
loadMCL.loadClip(jpgArr[cnt], load_mc);
delete this.onEnterFrame;
}
}
}
};
};
loadMCL.addListener(loadOBJ);
loadMCL.loadClip(jpgArr[2], load_mc3);
}
instance load_mc3 of movieClip 11 {
onClipEvent (release) {
this.getURL(_root.myLV.url3, _root.myLV.target3);
}
}
frame 6 {
stop();
setTimeout(function () {
play();
}, 5000);
}
frame 7 {
jpgArr[3] = 'http://www.pairon.jp/flash/r4.jpg?time=' + myTM;
'0';
var timing = 7.5;
var fps = 18;
var spd = 8;
load_mc._alpha = 0;
var time;
var cnt = 0;
var timeLag = 6000 * timing - 3600000 / spd / fps;
var loadOBJ = new Object();
var loadMCL = new MovieClipLoader();
loadOBJ.onLoadInit = function (target) {
this.addChild(target);
time = getTimer();
target.onEnterFrame = function () {
if (getTimer() - time < timeLag && this._alpha < 100) {
this._alpha += spd;
} else {
if (getTimer() - time < timeLag) {
this._alpha = 100;
} else {
this._alpha -= spd;
if (this._alpha < 0) {
if (cnt < jpgArr.length - 1) {
++cnt;
} else {
cnt = 0;
}
loadMCL.loadClip(jpgArr[cnt], load_mc);
delete this.onEnterFrame;
}
}
}
};
};
loadMCL.addListener(loadOBJ);
loadMCL.loadClip(jpgArr[3], load_mc4);
}
instance load_mc4 of movieClip 11 {
onClipEvent (release) {
this.getURL(_root.myLV.url4, _root.myLV.target4);
}
}
frame 8 {
stop();
setTimeout(function () {
play();
}, 5000);
}
frame 9 {
jpgArr[4] = 'http://www.pairon.jp/flash/r5.jpg?time=' + myTM;
'0';
var timing = 7.5;
var fps = 18;
var spd = 8;
load_mc._alpha = 0;
var time;
var cnt = 0;
var timeLag = 6000 * timing - 3600000 / spd / fps;
var loadOBJ = new Object();
var loadMCL = new MovieClipLoader();
loadOBJ.onLoadInit = function (target) {
this.addChild(target);
time = getTimer();
target.onEnterFrame = function () {
if (getTimer() - time < timeLag && this._alpha < 100) {
this._alpha += spd;
} else {
if (getTimer() - time < timeLag) {
this._alpha = 100;
} else {
this._alpha -= spd;
if (cnt < jpgArr.length - 1) {
if (this._alpha < 0) {
++cnt;
} else {
cnt = 0;
}
loadMCL.loadClip(jpgArr[cnt], load_mc);
delete this.onEnterFrame;
}
}
}
};
};
loadMCL.addListener(loadOBJ);
loadMCL.loadClip(jpgArr[4], load_mc5);
}
instance load_mc5 of movieClip 11 {
onClipEvent (release) {
this.getURL(_root.myLV.url5, _root.myLV.target5);
}
}
frame 10 {
stop();
setTimeout(function () {
gotoAndPlay('bnr1');
}, 5000);
}
}