Johannes Boesl | 25 Jul 15:45

Binary compilation in 4.1.1

Hi there,

I recently updated my source to work with the new version. Everything 
went fine so far. No I tried to compile my app with 'lcz -c' as I was 
used to in previous versions. The compilation finished without an error 
but my app produces errors now. I set up a simple test which shows my 
problem. In case it's not me messing something I'll file a but to JIRA.
Here the testcase:

test.lzx:
-----------------------------------------------------------------------------------------------------------
<canvas width="100%" height="100%" bgcolor="gray" debug="true">
    <include href="pak.lzx" />
    <pak/>
</canvas>
-----------------------------------------------------------------------------------------------------------

pak.lzx:
-----------------------------------------------------------------------------------------------------------
<library>
    <include href="lz/button.lzx" />
    <class name="pak" extends="button"/>
</library>
-----------------------------------------------------------------------------------------------------------

After compiling pak.lzx with 'lzc -c' the debug output in the Browser is:

WARNING: reference to undefined property '_title'
ERROR: undefined object does not have a property 'width'
WARNING: reference to undefined property 'width'
(Continue reading)


Gmane