<canvas> <window width="200" height="150" resizable="true"> <text x="30">Hello OpenLaszlo!</text> <button x="30" y="30" onclick="parent.animate('x', parent.x + 50, 300)">クリック!</button> </window> </canvas>