Precisely. When I changed the order & put the script tag AFTER the
node definition tag, all was well.
Thanks,
jrs
On Apr 12, 2006, at 11:35 AM, P T Withington wrote:
> Did the debugger not tell you that myNode did not exist?
>
> On 2006-04-12, at 11:11 EDT, John Sundman wrote:
>
>> D'oh!
>>
>> <canvas debug="true">
>> <debug />
>>
>>
>> <node id="myNode">
>> <method name="myMethod">
>> Debug.write('Nice day if it do not rain');
>> </method>
>> </node>
>>
>> <script>
>> myNode.myMethod()
>> </script>
>> </canvas>
>>
>>
>> jrs
>>
>> P.S. Ben S. ping'd me with the answer just as I was typing up my test
>> case. So we share the eureka moment on this one. Thanks, Ben.
>>
>> jrs
>>
>> On Apr 12, 2006, at 10:55 AM, John Sundman wrote:
>>
>>> This would appear to be LZX 101, but I can't firgure it out (or have
>>> forgotten)
>>>
>>> Why doesn't this work?
>>>
>>> <canvas debug="true">
>>> <debug />
>>> <script>
>>> myNode.myMethod()
>>> </script>
>>> <node id="myNode">
>>> <method name="myMethod">
>>> Debug.write('Nice day if it do not rain');
>>> </method>
>>> </node>
>>> </canvas>
>>>
>>> Thanks
>>>
>>> jrs
>>>
>>> _______________________________________________
>>> Laszlo-dev mailing list
>>> Laszlo-dev@openlaszlo.org
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>>
>> _______________________________________________
>> Laszlo-dev mailing list
>> Laszlo-dev@openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev