Protecting JS code in Adobe AIR

Hey, long time no see.

I’ve got a question regarding Adobe Air. When an AIR program is installed, all JS, HTML and other text-based files are exposed to users. In other words I don’t really know how could you write a closed-source AIR app with HTML/JS.

Is there any way to completely protect (not obfuscate which is reversible) the code from exposure? I’ve read tons of information but Adobe AIR documentation is utter crap at the moment.

Thanks in advance.