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.
var movie = (document.all?) document.getElementById("flashfilm") : document["flashfilm"];
movie.setVariable("js_text", "Hallo Flash!");
this.watch("js_text", onJs);
function onJs(id, oval, nval) {
textfeld.text = nval;
return nval;
}
import flash.external.*;
var methodName:String = "showText";
var instance:Object = null;
var method:Function = showJsText;
var wasSuccessful:Boolean = ExternalInterface.addCallback(methodName, instance, method);
function showJsText(str) {
txtField.text = str;
}
function sendTextToFlash(str) {
thisMovie("flasMovie").showText(str);
}
function thisMovie(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName]
}
else {
return document[movieName]
}
}