Yea, I figured that out and just styled the • span inline. This relates to another issue with two A tags next to each other creating one link.
I'm using the Configuration class to setup the styles now.
Have you any thoughts on how I can change the colour of the LinkElement by using the FlowElementMouseEvent? When I use this it seems to be pretty responsive at tracing out the LinkElement which suggests it should be able to target it and change it like that. I tried to change the colour of the linkElement on rollover but it didn't do anything.
Any ideas on how I can hack this for the time being? I've hung my entire project off this framework and it's looking like I may have to ditch it just because of a hover state on a link. I'm gutted.
In your example you've got all the links in a single paragraph. I changed the markup to have all the links in separate paragraphs and the result performs well - see below. Note I added textAlignLast="justify" cause you had everything set to justify before so this gives the same result.
You've got about 500 links in a single paragraph there and its requiring the TextBlock to be updated on each hover. That invalidates all the lines. Changing how you do the styling from the linkNormalFormat to using FlowElementMouseEvents will almost certainly have the same result.
<?xml version="1.0" encoding="UTF-8"?>
<TextFlow xmlns="http://ns.adobe.com/textLayout/2008" whiteSpaceCollapse="preserve" fontSize="12" textAlign="justify" textAlignLast="justify">
<linkNormalFormat><TextLayoutFormat color="#000000" textDecoration="none" fontFamily="hatten" /></linkNormalFormat>
<linkHoverFormat><TextLayoutFormat color="#999999" textDecoration="none" /></linkHoverFormat>
<linkActiveFormat><TextLayoutFormat color="#999999" textDecoration="none" /></linkActiveFormat>
<p><a href="event:001">Lorem ipsum</a><span color="#ffffff">•</span></p>
<p><a href="event:002">dolor sit</a><span color="#ffffff">•</span></p>
<p><a href="event:004">amet consectetur</a><span color="#ffffff">•</span></p>
<p><a href="event:005">adipiscing elit</a><span color="#ffffff">•</span></p>
.... etc ...
We can investigate having a large number of links in a single Paragraph further but there's nothing obvious. I hope this is a sufficent solution.
Richard