<span class="Apple-style-span" style="border-collapse: collapse; "><div>I've some follow up thoughts and questions after reading this post from Tomeu regarding how to best empower web developers and embed gnash/flash.<br>
</div><div><br></div><div><a href="http://blog.tomeuvizoso.net/2009/01/embedding-mozilla.html" target="_blank" style="color: rgb(0, 0, 204); ">http://blog.tomeuvizoso.net/2009/01/embedding-mozilla.html</a><br></div><div><br>
</div><div><ul><li style="margin-left: 15px; ">What is the best implementation and interface for javascript to talk to activity subclasses? <br></li><ul><li style="margin-left: 15px; ">In the past I have created web server instances within my activities. One of the main benefits of this approach was that javascript authors could work in a way familiar to them (ajax calls, comet calls, etc. that talk to a server). The hope was to take advantage of as many existing javascript libraries as possible.<br>
</li><li style="margin-left: 15px; ">Others approaches? Benefits? Drawbacks?</li></ul><li style="margin-left: 15px; ">Regardless of implementation, what would a standard interface from javascript to activity look like? Function-call and primitives as variables? What would this API need?</li>
<li style="margin-left: 15px; ">Regarding embedding gnash/flash, I would advocate javascript as the pathway from as2/as3 calls to the activity so that the javascript serves as a foundation for other plugins.</li></ul></div>
</span>