fixing bug in timer types

This commit is contained in:
underscorediscovery
2013-08-21 06:32:03 -02:30
parent 7880fc78b2
commit 3fff1b6af2

View File

@@ -13,7 +13,7 @@ class Timer {
/**
Create a new timer that will run every [time_ms] (in milliseconds).
**/
public function new( time_ms : Int ){
public function new( time_ms : Float ){
#if flash9
var me = this;
id = untyped __global__["flash.utils.setInterval"](function() { me.run(); },time_ms);