Listen an action from HTML page

Hi, guys!

I need to know how can I “get” a click event in a html´s button. Hum… it sounds complicated… So: a exemple:

I have a flash menu into a HTML page. Ok. But I have links at the html section also. And those links, when clicked, they must tell flash: “Hey, Flash! The client clcked me! My name is htmlButton!”.

I must to do this to Flash player 7. I know how to SEND vars from flash and get a “ok” from html/javascript or php. But. When the actions START out-side flash, how can I tell flash that he has a variable wich is wating for him?

I hope you understand me.

Thanks a lot!