With the test class included, it seems that you can't override the 'play' 
method of a class, but can override the others (well, 'stop' anyway). Why is 
this? This is with lps-3.3.3.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE canvas SYSTEM "http://www.openlaszlo.org/lps-latest/tools/lzx.dtd";>
<canvas width="500" height="500" debug="true">

        <class name="test">
                <method name="play">
                        Debug.write("play was called");
                </method>
                <method name="stop">
                        Debug.write("stop was called");
                </method>
        </class>
        
        <test name="testplay"/>
        
        <button text="Go!">
                <handler name="onclick">
                        canvas.testplay.play();
                        canvas.testplay.stop();
                </handler>
        </button>
        
</canvas>

-- 
Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

Attachment: pgplHK159uNYY.pgp
Description: PGP signature

Reply via email to