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.

Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


On Tue, Sep 20, 2011 at 6:05 AM, Aicha .. <[email protected]> wrote:

> **
>
>
> 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
>         {
>             return this.cur.getString(key);
>         }
>
> what should i do to resolve this problem
> Thx
>
>
>
>  
>

Reply via email to