I'm working on a Flash project that deals with multiple files. There is a main file that loads in individual SWF files as they click on different buttons. The course has dynamic text Fields that are populated via XML. So right now, my idea is to give each page it's own XML file? Would this be better suited to have one single XML file for all the pages, and the container file or multiple files?
Also, this is going to be a multilingual project. Any feedback on this would be great! Thanks!
EDIT: The XML files will just be storing text information to populate the text fields, and some links to load in images. Also, the loaded SWFs will never be accessed without the use of the main "container" SWF.
preguntado el 30 de enero de 12 a las 19:01
Only my opinion here:
Generally the text resources are not significant in size relative to the other file that get loaded, and having all pages in a single xml seems preferable to me.
For the multilingual part, I think having each languages translations in a separate xml is probably a good idea.
Kind of the flash equivalent of a single .mui resource file for each language in a traditional winforms/wpf application.
- 1 Text Res file for all pages in a particular language
- Total of X Text Res files for X languages