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'
ERROR: undefined object does not have a property 'height'
WARNING: reference to undefined property 'height'
WARNING @lz/button.lzx#141: reference to undefined property '_title'
ERROR @lz/button.lzx#141: undefined object does not have a property
'setAttribute'
ERROR @lz/button.lzx#145: reference to undefined variable '_outerbezel'
ERROR @base/basecomponent.lzx#328: undefined object does not have a
property 'capabilities'
WARNING @base/basecomponent.lzx#328: reference to undefined property
'capabilities'
ERROR @base/basecomponent.lzx#328: undefined object does not have a
property 'colortransform'
WARNING @base/basecomponent.lzx#328: reference to undefined property
'colortransform'
ERROR @lz/button.lzx#146: reference to undefined variable '_innerbezel'
ERROR @lz/button.lzx#147: reference to undefined variable '_face'
WARNING @lz/button.lzx#100: reference to undefined property '_outerbezel'
ERROR @lz/button.lzx#100: undefined object does not have a property
'setResourceNumber'
WARNING @lz/button.lzx#102: reference to undefined property '_face'
ERROR @lz/button.lzx#102: undefined object does not have a property
'setResourceNumber'
WARNING @lz/button.lzx#103: reference to undefined property '_innerbezel'
ERROR @lz/button.lzx#103: undefined object does not have a property
'setResourceNumber'
WARNING @lz/button.lzx#104: reference to undefined property '_title'
ERROR @lz/button.lzx#104: undefined object does not have a property
'setAttribute'
WARNING @lz/button.lzx#120: reference to undefined property '_outerbezel'
ERROR @lz/button.lzx#120: undefined object does not have a property
'setResourceNumber'
WARNING @lz/button.lzx#122: reference to undefined property '_face'
ERROR @lz/button.lzx#122: undefined object does not have a property
'setResourceNumber'
WARNING @lz/button.lzx#123: reference to undefined property '_innerbezel'
ERROR @lz/button.lzx#123: undefined object does not have a property
'setResourceNumber'
-----------------------------------------------------------------------------------------------------------
I hope you can help me here otherwise I'll just work with a 4.0.x
revision again.
Thanks and with kind regards,
Johannes Boesl