I have a need to package sets of data files and images for use by an offline Flex-based application and I am wondering what my alternatives are for producing and then referencing the files.
In this case, there is an existing "fat client" application that allows users to manipulate large quantities of data until a desired perspective is achieved. This perspective can be saved in XML and the images/icons that support it reside in local directories. Ultimately, I would expect the fat client to package these files together, the fat-client user to send the "package" via email to users that lack the fat application (but have a local copy of the data-less Flex application), and then the Flex users to save the compiled/packaged data to a designated directory, and run the Flex application. My initial thought is to write a simple Java program that produces an Actionscript resource file that embeds the required data and images and then calls mxmlc. The resulting SWF file could then be moved around at will and presumably the pre-existing SWF file would know how to use/discover the resources it embedded. To give credit where credit is due, this is a variation on the approach suggested by Manish Jethani: http://mannu.livejournal.com/300260.html Are there any other alternatives? I considered using SWC files but wouldn't that mean ultimately compiling the application and the resources together? This is likely to be way to big and unwieldy. I appreciate any suggestions the group may have... -Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/