Flex 4中如何设置TextFlow内超链接样式的例子

接下来的例子演示了Flex 4中如何通过linkNormalFormat, linkHoverFormat和linkActiveFormat属性,设置TextFlow内超链接样式。

让我们先来看一下Demo可以点击这里察看源代码):

下面是完整代码(或点击这里察看):
下面是main.mxml:








接下来是teaserTextFlow.xml的代码:


The following excerpt is from Flex Examples:

The following example shows how you can import a TextFlow object from an XML object in Flex 4 by using the static TextFlowUtil.importFromXML() method.

For more information, see “Importing a text flow from an XML object in Flex 4”.


代码:Peter deHaan 翻译/整理/编译:中文Flex例子

Leave a Reply

Your email address will not be published. Required fields are marked *