Scott,
Did you ever get this working?
I had some trouble early on as well. I did the fish example and it worked fine, calls from HTML made the app do stuff. BUT, my problem was when I tried to put the listeners in my own app it was not working. The only workaround I found was to have all the listeners in the main.lua instead of levels deep in my project that used the director class.
Your issue is on the web page HTML side huh.
Do you have all the supporting code for the href=“corona:close” on your page?
Here is all the necessary code I have been using…
In the < head > section of my HTML I have something similar to this
<script type="text/javascript"><br>function submit2010_1()<br>{<br> document.forms["dothis"].submit();<br>}<br></script>
then for the link I have this
[
then at the bottom, just after the body close tag < /body > I have
<form id="dothis" action="corona:close"></form>
Mine however has many many links (callbacks) throughout the HTML file so the to top section is a long list of stuff and the bottom is also a long list of things. Let me know if you need to see the longer list or how to set that up. It was just easier to split the form code up and put it all at the bottom.
[import]uid: 7845 topic_id: 9710 reply_id: 35655[/import] ](javascript:%20dothis())