[Laszlo-dev] classroot and parent not in scope ?

Henry Minsky henry.minsky at gmail.com
Mon Mar 31 19:51:57 PDT 2008


ERRORS:
Compiler error: at 285 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
6]: Error: Access of undefined property classroot.

this.setAttribute("x", -classroot.offset)
                        ^

Compiler error: at 285 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
10]: Error: Access of undefined property classroot.

this.setAttribute("y", -classroot.offset)
                        ^

Compiler error: at 286 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
14]: Error: Access of undefined property classroot.

return [classroot, "offset"]
        ^

Compiler error: at 282 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
18]: Error: Access of undefined property classroot.

return [classroot, "offset"]
        ^

Compiler error: at 292 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
22]: Error: Access of undefined property parent.

this.setAttribute("x", parent.width - width + classroot.offset)
                       ^

Compiler error: at 292 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
22]: Error: Access of undefined property width.

this.setAttribute("x", parent.width - width + classroot.offset)
                                      ^

Compiler error: at 292 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
22]: Error: Access of undefined property classroot.

this.setAttribute("x", parent.width - width + classroot.offset)
                                              ^

Compiler error: at 292 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
26]: Error: Access of undefined property classroot.

this.setAttribute("y", -classroot.offset)
                        ^

Compiler error: at 293 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
30]: Error: Access of undefined property parent.

return [parent, "width", this, "width", classroot, "offset"]
        ^

Compiler error: at 293 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
30]: Error: Access of undefined property classroot.

return [parent, "width", this, "width", classroot, "offset"]
                                        ^

Compiler error: at 289 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
34]: Error: Access of undefined property classroot.

return [classroot, "offset"]
        ^

Compiler error: at 299 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
38]: Error: Access of undefined property classroot.

this.setAttribute("x", -classroot.offset)
                        ^

Compiler error: at 299 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
42]: Error: Access of undefined property parent.

this.setAttribute("y", parent.height - height + classroot.offset)
                       ^

After defining LzFocus,  when compiling the checkbox example, I am seeing
these errors, they look like parent and classroot are not in scope? Or else
not yet defined when
some constraint is evaluated?



Compiler error: at 299 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
42]: Error: Access of undefined property height.

this.setAttribute("y", parent.height - height + classroot.offset)
                                       ^

Compiler error: at 299 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
42]: Error: Access of undefined property classroot.

this.setAttribute("y", parent.height - height + classroot.offset)
                                                ^

Compiler error: at 300 [/tmp/lzswf9/lzgen10574/$lzc$class_focusoverlay.as:
46]: Error: Access of undefined property classroot.

return [classroot, "offset"]



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080331/d930c8ef/attachment.html


More information about the Laszlo-dev mailing list