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