This is Flex2. In one function I try to get the current locale and it was going into an infinite loop at run time which can only be caused by the Locale.getCurrent() returning null.
I was calling: Locale.getCurrent(Application.application.systemManager); All I know is that the application was compiled and run on a PC that I am told has the RU locale. When they switched to compile under the US locale then the problem dissapeared. tks --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > Are you talking about Flex 2 or Flex 3? > > - Gordon > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions > Sent: Tuesday, September 18, 2007 11:50 AM > To: [email protected] > Subject: [flexcomponents] Problem with Locale > > > > I have a problem that looks like it arises from Locale.getCurrent() > returning null. > > The problem is not arising on my own pc but on someone who is running > on a RU locale so I cant be 100%, but I wondered if someone knew > whether Locale.getCurrent() can ever really be null. > > I was also wondering about the mechanism flex has for creating a > default locale. I saw there was a GeneratedLocale class created when > you compile a project but it has the metadata tag [ExcludeClass].. > wondered what that meant. > > Thanks >
