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

Marco Secchi loziosecchi at gmail.com
Sat Jan 27 23:18:17 CET 2007


Thanks,
  I've typed "myDomVar" and now works.

Strange thing since it doesn't complain with an old 1.10 version  
(compiled from cvs)

thanks a lot Nicolas,
  Marco



Il giorno 27/gen/07, alle ore 23:12, Nicolas Cannasse ha scritto:

>> 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
>
> -- 
> haXe - an open source web programming language
> http://haxe.org




More information about the Haxe mailing list