I want text field to have links to frames in my flash file

I have a dynamically loaded text file. I am trying to figure out a way to make hyperlinks that don’t get URLs but instead, set variables and then jump to another frame so that it can dynamically load the requested content.

Does anybody have an idea? Should I be using xml or something?

Thanks in advance.

Luke

P.S. I am working for a company so I can get them to spend money if there is an extension that I can buy.