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.
function doIt(_cb) {
trace("step: " + a);
if (_cb) {
doIt_init = 0;
doIt_cb = _cb;
}
a --;
if (a == 0) {
doIt_cb();
} else {
doIt_init ++;
if (doIt_init < 250) {
doIt();
} else {
this.onEnterFrame = function() {
delete this.onEnterFrame;
doIt_init = 0;
trace("-- frame --");
doIt();
}
}
}
}
var a = 300;
doIt(onFinished);
function onFinished() {
trace("Result: " + a);
}