Html entities problem in Flash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jitu78
    New Member
    • Aug 2006
    • 30

    Html entities problem in Flash

    Hi,

    I am displaying dynamic content in my flash.
    Dynamic data is coming from XML and in flash file, html entities are not showing right, strange characters are displaying there.

    Here is link, globtier.com/portfolio

    See featured work description at the bottom of the link above, if there is no special characters in description then refresh the page. You will see special character in description (like question mark and sometimes square box, etc.)

    Let me know, how can I fix this problem?

    Thanks in advance.
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    what entities are you using?

    Comment

    • jitu78
      New Member
      • Aug 2006
      • 30

      #3
      Originally posted by kestrell
      what entities are you using?

      like,
      '
      ’
      &
      etc.

      checkout link, portfolio/portfolio.html

      Comment

      • kestrel
        Recognized Expert Top Contributor
        • Jul 2006
        • 1071

        #4
        well for one
        Sorry! We can't seem to find the resource you're looking for

        saiys that ' (does not work in IE)
        you can use this instead of that ´

        you're using ' ’ fot the same thing right?

        idk whats up with & you could just spell it out.


        heres some other entities that seem to work
        Sorry! We can't seem to find the resource you're looking for

        Comment

        • Grettir
          New Member
          • Oct 2006
          • 5

          #5
          Hi,

          I can't find the problems you talked about...however , check if the encoding for the XML file is the same of the XML Tag...and try using the

          Code:
          System.useCodepage=true;
          command to ensure that the Flash is receiving the correct HTML features.

          Cheers

          Comment

          • kestrel
            Recognized Expert Top Contributor
            • Jul 2006
            • 1071

            #6
            did you ever get it sorted out?

            Comment

            • jitu78
              New Member
              • Aug 2006
              • 30

              #7
              Originally posted by kestrell
              did you ever get it sorted out?
              Yes,

              Just paste this code,
              htmlText = true;

              Comment

              • sangeethaS
                New Member
                • Feb 2007
                • 2

                #8
                Originally posted by Grettir
                Hi,

                I can't find the problems you talked about...however , check if the encoding for the XML file is the same of the XML Tag...and try using the

                Code:
                System.useCodepage=true;
                command to ensure that the Flash is receiving the correct HTML features.

                Cheers

                HI,
                could u pls tell me where in the flash file I have to paste this code.U mean we have to paste this in the fla file?.Pls do reply
                Thanks

                Comment

                Working...