Quoting P T Withington <[email protected]>:

Have you enabled debugging, to see if there are any errors or warnings?
Yes, no warnings.
The following from the developer's handbook does not work:

<canvas width="100%" height="100">
 <resource name="face">
   <frame src="resources/sourface.png"/>
   <frame src="resources/smiley.gif"/>
 </resource>
 <view x="150" y="50" name="myview"  resource="face"
onclick="this.setAttribute('frame', 2);" onlastframe="reset();" />

<method name="reset">
myview.setAttribute("frame",1);

</method>
</canvas>

Regards
Garry


Reply via email to