PDA

View Full Version : Can't debug: Class undefined has not been defined yet ($lzc$class_debug)


robertlight
08-07-2008, 12:50 PM
lzx:
<canvas width="900" height="400" debug="true">
<view id="s1" x="0" y="0">
<debug y="70"/>
</view>
</canvas>

url:
http://localhost:8080/lps-4.1.1/my-apps/confirm.lzx?lzr=swf8&debug=true

--------------------------
When I load my lzx app in my browser I get the debugger window that states:

ERROR: reference to undefined variable '$lzc$class_debug'
ERROR: Class undefined has not been defined yet



Now we'll try using dhtml:
----------------------------------
When I load the app using the url:
http://localhost:8080/lps-4.1.1/my-apps/confirm.lzx?lzr=dhtml&debug=true

I get a javascript error (lzc$class is undefined, line 18 char 1) and no display at all.


Anyone know what I'm doing wrong?

- Bob

rajubitter
08-07-2008, 11:36 PM
You've put the debug tag inside the view tags. Try this structure:

<canvas width="900" height="400" debug="true">
<debug y="70"/>
<view id="s1" x="0" y="0">
</view>
</canvas>

Best,
Raju