PDA

View Full Version : Multilanguage = XML or String?


Huw
04-16-2007, 02:07 PM
Hi,

I have to create a CD which has Multilanguage's on it but I'm unsure of the best way to approach it. I see in Flash 8 there's a 'string component' which allows you to do this and I have also read that you can do it via XML.

Which would be the best way forward, considering I'm a beginner?

I will have text elements within movie clips which will need to be translated as well as the main text but no other files. I have read a few articles but none of them really explain how to create language buttons which swap the main language of the CD. I was hoping I could create an XML file for the English master then duplicate this for each subsequent language then have btns that change the language on the fly.

The theory sounds simple:
• create a flash file with dynamic fields, embed the font/style and give it a unique instance name.
• Create an XML file which references the instance names and holds the main copy .
• Have an XML file for each language
• Have a buttons in the main movie which calls the correct XML file when clicked.

Problem is I can't find a tutorial anywhere, can anybody advise or help me?

Thanks