Trigger boolean via FlashVars (html>flash)

So, the idea is that an html hyperlink can trigger some sort of event in flash. The idea I had would be to send a ‘simple’ variable when the hyperlink is clicked, such that:

   if (highlightEmail == "true"){

the variable ‘true’ can be a number or whatever, I’m not really bothered. But basically, I only want that variable sent when the hyperlink is clicked.

I’ve had a look over the web and it seems FlashVars is the way to go (I don’t want to be messing around with Java or PHP or something else, just keep it simple). However, I cannot find an answer and my own attempts have been left in vain. Any help is appreciated.