Now we can build modern webview apps with WebView2 in windows10,and Native extention just like tuarua WebViewAne (here) in macOS,if we can run a webserivce in local,and allow javascript communicate with actionscript by http request,that will be funny,so i publish a small project to make it reality.you can get code from GitHub (here). And use it simply:
var b:ASHttpd = new ASHttpd();
var obj:Object = {};
obj.index = function(data:Object):void {
trace(JSON.stringify(data));
}
b.decoder = obj;
b.start();
so that you can open http://127.0.0.1:60080/index?a=5 or make request by ajax. you can get post/get/files uploaded/stream data in actionscript just like "data.post.a" in "obj.index" function in above code . it also can support your html pages,may be other interesting things build by H5 techology. enjoy.