Don is actively working on fixing this... or fixing `this`, I guess I should say! Needless to say, it is annoying!

On 2008-12-15, at 16:41EST, Henry Minsky wrote:

I was tearing out my hair over a bug today, which ended up having the
symptom that the loadable libraries worked
in swf8, but only if the library was named "lib".

I traced it down to this code in the kernel


   function $lzc$set_libname(val) {
       this.lib = LzLibrary.findLibrary(val);
       lib.loadfinished();
   }

The binding of 'lib' was referencing a global, which would only be
bound to the library object if it happened to be named
'lib', which it was in all of the unit tests!


--
Henry Minsky
Software Architect
[email protected]

Reply via email to