I&#39;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>&nbsp;6&nbsp;&nbsp;&nbsp;&nbsp; this.mystate.apply()<br>(fdb) <br><br><br>the code is <br><br>&nbsp; &lt;view id=&quot;mystate&quot;&nbsp; x=&quot;650&quot; y=&quot;80&quot; onclick=&quot;this.mystate.apply()&quot; &gt;<br>
&nbsp;&nbsp;&nbsp; &lt;state name=&quot;mystate&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;view width=&quot;50&quot; height=&quot;50&quot; x=&quot;50&quot; y=&quot;40&quot; bgcolor=&quot;#ccccff&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onclick=&quot;parent.mystate.remove()&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;text&gt;xxx Click me to remove state&lt;/text&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/view&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/state&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view width=&quot;50&quot; height=&quot;50&quot; bgcolor=&quot;#ffcccc&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;text name=&quot;t1&quot;&gt;Click me to apply state&lt;/text&gt;<br>
&nbsp; &lt;/view&gt;<br><br><br>Can we make LzState.apply &#39;s &quot;ignore&quot; 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>