[haXe] "Error : to_float16" if fps is set too high (>120?) in the -swf-header?

Chris Hecker checker at d6.com
Tue Dec 11 09:47:10 CET 2007


Good question.  trace(mc.stage.frameRate); outputs 1000, much higher 
than I can set via the command line.

Chris

PS.  It's lame that there's a framerate limit, but it's lamer still than 
the best timer in flash is only 1ms granular.  :)



Nicolas Cannasse wrote:
> Chris Hecker a écrit :
>> I haven't done the binary search to find the exact value, but the
>> compiler dies with the above error if you set the fps too high. Stuffing
>> it dynamically to 10000 on the flash.Lib.current works fine, of course.
> 
> There's a limit to the FPS. What does the value is after you put 10000
> inside it ?
> 
> Best,
> Nicolas
> 



More information about the Haxe mailing list