I'm guessing the thread in the forums is you too? I posted some suggestions there:

http://forum.openlaszlo.org/showthread.php?t=13292

I would have hoped the Flash back end would have detected this error at compile time, but apparently not? Please file a bug with your example case. I think we could do better here...

On 2009-04-02, at 22:18EDT, Gregory Denton 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.

Reply via email to