Yes. Flash 6 and earlier were case-insensitive. The compiler used to prevent you from using names that only differed in case, but we have since removed that. The code in LzParam can be removed too.

On 2008-08-13, at 09:53EDT, André Bargull wrote:

Were old Flash versions case-insensitive in respect to Objects? Like in the following code snippet, all foo's were mapped to the same key in the Object? Just asking because there is some old code in the LzParam class, which seems to workaround this case-insensitivity issue. (And which can be removed now.)

var o = {'Foo':0, 'foo':1, 'FOO':2};
for (var k in o) console.log(k)




Reply via email to