[haXe] [js] problem accessing field "display"

Nicolas Cannasse ncannasse at motion-twin.com
Sat Jan 27 23:12:57 CET 2007


> Hi Nicolas,
>  I've installed haXe 1.10 (osX) and the following doesn't compile anymore:
> 
> myDomVar.style.display = "block";
> 
> I get the following error:
> 
> Cannot access field or identifier display for writing
> 
> Any ideas?

Nothing important was changed in js.Dom since haxe 1.05, so I guess it's
another problem here. Try to correctly type your "myDomVar" variable and
see what's happening.

Nicolas



More information about the Haxe mailing list