Last active
August 29, 2015 13:57
-
-
Save FlorianPalme/9581184 to your computer and use it in GitHub Desktop.
Actionscript 3 Timeout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import flash.events.TimerEvent; | |
import flash.utils.Timer; | |
var myTimer:Timer = new Timer(5000); //Timer-Klasse, alle 5 Sekunden | |
myTimer.addEventListener(TimerEvent.TIMER, myFunction); //Welche Funktion soll alle x Sekunden aufgerufen werden? | |
myTimer.start(); //Den Timer starten |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment