PDA

View Full Version : Warning of null setter while using import tag in 4.0.7


sandhya
11-19-2007, 10:13 AM
I am trying to use import tag in 4.0.7
But i get the following error while loading the library

WARNING: null setters on «kernel/swf/LzSprite.as#11/16#1#0| LzSprite for Library build/test/testimportview.lzx.swf named testimportview» framesloadratio 0

WARNING: null setters on «kernel/swf/LzSprite.as#11/16#1#0| LzSprite for Library build/test/testimportview.lzx.swf named testimportview» loadratio 0

The code sample is

test.lzx
========
<canvas width="800" height="600" debug="true" >
<import href="testimportview.lzx" name="testimportview" stage="defer"/>

<view width="200" height="100" bgcolor="0xff00cc" name="testview" align="center">
<simplelayout axis="y" spacing="3"/>
<button text="load library" onclick="testimportview.load()"/>
</view>
</canvas>

testimportview.lzx
==============
<library>
<view width="100" height="200" bgcolor="yellow"/>
</library>

senshi
12-04-2007, 02:11 AM
No need to worry, actually you can ignore these warnings, the library will be loaded nevertheless. Created LPP-5189 (http://www.openlaszlo.org/jira/browse/LPP-5189) to fix this issue.