Skip to content

Instantly share code, notes, and snippets.

@FlorianPalme
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianPalme/9581184 to your computer and use it in GitHub Desktop.
Save FlorianPalme/9581184 to your computer and use it in GitHub Desktop.
Actionscript 3 Timeout
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