Not finding what you are looking for? Request a recipe!
To export, invoke a specially formatted javascript function using ExternalInterface.call. This function must be written as follows: "function () { myMethod = /* Your Function Here */ }". Once you've done this, your method is available via ExternalInterface.call().
Create a Proxy object and extend the getProperty and setProperty methods to set or retrieve JavaScript variables.
Create an Ant macro to compile your language resource, and invoke it when necessary.
Use the Embed Metadata tag using the application/octet-stream MIME type to ensure your file is included as a Class. Then instantiate your class as a generic object and invoke the toString() method on it.