<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: How To Format Text In Flash (Using ActionScript 3)	</title>
	<atom:link href="https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/</link>
	<description>Your Ultimate Computing Website!</description>
	<lastBuildDate>Wed, 26 Sep 2012 17:27:18 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.7</generator>
	<item>
		<title>
		By: DPS David		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-719</link>

		<dc:creator><![CDATA[DPS David]]></dc:creator>
		<pubDate>Wed, 26 Sep 2012 17:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-719</guid>

					<description><![CDATA[Hi Kara,

Thanks for the update :).  

Did creating a new CS6 file work for you or did you have the same issues with that new file as with your previous CS5 file?]]></description>
			<content:encoded><![CDATA[<p>Hi Kara,</p>
<p>Thanks for the update :).  </p>
<p>Did creating a new CS6 file work for you or did you have the same issues with that new file as with your previous CS5 file?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kara Sanders		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-718</link>

		<dc:creator><![CDATA[Kara Sanders]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 22:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-718</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-717&quot;&gt;DPS David&lt;/a&gt;.

My thought was it looked like
dialog.text=&quot;newstring&quot;+dialog.text;
dialog.text+=dialog.text; 
Of course, if I typed out these commands myself, flash would give me an error message on the second line and ask me to use the more efficient function .append()

I will go experiment with a brand new file that cs6 created itself, as recommended, and I will keep you filled in.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-717">DPS David</a>.</p>
<p>My thought was it looked like<br />
dialog.text=&#8221;newstring&#8221;+dialog.text;<br />
dialog.text+=dialog.text;<br />
Of course, if I typed out these commands myself, flash would give me an error message on the second line and ask me to use the more efficient function .append()</p>
<p>I will go experiment with a brand new file that cs6 created itself, as recommended, and I will keep you filled in.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: DPS David		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-717</link>

		<dc:creator><![CDATA[DPS David]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 10:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-717</guid>

					<description><![CDATA[Hi Kara!  Welcome to DPS Computing.  

I haven&#039;t personally used CS6 yet however I have been doing some research on this issue for you.  

You are correct in that in CS5 dialog.text=&quot;new string&quot; would replace the text in the &#039;dialog&#039; field with &quot;new string&quot;.  

Having looked into this issue I cannot find anything which should stop this same code working in Flash CS6.  The behaviour that CS6 seems to be exhibiting in your case is that rather than performing dialog.text=&quot;new string&quot; it seems to be performing dialog.text=dialog.text+&quot;newstring&quot;, which is obviously unexpected behaviour.  

The main probable cause that I am thinking at the moment is a compatibility issue between Flash CS5 and Flash CS6, relating to the save files.  

Could you confirm whether creating a new CS6 file (in Flash CS6), creating a TLF text box and then using the code you provided gives you the same erroneous result you mentioned above or does that work?  

If it works correctly in a new CS6 file this would suggest that it is a compatibility issue between CS5 &amp; CS6 save files.  I know that previous version upgrades have had compatibility issues regarding save files.  

Let me know whether the above works.  Once we know the result of the test above I will be able to give you more advice on how to proceed :).]]></description>
			<content:encoded><![CDATA[<p>Hi Kara!  Welcome to DPS Computing.  </p>
<p>I haven&#8217;t personally used CS6 yet however I have been doing some research on this issue for you.  </p>
<p>You are correct in that in CS5 dialog.text=&#8221;new string&#8221; would replace the text in the &#8216;dialog&#8217; field with &#8220;new string&#8221;.  </p>
<p>Having looked into this issue I cannot find anything which should stop this same code working in Flash CS6.  The behaviour that CS6 seems to be exhibiting in your case is that rather than performing dialog.text=&#8221;new string&#8221; it seems to be performing dialog.text=dialog.text+&#8221;newstring&#8221;, which is obviously unexpected behaviour.  </p>
<p>The main probable cause that I am thinking at the moment is a compatibility issue between Flash CS5 and Flash CS6, relating to the save files.  </p>
<p>Could you confirm whether creating a new CS6 file (in Flash CS6), creating a TLF text box and then using the code you provided gives you the same erroneous result you mentioned above or does that work?  </p>
<p>If it works correctly in a new CS6 file this would suggest that it is a compatibility issue between CS5 &#038; CS6 save files.  I know that previous version upgrades have had compatibility issues regarding save files.  </p>
<p>Let me know whether the above works.  Once we know the result of the test above I will be able to give you more advice on how to proceed :).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kara Sanders		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-716</link>

		<dc:creator><![CDATA[Kara Sanders]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 23:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-716</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-715&quot;&gt;Kara Sanders&lt;/a&gt;.

Let me clarify. (I will discuss the brilliantly named tlf text, &quot;dialog&quot;)
In older versions of flash professional, saying dialog.text=&quot;new string&quot;; replaced the text in dialog with the words &quot;new string&quot; Now, it seems to add the new text at the top and double the text every time I tell it to change.

So I get

&quot;Original text
Original text
&quot;
on the first round

&quot;New Text
Original text
Original text
New Text
Original text
Original text
&quot;
the second time, etc. I&#039;m really confused. I haven&#039;t changed the code yet, and I can&#039;t come up with the right keywords to get help from google.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-715">Kara Sanders</a>.</p>
<p>Let me clarify. (I will discuss the brilliantly named tlf text, &#8220;dialog&#8221;)<br />
In older versions of flash professional, saying dialog.text=&#8221;new string&#8221;; replaced the text in dialog with the words &#8220;new string&#8221; Now, it seems to add the new text at the top and double the text every time I tell it to change.</p>
<p>So I get</p>
<p>&#8220;Original text<br />
Original text<br />
&#8221;<br />
on the first round</p>
<p>&#8220;New Text<br />
Original text<br />
Original text<br />
New Text<br />
Original text<br />
Original text<br />
&#8221;<br />
the second time, etc. I&#8217;m really confused. I haven&#8217;t changed the code yet, and I can&#8217;t come up with the right keywords to get help from google.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kara Sanders		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-715</link>

		<dc:creator><![CDATA[Kara Sanders]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 23:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-715</guid>

					<description><![CDATA[When I opened my months-old cs5 project in cs6, trying to change the actual words in the textbox glitched horribly. Any suggestions?]]></description>
			<content:encoded><![CDATA[<p>When I opened my months-old cs5 project in cs6, trying to change the actual words in the textbox glitched horribly. Any suggestions?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: DPS David		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-553</link>

		<dc:creator><![CDATA[DPS David]]></dc:creator>
		<pubDate>Sat, 07 Jul 2012 10:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-553</guid>

					<description><![CDATA[Thank you for your kind comments Ben :).  We will make sure that producing more programming related tutorials gets a high priority.  Glad you enjoyed it :).]]></description>
			<content:encoded><![CDATA[<p>Thank you for your kind comments Ben :).  We will make sure that producing more programming related tutorials gets a high priority.  Glad you enjoyed it :).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ben Stones		</title>
		<link>https://www.dpscomputing.com/blog/2012/07/05/how-to-format-text-in-flash-using-actionscript-3/comment-page-1/#comment-550</link>

		<dc:creator><![CDATA[Ben Stones]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 23:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://dpscomputing.com/wordpress/?p=1136#comment-550</guid>

					<description><![CDATA[Awesome! Please do write up more programming related tutorials David! :)]]></description>
			<content:encoded><![CDATA[<p>Awesome! Please do write up more programming related tutorials David! 🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.dpscomputing.com @ 2026-09-15 17:00:09 by W3 Total Cache
-->