在mxml中, 如果我们需要绑定对国际化结果进行绑定非常方便,例:
<mx:Button text="{resourceManager.getString('label', 'btnLabel')}" />
如果在ActionScript中就要麻烦一些了, 需要使用BindingUtils
var btn:Button = new Button();
BindingUtils.bindProperty(this._title, "text", "index_search", {name: "title", getter: getValue});
private function getValue(arg:*):String {
return resourceManager.getString('label', arg);
}