# Listen an action from HTML page

**URL:** <https://forum.kirupa.com/t/listen-an-action-from-html-page/199026>\
**Category:** Uncategorized\
**Created:** [August 30, 2006, 5:23pm UTC](https://forum.kirupa.com/t/listen-an-action-from-html-page/199026 "2006-08-30T17:23:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedro\_paulo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pedro_paulo/32/2017_2.png) [@pedro\_paulo](https://forum.kirupa.com/u/pedro_paulo)\
**Post date:** [August 30, 2006, 5:23pm UTC](https://forum.kirupa.com/t/listen-an-action-from-html-page/199026/1 "2006-08-30T17:23:27Z")

</div>

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!

pp
