diff --git a/haxe/Timer.hx b/haxe/Timer.hx index d2ca3b8ef..22685371f 100644 --- a/haxe/Timer.hx +++ b/haxe/Timer.hx @@ -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);