StageWebView StageWebViewBridge Communicating between actionscript and javascript and vice versa
I have made an extended StageWebView Class that lets you:
* Communicate Actionscript with Javascript.
* Communicate Javascript with Actionscript.
* Load local files and resources in a easy way.
* Extend loadString method with AS3 – JS communication.
By example you can call javascript from as3
1 2 | // call javascript with callack function webView.bridge.call('someFunctionToCall', callBackFunction, ...arguments ); |
// reference local resources in a easy way
1 | <img src="appfile:/image.png"> |
You can find it at:
http://code.google.com/p/stagewebviewbridge/
I will post a tutorial here…


