<canvas height="30" name="globs" width="500" bgcolor="red" clip="true">
<button onclick="moveHoriz('${parent.globs.width}');">
Move <b>me</b>
<method name="moveHoriz" args="moveAmount">
this.setAttribute("x", this.x+moveAmount);
</method>
</button>
</canvas>