Scandinavian fonts (æ,ø,å) to listbox with text from xml

Posted on 2006-05-05
Last Modified: 2013-12-03
I cant embed font from libary in to listbox, The listbox gets text from a xml doc, I have done my best but i can't find out of this.
You can download fla and xml file here
(I have looking and searching in here, but cant find a soloution)

thanks in advance
Question by:zirkel
    LVL 34

    Assisted Solution

    by:Aneesh Chopra

    Problem is only in XML,

    Here is the fix,,

    just replace your XML content with the following:
    <?xml version="1.0" encoding="ISO-8859-1"?>
          <video url="http://ggggg/video01.flv" desc=" Norwegian charaters &#198;&#216;&#197; &#230;&#248;&#229;"/>
          <video url="http://ggggg/video01.flv" desc=" example"/>
          <video url="http://ggggg/video01.flv" desc=" example"/>
          <video url="http://ggggg/video01.flv" desc=" example"/>
          <video url="http://ggggg/video01.flv" desc=" example"/>
          <video url="http://ggggg/video01.flv" desc=" example3"/>
          <video url="http://ggggg/video01" desc=" example5"/>

    LVL 5

    Accepted Solution


    another way would be to change the encoding of the xml to utf-8.

    edit the xml -
    <?xml version="1.0" encoding="UTF-8"?>

    save the file as UTF-8. You can use notepad if you have winXP - if you do save as you will see a dropdown with encoding option.

    i have uploaded teh sample file at


    Author Comment

    Thanks for the answeres, Both methods work fine, but i think The best one is the last one. But I wonder if it's not posible to embed a font to use in this case, if I want a spesial font?

    LVL 5

    Expert Comment


    If you are asking wether the font of list component can be changed then answer is yes.

    setStyle function can do this

    embedFonts, fontFamily, fontSize, fontStyle, fontWeight    etc can be used - you can find more info at


    Author Comment

    Yes, I have seen this, and i not realy need more solution in this prosjekt, but who knows later, if a customer want a spesial font in a listbox.
    If this font is not normaly instaled font for windovs or mac, then you must embed font's and i tryed to embed a font, with add font in library make a name on this font, linked to actionscript and hooked for play in first frame. then write a short code in as, an search for difrent way to write this code, but i can't make this working. So if you or anyone know how i can find out this or help me with this, i wil be very grateful :)

    But like I said, this wil work for this prosjekt, i should use verdana.

    thanks a lot so far.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now