[flexcoders] Mifration from flex 3 to flex 4.5

2011-09-20 Thread Aicha ..
Hi everybody I migrate my application from flex 3 to flex 4,5 I have an erreor in mu localizator.as thaat can't resolve .getString(key) in this method [Bindable] private var cur : ResourceBundle; [Bindable(event=langChange)] public function getText(key : String) : String

Re: [flexcoders] Mifration from flex 3 to flex 4.5

2011-09-20 Thread Douglas Knudsen
which appears to be a correct error to me. See the docs here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/resources/ResourceBundle.html Maybe you have more code not shared or some such. Certainly, you can't use a ResourceBundle reference that is not initialized.