flex国际化如何动态获取浏览器的语言,然后使用对应的国际化
var str:String = ExternalInterface.call("getLanForBrowser", ""); //"en_US"resourceManager.localeChain = [str];?<script type="text/javascript">
function getLanForBrowser(){ var language; if (navigator.language) { language = navigator.language; } else { language = navigator.browserLanguage; } return language;}</script>?