Resource Writer API for Apollo

The ability to create files to a local filesystem via ActionScript is one of the main attractions of Adobe Apollo.

For years developers have been restricted by the Flash Player security model and for good reason. It was quite common to delegate the responsibility of creating files to a middle tier service. However middle-tier services only enabled files and directories to be created on the server, and not the client machine, unless the application server was running on the client machine, which for the most part is never the case.

As many of you are probably aware of by now Apollo provides Flex Developers with the ability to create files to a local file system purely in ActionScript via flash.filesystem.File. This new functionality creates endless possibilities.

Taking advantage of this, I have developed a ResourceWriter API for Apollo which allows developers to easily create .properties files to a local file system. This is useful creating localized content which needs to be modified frequently as well as many other uses.

You can view the source: ResourceWriter, IResourceWriter, IInspectableFileClient as well as download the example Apollo Application.

{Sorry, Comments are currently Closed! }