Embed meta data - tool generation?
Hi there. I am working on a small game in AS3 + Flex 3. I am new to Flash, Flex 3 and AS3, however, I am not new to programming. Hopefully I will have a long a fruitful experience with the aforementioned tools and be able to share my experiences with them.
But first I have a questions, and that is about the Embedding of assets within an SWF. Currently, I am using Flash develop which provides some basic embedding tools for assets. I have a AssetImporter class that has a few temp assets defined which are PNGs on disk. I can get these PNGs and other asset types working on my application, no problem.
My problem is however is that I'd like a way to generate embed data with a pre-compile tool or the like. This tool would scan the build directory for image files and generate Embed meta data for each file it finds, so each file would be included in the build pretty much automatically. This would be a great boon to an artists I will be working with and will smooth on the work flow. At the moment I was thinking I could simply generate the requisite code in a pre-compile step and go from there.
This seems like something that would be a common issue to developers, but coming from a game development background I could be overcomplicating the problem, or a tool may already exist to accomplish this very task.
Does anyone have any ides or could point me towards one?