Solved

HTML character problem

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I convert a CS4 FLA file to CS6? 1 871
Updating Flash Player with GPO 3 350
video live streaming 1 122
Removing Flash from Website 6 62
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

785 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