I think the example still demonstrates the point if I change:
<!-- The TEST and RESET buttons -->
<view x="50" y="150">
<richbutton label="Test" x="50" cap="rightsheer"
onclick="B7.anm.doStart();B8.anm.doStart()"/>
<richbutton label="Reset" cap="leftsheer"
onclick="B7.setX(50);B8.setX(50);"/>
<simplelayout axis="x"/>
</view>
to:
<!-- The TEST and RESET buttons -->
<view x="50" y="150">
<button text="Test" x="50"
onclick="B7.anm.doStart();B8.anm.doStart()"/>
<button text="Reset"
onclick="B7.setX(50);B8.setX(50);"/>
<simplelayout axis="x"/>
</view>
On Oct 22, 2007, at 11:51 AM, Lou Iorio wrote:
The animation chapter of the dguide uses <richbutton> in several
places (the first time in example 24.7).
I can't find <richbutton> in the reference or anywhere else, and
the compliler gives this error:
[apply] animation-$8.lzx:33:66: element "richbutton" not allowed in
this context. Check whether it is spelled correctly, and whether a
class with this name exists.
[apply] animation-$8.lzx:35:57: element "richbutton" not allowed in
this context. Check whether it is spelled correctly, and whether a
class with this name exists.
[apply] animation-$8.lzx:33:66: Could not find class definition for
tag `richbutton`
[apply] animation-$8.lzx:35:57: Could not find class definition for
tag `richbutton`
Anyone know what's going on?
Thanks,
Lou