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.
stop ();
fsLoc = SharedObject.getLocal ("fscookie");
if (fsLoc.data.name != null)
{
benutzername.text = fsLoc.data.name;
}
else
{
benutzername.text = "#Name Bitte !#";
fsLoc.data.zaehler = 1;
}
fsLoc.data.zaehler++;
//Alles Löschen
erase.onRelease = function ()
{
_root.fsLoc.data.name = null;
_root.fsLoc.data.zaehler = null;
_root.benutzername.text = "#Name Bitte !#";
_root.fsLoc.flush ();
};
// Sichern
save.onRelease = function ()
{
_root.fsLoc.data.name = benutzername.text;
_root.fsLoc.flush ();
};
fsLoc = SharedObject.getLocal (name_so.text);
stop ();
los_button.onRelease = function ()
{
// Erstellen des Shared Objekt
fsLoc = SharedObject.getLocal (benutzer.text);
//überprüfen ob SO schon vorhanden
if (fsLoc.data.name != null)
{
inhalt.text = fsLoc.data.name;
}
else
{
inhalt.text = "#Name Bitte !#";
fsLoc.data.zaehler = 1;
}
fsLoc.data.zaehler++;
};