Solved

HTML character problem

Posted on 2007-03-28
2
186 Views
Last Modified: 2010-04-03
Hi

I'm retrieving text in XML. My problem is that the XML has HTML characters like:
'
I cant get flash to display the correct character which should be in this instance '

Does anybody know what I should do?
0
Comment
Question by:Fern2
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
khoama earned 500 total points
ID: 18807008
Are you displaying the text in a dynamic textfield??
If so, turn on the 'Render text as HTML' option for the textfield and use the htmlText to set the text.
your code will look somethign like this

txt.htmlText= "&apos is a quote ";
0
 
LVL 2

Expert Comment

by:khoama
ID: 18807015
txt.htmlText= "' is a quote ";
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

759 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