Chapter 22 Example 1

by actionscriptbible
♥0 | Line 11 | Modified 2009-07-02 04:04:04 | MIT License
play

ActionScript3 source code

/**
 * Copyright actionscriptbible ( http://wonderfl.net/user/actionscriptbible )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/laP2
 */

package {
  import com.actionscriptbible.Example;
  import flash.utils.Timer;
  
  public class ch22ex1 extends Example {
    public static const TIMER_DELAY:Number = 1 * 1000;
    public var timer:Timer;
    
    public function ch22ex1() {
      timer = new Timer(TIMER_DELAY, 10);
    }
  }
}

Forked