Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
this.onEnterFrame = function() {
if (meinclip._currentframe == meinclip._totalframes) {
// hier nächsten Clip anzeigen
delete this.onEnterFrame;
}
}
stop();
// weitere Ani starten
on (release) {
if (_root.block._visible == false) {
_root.block._visible = true;
_root.block.gotoAndPlay (1);
} else {
_root.block._visible = false;
}
}
Mir ist gerade noch was eingefallen:
Ich muss ja irgendwie prüfen, ob ein Fenster offen ist! Ich könnte dies ja mit einer IF-Funktion tun:PHP:if (_root.block_aikido._visible == true) { _root.block_close_aikido.gotoAndPlay (1); }
Das würde aber heissen, dass ich das für jedes einzelne Fenster machen müsste! Wenn ich 10 Links habe, dan muss ich 10x prüfen, ob irgend ein Fenster der 10 Links offen ist. Das kann es ja nicht wirklich sein.
Gibts da ned ne lösung mit einer Variabel oder so?
Danke schön
Pinky