Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
sicher:Ist so etwas mit Actionscript möglich?
var inLibrary = new Array("clip1", "clip2", "clip3", "clip4");
var symbol = this.attachMovie(inLibrary[int(Math.random() * inLibrary.length)], "sym", this.getNextHighestDepth());
symbol._x = Math.random() * Stage.width;
symbol._y = Stage.width;
this.onEnterFrame = function() {
symbol._y -= 2;
if (symbol._y < -symbol._height) delete this.onEnterFrame;
}
symbol._y = Stage.height;
Logo.onEnterFrame = function()
{
this._alpha += (0 - this._alpha)/20;
if (this._alpha <= 20)
{
this._alpha = 20;
delete this.onEnterFrame;
}
}
do
{
symbol._y -= 30;
if (symbol._y < -symbol._height) delete this.onEnterFrame;
}while(keyListener);