On 4/20/06, Quentin <[EMAIL PROTECTED]> wrote:
> Hi !
> I have a very simple FLA with only a dynamic textfield on the stage, and
> some actionscript that says tfVal.text = 9.8; but when I placed the
> generated SWF with swfmill the textfield is not filled with 9.8 but with
> 9.80000019073486 !
>
> Quite weird !

Ah, the magic of floatingpoint precision...
<http://en.wikipedia.org/wiki/Floating_point#Problems_with_floating-point>

> ps : I posted a ticket here :
> http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/10

It's not a bug. If you create a TextField by ActionScript, or take one
made with the IDE you'll get the same result. It's not a FlashPlayer
bug, either, but a very general problem.

Mark

--
http://snafoo.org/

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to