On Mon, Jun 7, 2010 at 1:06 PM, Phoenix Hawk <[email protected]> wrote:

>
> On Thu, Jun 3, 2010 at 11:52 PM, Max Carlson <[email protected]> wrote:
>
>> I think the problem is, you're trying to use a Delegate in the global
>> scope.  On that line, 'this' == 'global'.  I'd try rewriting your <script/>
>> into an LZX <class/> that uses <method/> instead of function() {...} - then
>> it should work much better.  Let me know how it goes!
>>
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
>>
>>
>
Thank you Max, was working on it until I had to do a system reformat and
just got everything back again.

I managed to convert the code over as you suggested (crash course in OL
*whew*) but I have a new problem now:
http://textsnip.com/b15ec4


The error is:
Error: lib/fusioncharts.lzx:29:42: Syntax error: the token "default" was not
expected at this position.

I think the compiler is expecting the default method argument or something,
but I have no idea what I should put there.

Any ideas?

Thank you!

Reply via email to