Link behavior from external text file?

I am dynamically loading external text into TextArea components, and it works fine. I have links within the text whose look and states are controlled by an external style sheet. I am using simple unicode txt files.

The problem comes with what can be accomplished with the text link. I can open web pages, but what I want to do is tell the flash file to perform an action such as moving to a specific frame. For example, on rolling over a link, I want the movie to go to frame 10.

I’ve tried all kinds of code, but have yet to be successful. My latest code attempt:

<a href=“on.rollOver(‘webfiles/flash/mm01/mm01_04.swf(gotoAndStop(10)’);”>link text here</a>

Any suggestions would be welcome. If this just can’t be done let me know as well. Thanks in advance.