I'm getting this runtime error in hello.lzx when I click on the pink square which<br>is supposed to apply the state to make the purple square appear. <br><br><br>[Fault] exception, information=ArgumentError: Error #1063: Argument count mismatch on LzState/apply(). Expected 1, got 0.<br>
Fault, $lzc$handle_onclick$mystate_$m80() at $lzc$<a href="http://class_view_mystate.as:6">class_view_mystate.as:6</a><br> 6 this.mystate.apply()<br>(fdb) <br><br><br>the code is <br><br> <view id="mystate" x="650" y="80" onclick="this.mystate.apply()" ><br>
<state name="mystate"><br> <view width="50" height="50" x="50" y="40" bgcolor="#ccccff"<br> onclick="parent.mystate.remove()"><br>
<text>xxx Click me to remove state</text><br> </view><br> </state><br> <view width="50" height="50" bgcolor="#ffcccc"/><br> <text name="t1">Click me to apply state</text><br>
</view><br><br><br>Can we make LzState.apply 's "ignore" are be optional? <br><br><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br>
<br>