开发者

Have a link that is imported in xml, clickable to execute a function

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜