Problem: I have a bunch of .js files that I would like to not share with the world. Instead, I would like to create an AIR application (desktop only) that can make use of the JS functions without including the .js files to the people I give the AIR app too.
Question: Is there a way to do this? I'm familiar with developing applications with as3 but not for AIR at all.
Sample code:
as code:
var returnValue:String = ExternalInterface.call("sendReturn",tempStr).toString();
bla.js
function sendReturn(val){ alert(val); var tempData = "Hello from JS"; return tempData + ' :return'; }