PDA

View Full Version : Weird basewindow warning messages


edutf
05-24-2006, 06:07 PM
I don't know what is happening to this REALLY SIMPL code:

<canvas bgcolor="black" width="100%" height="100%" debug="true">
<window x="10" y="10" width="300" height="200"
title="my window"
resizable="true" closeable="true">
<text>Hello</text>
</window>
</canvas>


When I execute it, I get the following warning messages into debug window:

WARNING: base/basewindow.lzx:234: undefined object does not have a property '[]'
WARNING: base/basewindow.lzx:234: undefined object does not have a property 'length'
WARNING: base/basewindow.lzx:234: reference to undefined property 'length'
WARNING: base/basewindow.lzx:235: undefined object does not have a property 'setAttribute'

I tryed to simplify the code as much as I could to eliminate the warnings but it seens like a laszlo bug. Does someone know what is going wrong??

Thank you,

jstretch
05-25-2006, 05:51 AM
I compiled this code to SWF verion 6,7 and 8 without any warnings or errors. Maybe a glitch in your install?

AllanJun
01-04-2007, 08:40 PM
I had a similar issue, then I found out that if you put your window or any class that extends basewindow within a view, the warnnings are gone.