Solved

HTML character problem

Posted on 2007-03-28
2
187 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

911 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

21 Experts available now in Live!

Get 1:1 Help Now