[Laszlo-dev] fwd reference doesn't work when it's in a plain old <library>

Henry Minsky henry.minsky at gmail.com
Thu Nov 12 22:58:37 PST 2009


Sorry my mistake, this only happens when a .lzo is present...


On Fri, Nov 13, 2009 at 1:44 AM, Henry Minsky <henry.minsky at gmail.com>wrote:

> Even with your fwd reference pathc, this case isn't working (in swf8 and
> dhtml), when there's just a plain <include> of a library .lzx (not .lzo)
> and there's a fwd reference that makes an anonymous instance class.
>
>
> <canvas>
>     <include href="classlib.lzx"/>
> </canvas>
>
>
> <library>
>     <bar>
>       <method name="anyoldmethod">
>         Debug.info("this method is just so that an anonymous instance class
> gets created");
>       </method>
>     </bar>
>
>  <!-- move this above previous def, and it works without error-->
>   <class name="bar"><text>bar</text></class>
>
> </library>
>
>
> <a title="#0">ERROR @classlib.lzo≈10: reference to undefined variable
> &apos;$lzc$class_bar&apos;</a>
> <a title="#1">ERROR @classlib.lzo≈10: undefined object does not have a
> property &apos;attributes&apos;</a>
> <a title="#2">WARNING @classlib.lzo≈10: reference to undefined property
> &apos;attributes&apos;</a>
> <a title="#3">ERROR @classlib.lzo≈10: undefined object does not have a
> property &apos;[]&apos;</a>
>
>
>
>


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


More information about the Laszlo-dev mailing list