Frame 2
function chanF() {
tx.stat.text = ((cv + " ") + Math.floor(_root[cv]._alpha)) + "%";
if (_root[cv]._alpha < 100) {
_root[cv]._alpha = _root[cv]._alpha + 4;
} else if (c < 10) {
c++;
cv = "image" + c;
} else {
clearInterval(chanIn);
tx.stat.text = "The End\nClick to play.";
ldd.start(0, 1);
c = 0;
cv = "image" + c;
ri = true;
Mouse.addListener(kuri);
}
updateAfterEvent();
}
stop();
var cam = new Sound();
cam.attachSound("cam");
var ldd = new Sound();
ldd.attachSound("ldd");
m = 0;
ri = false;
this.createEmptyMovieClip("tx", this.getNextHighestDepth());
tx.createTextField("stat", this.getNextHighestDepth(), Stage.width / 2, Stage.height / 2, 200, 80);
tx.stat.background = true;
var kuri = new Object();
kuri.onMouseDown = function () {
if (ri) {
i = 0;
while (i < 11) {
v = "image" + i;
_root[v]._alpha = 0;
i++;
}
} else {
tx.swapDepths(20);
tx.stat.text = "00";
tx.stat._height = 40;
tx.stat._width = 80;
tx._x = -(Stage.width / 2);
tx._y = -(Stage.height / 2);
}
chanIn = setInterval(chanF, 15);
Mouse.removeListener(kuri);
cam.start(0, 1);
};
var ml = new Object();
var mc = new MovieClipLoader();
ml.onLoadProgress = function (movie, loaded, total) {
tx.stat.text = ("loading " + movie._name) + newline;
tx.stat.text = tx.stat.text + ((Math.floor(loaded / 1024) + " of ") + Math.floor(total / 1024));
if (loaded == total) {
movie._alpha = 0;
if (m >= 10) {
tx.stat.text = tx.stat.text + "\n\nAll images loaded.\nClick to play.";
ldd.start(0, 1);
Mouse.addListener(kuri);
} else {
m++;
switch (m) {
case 1 :
v = "http://pictures.hentai-foundry.com/h/henti/93152.jpg";
break;
case 2 :
v = "http://pictures.hentai-foundry.com/h/henti/93155.jpg";
break;
case 3 :
v = "http://pictures.hentai-foundry.com/h/henti/93156.jpg";
break;
case 4 :
v = "http://pictures.hentai-foundry.com/h/henti/93289.jpg";
break;
case 5 :
v = "http://pictures.hentai-foundry.com/h/henti/93291.jpg";
break;
case 6 :
v = "http://pictures.hentai-foundry.com/h/henti/93292.jpg";
break;
case 7 :
v = "http://pictures.hentai-foundry.com/h/henti/93353.jpg";
break;
case 8 :
v = "http://pictures.hentai-foundry.com/h/henti/93355.jpg";
break;
case 9 :
v = "http://pictures.hentai-foundry.com/h/henti/93452.jpg";
break;
case 10 :
v = "http://pictures.hentai-foundry.com/h/henti/93453.jpg";
}
mv = "image" + m;
mc.loadClip(v, mv);
}
}
};
mc.addListener(ml);
i = 0;
while (i < 11) {
v = "image" + i;
this.createEmptyMovieClip(v, this.getNextHighestDepth());
i++;
}
mc.loadClip("http://pictures.hentai-foundry.com/h/henti/92947.jpg", image0);
c = 0;
cv = "image" + c;
var chanIn;