Não existe nenhum evento lançado pelo resourceManager quando o locale muda?


João Saleiro

CTO @ Webfuel
Adobe Community Expert
Co-founder of the Portuguese RIA Community


View João Saleiro's profile on LinkedIn

João Saleiro wrote:
Sim, mas:

 
bindProperty(site:Object, prop:String, host:Object, chain:Object, commitOnly:Boolean = false):ChangeWatcher

bindSetter(setter:Function, host:Object, chain:Object, commitOnly:Boolean = false):ChangeWatcher

e eu quero fazer bind

de: resourceManager.getString(LanguageBundle.BUNDLE_NAME, LanguageBundle.HOME)
para: lblXpto.text

Nenhum dos métodos da BindingUtils me permite fazer o referido binding.

João Saleiro

CTO @ Webfuel
Adobe Community Expert
Co-founder of the Portuguese RIA Community


View João Saleiro's profile on LinkedIn

João Fernandes wrote:
João, os bindings na realidade usam uma class chamada BindingUtils 
(mx.binding.utils.BindingUtils).
  


Responder a