# Can Dynamic Text execute an AS Function?

**URL:** <https://forum.kirupa.com/t/can-dynamic-text-execute-an-as-function/68158>\
**Category:** flash\
**Created:** [October 22, 2004, 3:07pm UTC](https://forum.kirupa.com/t/can-dynamic-text-execute-an-as-function/68158 "2004-10-22T15:07:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thief\_of\_Light](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@Thief\_of\_Light](https://forum.kirupa.com/u/Thief_of_Light)\
**Post date:** [October 22, 2004, 3:07pm UTC](https://forum.kirupa.com/t/can-dynamic-text-execute-an-as-function/68158/1 "2004-10-22T15:07:00Z")

</div>

I’ve always wanted to figure this one out. If I have a dynamic text field with HTML text or even without, can I create a link that executes a function within Flash?

I know I can create a link to itself with a variable and pass that variable through javascript and have it run, but that requires refreshing the browser. Is there a more seamless way to do it?

Thanks!
