Multilanguage Content in Flash!

Hey All,
Well I m working on a Multi language Site in flash using the Locale class it works fine when i do it separately but when i add this functionality to the website it creates the respective language xml’s. Also loads the en default content but doesn’t change when i click on respective language selection…

Any ideas How to make it work?

here’s the code…

lang =“en”;
var newLang:String = lang;
mx.lang.Locale.setXMLLang(newLang);
mx.lang.Locale.start();

and a button to call the function for diff language…