There is no script interface to StageWebView.
Is there an alternative?
I want to display a local HTML file and then allow for JS to Flex communication. I am new to Flex and AS. As per my understanding, StageWebView is the only way to
show a local HTML file in a mobile project. If the script interface is not available - then I cannot achieve JS-to-Flex communication. So is there any other way to do this??
Please help ...else I will have to abandon my foray into Flex, AS and go back to Android Java.
It might be possible to set up a socket between the two. It depends on how much control you have over the HTML content.
Fortunately. I came across this blog http://sean.voisen.org/blog/2010/10/making-the-most-of-stagewebview/ . This blog provides a solution that could be used enable some sort of JS to Flex communication while using StageWebView.