Multi-language website

Hi everyone,

I’m currently building a flash website (Flash 9, AS3.0) which will be bilingual (English and French). I’ll be using XML and txt files to store the text in both languages. I was wondering, what is the best way to store and use the user’s language choice? I was gonna use a global variable, but apparently these are out in AS3, and the alternative way doesn’t look like good practices, so i’m not sure what to do.

Here’s an example i found which has multiple languages, but in this example, I don’t find it practical to have to use different frames to load the different texts. So i’d be interested in suggestions for other approaches to try. If you know of other sample files i could base myself on i’d really appreciate.

Thanks!