Monday, March 06, 2006

weird bug?

Is this an OpenLaszlo bug or am I missing something? I had created a class with method "play" as follows:

<method name="play" args="obj, frame">
  Debug.write("in play method");
</method>

I called it from elsewhere and the Debug statement never printed. I changed the name to "playIt" and called the method with that name and it ran fine.

According to the manual, even if the superclass has a "play" method, I should just be overriding it here. I do not understand why this method would not be called!

0 Comments:

Post a Comment

<< Home