flash

Dynamic call to functions

You may come in a situation, where you need to call a function of which you do not know the name. Lets say, you have a swicth, there turns functionality on or off. If the switch is on, you call functionA() and you call functionB() if it's set to off. To do that, you can use the array acces operator (square brackets) to access the function at a specific scope. Take a look at the following:

Lukning af Flash overlay på en HTML side

Denne video viser hvordan du lukker en flashfilm, der er lagt ind over en html-tekst. Den viser både, hvordan flashfilmen kan vises eller skjules via JavaScript go et link, samt hvordan du bruger klassen ExternalInterface til at kalde JavaScript funktioner inde fra selve flashfilmen.
Vedhæftet er en vejledende løsning

Pages