package Main{ import flash.display.Sprite; import flash.utils.*; import flash.events.*; public class Main extends Sprite { public static const TIMER_DELAY:Number = 1 * 1000; public var timer:Timer;
public function Main() { timer = new Timer(TIMER_DELAY, 10); } } }
Related Scripts with Example Source Code in same category :