<?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/"
		>
<channel>
	<title>Comments on: Styling hyperlinks in a TextFlow object in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simion Ploscariu</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-10010</link>
		<dc:creator>Simion Ploscariu</dc:creator>
		<pubDate>Thu, 29 Sep 2011 14:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-10010</guid>
		<description>How can i change the colors of links using AS3 not mxml?</description>
		<content:encoded><![CDATA[<p>How can i change the colors of links using AS3 not mxml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daslicht</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-9208</link>
		<dc:creator>daslicht</dc:creator>
		<pubDate>Tue, 10 May 2011 07:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-9208</guid>
		<description>Here is anothe approch without the need of manipulationg the markup:

http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fef.html</description>
		<content:encoded><![CDATA[<p>Here is anothe approch without the need of manipulationg the markup:</p>
<p><a href="http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fef.html" rel="nofollow">http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fef.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elle</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-8299</link>
		<dc:creator>Elle</dc:creator>
		<pubDate>Fri, 03 Sep 2010 18:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-8299</guid>
		<description>I&#039;m just learning Flex and am struggling with showing a dynamic hyperlink with a dynamic title. For some reason, this post was the closest thing I could find to what I need. Do you have any resources to point me towards? Any help would be a relief..</description>
		<content:encoded><![CDATA[<p>I&#8217;m just learning Flex and am struggling with showing a dynamic hyperlink with a dynamic title. For some reason, this post was the closest thing I could find to what I need. Do you have any resources to point me towards? Any help would be a relief..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-7850</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 03 Jun 2010 15:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-7850</guid>
		<description>@krishna,

All of my examples used the Flex 4.0 SDK and the TLF that came with that particular build.
I&#039;d start by making sure that you have the latest available TLF build, as I believe that the &lt;code&gt;TextConverter.TEXT_FIELD_HTML_FORMAT&lt;/code&gt; was an API change, so you may be using a slightly older TLF build.

Peter</description>
		<content:encoded><![CDATA[<p>@krishna,</p>
<p>All of my examples used the Flex 4.0 SDK and the TLF that came with that particular build.<br />
I&#8217;d start by making sure that you have the latest available TLF build, as I believe that the <code>TextConverter.TEXT_FIELD_HTML_FORMAT</code> was an API change, so you may be using a slightly older TLF build.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishna</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-7843</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Thu, 03 Jun 2010 10:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-7843</guid>
		<description>I am facing the same issue with TextLayout Logged issue in (http://bugs.adobe.com/flex/) Id : &lt;a href=&quot;http://bugs.adobe.com/jira/browse/SDK-26612&quot; rel=&quot;nofollow&quot;&gt;SDK-26612&lt;/a&gt;.

One more thing I found in your code TextConverter.TEXT_FIELD_HTML_FORMAT, But in my build i am not able to get this option.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>I am facing the same issue with TextLayout Logged issue in (<a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a>) Id : <a href="http://bugs.adobe.com/jira/browse/SDK-26612" rel="nofollow">SDK-26612</a>.</p>
<p>One more thing I found in your code TextConverter.TEXT_FIELD_HTML_FORMAT, But in my build i am not able to get this option.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-7299</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 18 Mar 2010 20:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-7299</guid>
		<description>@lee probert,

Do you have an example of something chaining a bunch of hyperlinks together? If so, can you file it in the bug base (http://bugs.adobe.com/flex/) and post the bug number here and I can investigate ASAP.
I tried with this test case in a recent Flex 4 SDK and was not able to repro the behavior you were describing:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
        xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;
        xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot;&gt;
    &lt;s:layout&gt;
        &lt;s:VerticalLayout /&gt;
    &lt;/s:layout&gt;
    
    &lt;fx:Script&gt;
        &lt;![CDATA[
            import flashx.textLayout.conversion.ConversionType;
            import flashx.textLayout.conversion.TextConverter;
            
            private const someString:String = &#039;&lt;a href=&quot;http://adobe.com/&quot; rel=&quot;nofollow&quot;&gt;Adobe.com&lt;/a&gt;&lt;a href=&quot;http://flexexamples.com/&quot; rel=&quot;nofollow&quot;&gt;FlexExamples.com&lt;/a&gt;&lt;a href=&quot;http://airexamples.com/&quot; rel=&quot;nofollow&quot;&gt;AIRExamples.com&lt;/a&gt;&lt;a href=&quot;http://actionscriptexamples.com&quot; rel=&quot;nofollow&quot;&gt;ActionScriptExamples.com&lt;/a&gt;&#039;;
        ]]&gt;
    &lt;/fx:Script&gt;
    
    &lt;s:RichEditableText id=&quot;ret&quot;
            editable=&quot;false&quot;
            textFlow=&quot;{TextConverter.importToFlow(someString, TextConverter.TEXT_FIELD_HTML_FORMAT)}&quot; /&gt;
    
    &lt;s:Button click=&quot;debug.text = TextConverter.export(ret.textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.XML_TYPE).toXMLString();&quot; /&gt;
    &lt;s:TextArea id=&quot;debug&quot; width=&quot;400&quot; height=&quot;200&quot; /&gt;
    
&lt;/s:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>@lee probert,</p>
<p>Do you have an example of something chaining a bunch of hyperlinks together? If so, can you file it in the bug base (<a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a>) and post the bug number here and I can investigate ASAP.<br />
I tried with this test case in a recent Flex 4 SDK and was not able to repro the behavior you were describing:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:layout</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:VerticalLayout</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:layout</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #000000;">            import flashx.textLayout.conversion.ConversionType;</span>
<span style="color: #000000;">            import flashx.textLayout.conversion.TextConverter;</span>
&nbsp;
<span style="color: #000000;">            private const someString:String = <span style="color: #ff0000;">'&lt;a href=&quot;http://adobe.com/&quot; rel=&quot;nofollow&quot;&gt;</span></span>Adobe.com<span style="color: #000000;">&lt;/a<span style="color: #7400FF;">&gt;</span>&lt;a href=<span style="color: #ff0000;">&quot;http://flexexamples.com/&quot;</span> rel=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #7400FF;">&gt;</span></span>FlexExamples.com<span style="color: #000000;">&lt;/a<span style="color: #7400FF;">&gt;</span>&lt;a href=<span style="color: #ff0000;">&quot;http://airexamples.com/&quot;</span> rel=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #7400FF;">&gt;</span></span>AIRExamples.com<span style="color: #000000;">&lt;/a<span style="color: #7400FF;">&gt;</span>&lt;a href=<span style="color: #ff0000;">&quot;http://actionscriptexamples.com&quot;</span> rel=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #7400FF;">&gt;</span></span>ActionScriptExamples.com<span style="color: #000000;">&lt;/a<span style="color: #7400FF;">&gt;</span></span>';
        ]]&gt;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Script</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:RichEditableText</span> id=<span style="color: #ff0000;">&quot;ret&quot;</span></span>
<span style="color: #000000;">            editable=<span style="color: #ff0000;">&quot;false&quot;</span></span>
<span style="color: #000000;">            textFlow=<span style="color: #ff0000;">&quot;{TextConverter.importToFlow(someString, TextConverter.TEXT_FIELD_HTML_FORMAT)}&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Button</span> click=<span style="color: #ff0000;">&quot;debug.text = TextConverter.export(ret.textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.XML_TYPE).toXMLString();&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextArea</span> id=<span style="color: #ff0000;">&quot;debug&quot;</span> width=<span style="color: #ff0000;">&quot;400&quot;</span> height=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lee probert</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-7295</link>
		<dc:creator>lee probert</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-7295</guid>
		<description>I think the format attribute of the span tag might be deprecated. Certainly didn&#039;t work for me. Also, if you chain A links together it converts them all into one link.</description>
		<content:encoded><![CDATA[<p>I think the format attribute of the span tag might be deprecated. Certainly didn&#8217;t work for me. Also, if you chain A links together it converts them all into one link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rootsical</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-5897</link>
		<dc:creator>rootsical</dc:creator>
		<pubDate>Thu, 01 Oct 2009 14:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-5897</guid>
		<description>hi there. when i try this i get no whitespace before the a tags and span tags.  any idea why? thanks for the great info.</description>
		<content:encoded><![CDATA[<p>hi there. when i try this i get no whitespace before the a tags and span tags.  any idea why? thanks for the great info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-4717</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 24 Jul 2009 15:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-4717</guid>
		<description>Razvan,

Try downloading a newer Flex 4 SDK build from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

Peter</description>
		<content:encoded><![CDATA[<p>Razvan,</p>
<p>Try downloading a newer Flex 4 SDK build from <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" rel="nofollow">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razvan</title>
		<link>http://blog.flexexamples.com/2009/06/28/styling-hyperlinks-in-a-textflow-object-in-flex-4/comment-page-1/#comment-4710</link>
		<dc:creator>Razvan</dc:creator>
		<pubDate>Fri, 24 Jul 2009 07:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1220#comment-4710</guid>
		<description>hei,
can anybody tell me when i copy paste the code i  get :
&lt;b&gt;Cannot resolve attribute &#039;textFlow&#039; for component type spark.components.TextArea.&lt;/b&gt;
and if i remove the textFlow attribute i get :
&lt;b&gt;1172: Definition spark.utils:TextFlowUtil could not be found.&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>hei,<br />
can anybody tell me when i copy paste the code i  get :<br />
<b>Cannot resolve attribute &#8216;textFlow&#8217; for component type spark.components.TextArea.</b><br />
and if i remove the textFlow attribute i get :<br />
<b>1172: Definition spark.utils:TextFlowUtil could not be found.</b></p>
]]></content:encoded>
	</item>
</channel>
</rss>

