# \[mx\] Actionscript Link in Textfield

**URL:** https://forum.kirupa.com/t/mx-actionscript-link-in-textfield/12996
**Category:** flash
**Created:** [February 7, 2003, 9:17am UTC](https://forum.kirupa.com/t/mx-actionscript-link-in-textfield/12996 "2003-02-07T09:17:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chr\_ruetgers](https://avatars.discourse-cdn.com/v4/letter/c/bbce88/32.png) [@chr\_ruetgers](https://forum.kirupa.com/u/chr_ruetgers)
#### Post date: [February 7, 2003, 9:17am UTC](https://forum.kirupa.com/t/mx-actionscript-link-in-textfield/12996/1 "2003-02-07T09:17:05Z")

</div>

In textfields it’s possible to insert a HTML-style link. Is there any solution to activate a actionscript function from a link like this in the text?

I would like to load another text into the textfield when clicking a word into the text.

Thanks in advance,

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 1:21pm UTC](https://forum.kirupa.com/t/mx-actionscript-link-in-textfield/12996/2 "2003-02-07T13:21:20Z")

</div>

you would use ASFunction  
it was an undocumented feature of Flash 5, but its known of now…

[http://www.macromedia.com/support/flash/ts/documents/asfunction.htm](http://www.macromedia.com/support/flash/ts/documents/asfunction.htm)

🙂
