Html link in flash and variables

I made an application which loads external xml files an put them inside a textfield using htmlText. Now the text contains a few links, and I was wondering if I could give information from a link to a flash variable.

Like when you have a link in that textfield: <a href="&name=johnny">link</a> and when you click it fills a variable named: “name” with the value “johnny”.
This way I could connect to the MySQL database and get the information about “johnny” and display it. :slight_smile:

I’ve searched google, but I found only resources about external links and getting values into flash variables.