3 Replies Latest reply on Dec 6, 2010 10:16 AM by Flex harUI

    Flex 3 locale swf loading bug on firefox

    cosmits Level 1

      Hi all

       

      I REALLY need your help here

      if anyone knows this bug or have any idea how to deal with it, it would really mean a lot to me

      i've been tring everything

       

      description:

      i'm building an application using flex 3, where all texts are being localized via the locale loaded at runtime

      i suspect that for some reason the  locale swf i'm loading isn't updating elements of the page

      as you can see in the image below, texts appear cut off.

      this happens to me only in firefox, no matter which page of the app is being displayed

       

      any ideas?

      appreciate your time in answering

      Yariv Gilad

      locale_not loaded_firefox.JPG

        • 1. Re: Flex 3 locale swf loading bug on firefox
          Flex harUI Adobe Employee

          Is it the right text?  If so, the locale SWF is loaded properly and there is

          a sizing or positioning problem.

          1 person found this helpful
          • 2. Re: Flex 3 locale swf loading bug on firefox
            cosmits Level 1

            Hello and thank you for your quick answer

            the text is indeed right, and what you say make sense to me

            how can i proceed from here though?

            how can i fix the "sizing and positioning problem" ?

            the UI components are there and are being populated dynamically through the locale

            is there a way to force them to update?

            is this the right direction at all?

            any other ideas?

             

            just to note that if i hard-code the text into the components they are rendered perfectly

            so i don't see a reason to change their position or size...

             

            thank you for your time

            Yariv Gilad

            • 3. Re: Flex 3 locale swf loading bug on firefox
              Flex harUI Adobe Employee

              My favorite trick is to set a breakpoint on FocusManager.as:mouseDownHandler

              and click on whatever it you want to examine, then examine its properties.

               

              I've seen things like this when spaces are not 0x20 but 0xA0, or when the

              width is just a few pixels too narrow and causes wordwrap, or when there is

              leading whitespace in the text.