<div>Thanks!</div>
<div> </div>
<div>And if anyone else is also interested in this topic, here's more information: <a href="http://wiki.gnashdev.org/Re-entrancy">http://wiki.gnashdev.org/Re-entrancy</a></div>
<div> </div>
<div>--zou<br><br></div>
<div class="gmail_quote">On Thu, Aug 20, 2009 at 10:58 PM, Benjamin Otte <span dir="ltr"><<a href="mailto:otte@gnome.org">otte@gnome.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hey,<br><br>SwfdecAsRelay is the object that relays things from the actionscript to the native objects (and back). I invented it back when I realized that the native object that a script object refers to is decided when a constructor is run.<br>
So I needed to split the actual script object from the native object. Previously - until late into the 0.7 cycle I think - they were the same objects, and everything inherited from SwfdecAsObject and that caused issues when we did mad stuff (like calling two different native constructors on the object).<br>
The relevant test is test/trace/<a href="http://constructor-relay.as/" target="_blank">constructor-relay.as</a><br><br>These days, we just change the relay the object points to and get on with life.<br><br>Cheers,<br><font color="#888888">Benjamin</font>
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Thu, Aug 20, 2009 at 4:40 PM, zou lunkai <span dir="ltr"><<a href="mailto:zoulunkai@gmail.com" target="_blank">zoulunkai@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hello,</div>
<div> </div>
<div>The AsRelay object(defined in swfdec_as_relay.h) is the last few things I still couldn't quite understand in swfdec. I guess the problem is that I haven't found a related concept in ActionScript. So there are number of question to me for a long time. What is AsRelay used for? Why we need it? And how to use it in general? They might be the same question, though. It would be great if anyone could explain these questions for me. Thanks ahead!</div>
<div> </div><font color="#888888">
<div>--zou</div>
<div> </div></font></blockquote></div><br></div></div></blockquote></div><br>