# Embedded imgs: asfunction won't work with img button?

**URL:** <https://forum.kirupa.com/t/embedded-imgs-asfunction-wont-work-with-img-button/176761>\
**Category:** Uncategorized\
**Created:** [January 26, 2006, 6:17pm UTC](https://forum.kirupa.com/t/embedded-imgs-asfunction-wont-work-with-img-button/176761 "2006-01-26T18:17:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [January 26, 2006, 6:17pm UTC](https://forum.kirupa.com/t/embedded-imgs-asfunction-wont-work-with-img-button/176761/1 "2006-01-26T18:17:02Z")

</div>

Having a heck of a problem - I can easily use ahref tags on text to call flash methods from dynamic text: for example:

\<a href=“asfunction:\_root.clickHandler,2”\>GO TO PAGE 2\</a\>

but if I use this:

\<a href=“asfunction:\_root.clickHandler,2”\>\<img src=‘img.jpg’/\>\</a\>

I get nothing. The image recognizes that it “should” click to something, but I can’t get the image button to call the function.

Any ideas?
