I tracked down a bug I was seeing to this change, if I make the args in lps/components/base/basebutton.lzx on the "showUp()" method into "...rest" or "sd=null", then <br>I get an error at runtime <br>
<br><br>ERROR @base/basebutton.lzx#212: reference to undefined variable '_enabled' <br><br>But if I change the reference from "_enabled" to "this._enabled", then it works:<br><br> <method name="showUp" args="...rest"> <![CDATA[<br>
if (!this._enabled && this.disabledResourceNumber) {<br> ^^^^^^^^^^^<br> this.setResourceNumber( this.disabledResourceNumber );<br> } else {<br> this.setResourceNumber( this.normalResourceNumber );<br>
}<br> ]]><br><br><br>So what is it about the optional-args transformation that would be making the implicit "this" fail in swf8/dhtml? <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>