how to create default's attributes for the links element?
Hi
I propose you this example:
<TextFlow
paddingBottom="4" paddingLeft="4"
paddingRight="4" paddingTop="4"
whiteSpaceCollapse="preserve"
xmlns="http://ns.adobe.com/textLayout/2008">
<p color="#990099" fontSize="15"><a href="http://www.Google.com" target="_blank"><linkActiveFormat><TextLayoutFormat color="#0000cc" fontWeight='bold' textDecoration="none"/></linkActiveFormat><linkHoverFormat><TextLayoutFormat color="#cc0000" fontWeight='bold' textDecoration="none"/></linkHoverFormat><linkNormalFormat><TextLayoutFormat color="#00cccc" fontWeight='bold' textDecoration="none"/></linkNormalFormat><span>this is a link to google</span></a></p></TextFlow>
to be able to assign the attributes to the link I have had all of them among the tags <a> and if I want to add a link, for example to yahoo, I have to write:
<p color="#990099" fontSize="15"><a href="http://www.Yahoo.com" target="_blank"><linkActiveFormat><TextLayoutFormat color="#0000cc" fontWeight='bold' textDecoration="none"/></linkActiveFormat><linkHoverFormat><TextLayoutFormat color="#cc0000" fontWeight='bold' textDecoration="none"/></linkHoverFormat><linkNormalFormat><TextLayoutFormat color="#00cccc" fontWeight='bold' textDecoration="none"/></linkNormalFormat><span>this is a link to yahoo</span></a></p>
and so street for every link, and the lines increase to excess.
does exist the possibility to assign the attributes only one time in the flow, so that all the present links uses them as proper?
thanks for any answer
