Ok, here's the question, I have an xml doc that is being import into an AS3 file and then with .htmlText, appending it to a movie clip. An example of what this looks like is:
<abstract><![CDATA[<p><strong>AEO Times Square</strong> Store Wins Prestigious SEGD Merit Award for Dynamic Environments <a href='event:OpenArticle1'>View Article</a></p>]]>&l开发者_运维问答t;/abstract>
What I'd like to have happen is when I click that view article link that I can call a function passing in "OpenArticle1".
Thanks in advance.
You'll want to have a look at flash.events.TextEvent.LINK. There is an example in there too.
精彩评论