<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/mxml/tags/TLF</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 01:31:39 GMT</pubDate>
<item>
<title>(MXML) programmatically creating a TextFlow stream of Link Elements - LeeProbert</title>
<link>http://snipplr.com/view/30192/programmatically-creating-a-textflow-stream-of-link-elements/</link>
<description><![CDATA[ <p>This code relates to an issue with the Adobe Text Layout Framework which you can read about here :

http://forums.adobe.com/message/2682942#2682942

and

http://forums.adobe.com/thread/598789?tstart=0

Basically, if you link several hundred A links together within a paragraph in a TextFlow object it causes a massive performance issue if you then try and format the link to have a hover state.

This code will programmatically add link elements to the flow and importantly will create a new paragraph if the link sits at the start of a new line. This will fix the performance issue as long as there aren't too many links in one paragraph.</p> ]]></description>
<pubDate>Wed, 24 Mar 2010 05:08:14 GMT</pubDate>
<guid>http://snipplr.com/view/30192/programmatically-creating-a-textflow-stream-of-link-elements/</guid>
</item>
</channel>
</rss>