[Laszlo-dev] fwd reference doesn't work when it's in a plain old <library>
P T Withington
ptw at laszlosystems.com
Fri Nov 13 04:45:56 PST 2009
Can you file a bug? It must be an ordering issue in the way the .lzo is written out.
On 2009-11-13, at 01:58, Henry Minsky wrote:
> 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
>> '$lzc$class_bar'</a>
>> <a title="#1">ERROR @classlib.lzo≈10: undefined object does not have a
>> property 'attributes'</a>
>> <a title="#2">WARNING @classlib.lzo≈10: reference to undefined property
>> 'attributes'</a>
>> <a title="#3">ERROR @classlib.lzo≈10: undefined object does not have a
>> property '[]'</a>
>>
>>
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list