The OpenLaszlo runtime generates idle events at some fixed, unspecified
frequency. Here is a simple example that shows how to receive the
onidle event:
<canvas height="140" debug="true">
<attribute name="counter" value="0"/>
<handler name="onidle" reference="LzIdle">
while (counter < 4) {
counter++;
Debug.write("idling " + counter);
}
</handler>
</canvas>
Copyright © 2002-2007 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.