[Laszlo-user] swf9 method parameters mismatch causes hangs
Gregory Denton
greg.denton at gmail.com
Thu Apr 2 19:31:22 PDT 2009
oops...forgot to specify platform versions:
laszlo: 4.2.0.1
linux 2.6.18-53.el5: CentOS 5.2 64 bit
Firefox 3.0.6
Flash LNX 9,0,124,0
On Thu, Apr 2, 2009 at 7:18 PM, Gregory Denton <greg.denton at gmail.com> wrote:
> I'm upgrading my large app to swf9 and having a very difficult time of
> it. I've done all the things in the wiki and have a clean compile. The
> app hangs whenever there is a call to a method where the caller has an
> extra arg that is not in the method args list. This is not mentioned
> in the wiki and there is no debug message printed! (It is easy, for me
> at least :-(, to sometimes forget the signature for methods called in
> a dynamic-like manner.) My primitive debugging technique is to put in
> Debug.writes, very time consuming with the depth of calls. Is this a
> known problem? Any way to put out a message at the point it hangs?
>
> http://wiki.openlaszlo.org/Runtime_Differences
>
> A simple test case:
>
> <canvas debug="true">
> <simplelayout axis="y"/>
> <view name="foo" width="100" height="100" bgcolor="red">
> <method name="meth">
> Debug.write('NOT PRINTED IF swf9!!!');
> </method>
> </view>
> <button text="foo" onclick="foo.meth(0); Debug.write('NOT PRINTED
> IF swf9!!!');"/>
> </canvas>
>
> Thanks.
>
More information about the Laszlo-user
mailing list