<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Roxxor Tech Blog &#187; Flash</title>
	<atom:link href="http://www.roxxor.co.uk/blog/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.roxxor.co.uk/blog</link>
	<description></description>
	<lastBuildDate>Tue, 20 Jul 2010 20:30:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Handling HTML Entities in XML Passed to Flash Dynamic Text Fields</title>
		<link>http://www.roxxor.co.uk/blog/2007/06/handling-html-entities-in-xml-passed-to-flash-dynamic-text-field/</link>
		<comments>http://www.roxxor.co.uk/blog/2007/06/handling-html-entities-in-xml-passed-to-flash-dynamic-text-field/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 13:01:54 +0000</pubDate>
		<dc:creator>Allistair</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.roxxor.co.uk/?p=3</guid>
		<description><![CDATA[Today I had to solve the problem of HTML entities such as &#38;apos; showing their full entity-selves when injected dynamically into dynamic text fields. The entities originated from an XML input stream fed into the Flash movie. Quite a few folk out there seem to have developed string search and replace functions, but these are [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to solve the problem of HTML entities such as &amp;apos; showing their full entity-selves when injected dynamically into dynamic text fields.</p>
<p>The entities originated from an XML input stream fed into the Flash movie.</p>
<p>Quite a few folk out there seem to have developed string search and replace functions, but these are limited by the anticipated characters.</p>
<p>I found a much simpler method was just to set the dynamic text field instance&#8217;s .html attribute to true, and then inject the text into the .htmlText rather than the .text attribute. Flash apparantly then displays the characters properly.</p>
<p>And I should add that the dynamic text field in question still has anti-aliasing applied in case any of you are worried that using the html attributes do not support it.</p>
<p>Happy days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.roxxor.co.uk/blog/2007/06/handling-html-entities-in-xml-passed-to-flash-dynamic-text-field/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
