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

Posted by Benjamin Sterling on Stack Overflow See other posts from Stack Overflow or by Benjamin Sterling
Published on 2010-04-30T14:59:36Z Indexed on 2010/04/30 16:07 UTC
Read the original article Hit count: 290

Filed under:
|

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>]]></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.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about Xml