Frame 1
osszMeret = this.getBytesTotal();
keszMeret = this.getBytesLoaded();
szazalek = Math.round(int((keszMeret / osszMeret) * 100));
szazalekKiir = szazalek + "%";
if (_framesloaded >= _totalframes) {
gotoAndPlay (3);
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._height = _root.egyes._width;
}
Instance of Symbol 19 MovieClip "egyes" in Frame 1
onClipEvent (enterFrame) {
this._width = Math.round(40 - (0.4 * _root.szazalek));
}
Frame 2
if (_framesloaded >= _totalframes) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
movieclip.prototype.rezges = function (szorzo, xNyujt, yNyujt, arany) {
sX = Number(sX * szorzo) + Number((xNyujt - this._xscale) * arany);
sY = Number(sY * szorzo) + Number((yNyujt - this._yscale) * arany);
this._xscale = this._xscale + sX;
this._yscale = this._yscale + sY;
};
stop();
mehet = function () {
gotoAndPlay (5);
};
_focusrect = false;
Instance of Symbol 22 MovieClip "keret" in Frame 3
onClipEvent (load) {
this._xscale = 10;
this._yscale = 10;
this.novekedes = function () {
this._yscale = this._xscale;
if (this._xscale >= 100) {
this._xscale = 100;
this._width = 400;
this._height = 400;
trace("letezik");
_root.logo.mehet = true;
delete this.novekedes;
} else {
this._xscale = this._xscale + (((100 - this._xscale) / 5) + 1);
}
};
}
onClipEvent (enterFrame) {
this.novekedes.apply(this);
}
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._alpha = _root.keret._xscale - 80;
}
Instance of Symbol 30 MovieClip "kep" in Frame 3
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 14 MovieClip "nyil" in Frame 3
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (latszik) {
this.rezges(0.6, 35, 35, 0.5);
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 43 MovieClip "playButton" in Frame 3
onClipEvent (load) {
this._visible = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.fadeIn) {
this._visible = 1;
this._alpha = this._alpha + ((100 - this._alpha) / 2);
this._xscale = this._alpha;
this._yscale = this._xscale;
if (this._alpha > 99) {
delete this.fadeIn;
}
}
if (this.fadeOut) {
this._alpha = this._alpha - (100 - this._alpha);
this._xscale = this._alpha;
this._yscale = this._xscale;
if (this._alpha < 1) {
delete this.fadeOut;
}
}
}
Instance of Symbol 45 MovieClip "logo" in Frame 3
onClipEvent (load) {
this.homex = this._x;
this._x = -this._width;
this.bejon = function () {
if (this.mehet) {
this._x = this._x + ((this.homex - this._x) / 2);
if (this._x >= (this.homex - 1)) {
trace("most ok!");
_root.kep._visible = 1;
_root.kep.play();
delete this.bejon;
}
}
};
}
onClipEvent (enterFrame) {
this.bejon.apply(this);
}
Instance of Symbol 22 MovieClip "keret" in Frame 5
onClipEvent (load) {
this._width = 400;
this._height = 400;
}
Frame 17
Frame 69
_root.szam = 3;
Frame 94
_root.szam = 2;
Frame 119
_root.szam = 1;
Frame 144
gotoAndStop (145);
Frame 145
stop();
_root.attachMovie("villodzas", "flashing", 0);
_root.flashing._x = 200;
_root.flashing._y = 200;
_root.kocka1._visible = 0;
_root.catchthis._visible = 0;
koszalas = function () {
this.onEnterFrame = function () {
if (Math.round(Math.random() * 33) == 2) {
this.bspeedx = Math.random() * 5;
this.bspeedy = Math.random() * 5;
this.celx = Math.floor((Math.random() * (400 - this._width)) + this._width);
this.cely = Math.floor((Math.random() * (400 - this._height)) + this._height);
}
this.diffx = this.celx - this._x;
this.diffy = this.cely - this._y;
this.speedx = Math.floor(this.bspeedx * this.diffx) / 100;
this.speedy = Math.floor(this.bspeedy * this.diffy) / 100;
this._x = this._x + this.speedx;
this._y = this._y + this.speedy;
updateAfterEvent();
if (this._name == _root.display) {
this.swapDepths(99);
}
if (this.hitTest(_root._xmouse, _root._ymouse, false) and (this._name == _root.display)) {
this._xscale = this._xscale + 50;
this._yscale = this._yscale + 50;
szar.start();
}
if (this._xscale > 200) {
this.play();
}
};
};
startGame = function () {
i = 1;
while (i < 34) {
kocka1.duplicateMovieClip(i, i);
koszalas.apply(_root[i]);
i++;
}
_root.display = 34 - (i - 1);
gomb._visible = 0;
_root.catchthis._visible = 1;
startTime = getTimer();
ido = "";
};
szar = new Sound();
szar.attachSound("vibra");
_root.onEnterFrame = function () {
if (_root.display > 33) {
jatekVege();
}
};
jatekVege = function () {
gomb._visible = 1;
endTime = getTimer();
ido = Math.round((endTime - startTime) / 1000);
idokiir = ido + " sec";
_root.score = _root.ido;
trace(ido);
_root.catchthis._visible = 0;
_root.display = "";
trace("nyert!");
gotoAndStop (146);
};
startGame();
Instance of Symbol 22 MovieClip "keret" in Frame 145
onClipEvent (load) {
this._width = 400;
this._height = 400;
}
Frame 146
stop();
_root.attachMovie("villodzas", "flashing", 0);
_root.flashing._x = 200;
_root.flashing._y = 200;
i = 1;
while (i < 33) {
_root[i].removeMovieClip();
i++;
}
loadVariablesNum ("hsproba.php", 0, "POST");
Instance of Symbol 22 MovieClip "keret" in Frame 146
onClipEvent (load) {
this._width = 400;
this._height = 400;
}
Instance of Symbol 24 MovieClip in Frame 146
onClipEvent (enterFrame) {
this._alpha = _root.keret._xscale - 80;
}
Instance of Symbol 45 MovieClip "logo" in Frame 146
onClipEvent (load) {
this.homex = this._x;
this._x = -this._width;
this.bejon = function () {
this._x = this._x + ((this.homex - this._x) / 2);
if (this._x >= (this.homex - 1)) {
trace("most ok!");
_root.kep._visible = 1;
_root.kep.play();
delete this.bejon;
}
};
}
onClipEvent (enterFrame) {
this.bejon.apply(this);
}
Instance of Symbol 57 MovieClip in Frame 146
onClipEvent (load) {
this._alpha = 0;
this._xscale = 300;
this.nov = function () {
this._yscale = this._xscale;
if (this._xscale <= 100) {
this._xscale = 100;
this._alpha = 100;
this._yscale = 100;
this._rotation = 0;
delete this.nov;
updateAfterEvent();
} else {
this._xscale = this._xscale - (this._xscale / 5);
this._alpha = this._xscale;
this._yscale = 100 - this._xscale;
}
};
}
onClipEvent (enterFrame) {
this.nov.apply(this);
}
Symbol 3 MovieClip [villodzas] Frame 5
stop();
removeMovieClip(this);
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 2
this._xscale = 50;
this._yscale = 50;
this._rotation = (Math.random() * 90) - 45;
Symbol 12 MovieClip Frame 6
_root.display = _root.display + 1;
Symbol 12 MovieClip Frame 7
this.removeMovieClip();
Instance of Symbol 12 MovieClip "1" in Symbol 17 MovieClip [demo] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.demo.demoNyil")) {
this._visible = 0;
}
}
Instance of Symbol 12 MovieClip "2" in Symbol 17 MovieClip [demo] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.demo.demoNyil")) {
this._visible = 0;
}
}
Instance of Symbol 12 MovieClip "3" in Symbol 17 MovieClip [demo] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest("_root.demo.demoNyil")) {
this._visible = 0;
}
}
Instance of Symbol 14 MovieClip "demoNyil" in Symbol 17 MovieClip [demo] Frame 1
/* no clip actions */
Symbol 17 MovieClip [demo] Frame 140
removeMovieClip(this);
Symbol 22 MovieClip Frame 1
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 20
_root.nyil.latszik = true;
_root.logo.mehet = true;
_root.inputSection.play();
stop();
Symbol 30 MovieClip Frame 21
_root.nyil.latszik = false;
_root.playButton.fadeOut = true;
Symbol 30 MovieClip Frame 45
this._visible = 0;
_root.mehet();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 35
Symbol 34 MovieClip Frame 40
Selection.setFocus("nevInput");
_root.urites = new Object();
_root.urites.onMouseMove = function () {
if (_root.username == "your name") {
_root.username = "";
}
Mouse.removeListener(_root.urites);
};
Mouse.addListener(_root.urites);
Symbol 34 MovieClip Frame 45
_root.playButton.fadeIn = true;
Symbol 34 MovieClip Frame 50
stop();
Symbol 37 Button
on (release, releaseOutside, keyPress "<Enter>") {
if (_root.username == "") {
_root.username = "Anonymus";
}
_root.kep.play();
_root.kep._visible = 1;
_root.inputSection.onEnterFrame = function () {
this._xscale = _root.playButton._xscale;
this._yscale = this._xscale;
this._alpha = this._xscale;
};
_root.logo.onEnterFrame = function () {
if (this._x <= (-this._width)) {
this._x = this._x;
} else {
this._x = this._x - ((400 - this._x) / 3);
}
};
}
Symbol 38 Button
on (press) {
_root.attachMovie("demo", "demo", 0);
_root.demo._x = 200;
_root.demo._y = 200;
}
Symbol 58 Button
on (release, releaseOutside) {
gotoAndPlay (5);
}