# Dynamically loaded invisible button

**URL:** <https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522>\
**Category:** Uncategorized\
**Created:** [September 7, 2004, 5:29pm UTC](https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522 "2004-09-07T17:29:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sandeep](https://forum.kirupa.com/u/sandeep)\
**Post date:** [September 7, 2004, 5:29pm UTC](https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522/1 "2004-09-07T17:29:36Z")

</div>

I’m trying to load an invisible button which is in the library using action script and then apply a hyperlink to it. Could someone please help me do this?

In other words…

I want to display a text, an invible button behind it which will act as the hyperlink. But the number of lines can change, so i want to be able to load the button each time a line is added.

---

<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:** [September 8, 2004, 11:28am UTC](https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522/2 "2004-09-08T11:28:03Z")

</div>

noone? ☹

---

<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:** [September 8, 2004, 11:43am UTC](https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522/3 "2004-09-08T11:43:47Z")

</div>

doesn’t seem like a very difficult problem… where do you go wrong?

---

<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:** [September 9, 2004, 9:38am UTC](https://forum.kirupa.com/t/dynamically-loaded-invisible-button/63522/4 "2004-09-09T09:38:21Z")

</div>

i didnt go wrong as such. I just dont know how to load it in the first place 😊

I was told I couldn’t create a hyperlink using actionscript, so i thought i could use an invisible button behind the text to make it appear as if they are links. But the number of text lines varies and i need a way to load the invisible button from the library each time.
