I&#39;ll take a look at what options we&#39;re passing to the flex compiler in debug mode. <br><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 4:14 AM, Raju Bitter <span dir="ltr">&lt;<a href="mailto:rajubitter@googlemail.com">rajubitter@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Max,<br>
<br>
what is the reason that the warning to use getDisplayObject() instead of getMCRef() is not displayed correctly in DHTML? In SWF10 runtime I get the warning<br>
<br>
INFO #helloView.Function is deprecated. Use the #helloView.Function instead<br>
<br>
In SWF8 and DHTML output is correct:<br>
INFO %cssview.lzx#32: #helloView.getMCRef is deprecated. Use #helloView.getDisplayObject instead<br>
<br>
Looking into the code <a href="http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs" target="_blank">http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs</a> I see that you just dump the function reference in the warning. I guess that&#39;s because there&#39;s no API to retrieve a function&#39;s name in AS3. There is a workaround, though, described here:<br>

<a href="http://blogs.adobe.com/aharui/2007/10/debugging_tricks.html" target="_blank">http://blogs.adobe.com/aharui/2007/10/debugging_tricks.html</a><br>
<br>
For this to work, you need to turn on the -verbose-stacktraces=true compiler option - which I&#39;m not sure is done for OpenLaszlo.<br>
<font color="#888888"><br>
- Raju<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>