|
|
|
AS2 ein Interval Timer Variante 2 mit Eingabetextfeld
AS2 Intervall Timer mit Eingabetextfeld
--------------------------------------------
zwei leere Schlüsselbilder
<<<<<<<<<<<<<<<<<<<<<<<<<<
ins 1. Schlüsselbild
---------------------
1 Eingabetextfeld mit var.: eingabe
1 dyn. Textfeld mit var.: timer
-----------------------------------
stop();
eingabe = eingabe;
timer = eingabe;
countdown = function () {
if (timer<=0) {
clearInterval(countdownInterval);
}
_root.timer--;
if (_root.timer<0) {
gotoAndStop(2);
}
};
countdownInterval = setInterval(countdown, 1000);
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ein dyn. TF mit Var: timer2 im 2. SB
------------------------------------
stop();
timer2 = 5;
countdown2 = function () {
if (timer2<=0) {
clearInterval(countdown2Interval);
}
_root.timer2--;
if (_root.timer2<0) {
gotoAndStop(1);
}
};
countdown2Interval = setInterval(countdown2, 1000);
|
|
|
|
|
|
|
Heute waren schon 14 Besucher hier!
|
|
|
|
|
Hier könnt ihr den aktuellen
Flash Player herunter laden.
 |
|
|
|
|
|
|
|
|