# How to use a variable as a link

**URL:** <https://forum.kirupa.com/t/how-to-use-a-variable-as-a-link/162962>\
**Category:** flash\
**Created:** [September 18, 2005, 4:50am UTC](https://forum.kirupa.com/t/how-to-use-a-variable-as-a-link/162962 "2005-09-18T04:50:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LapisInfernalis](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@LapisInfernalis](https://forum.kirupa.com/u/LapisInfernalis)\
**Post date:** [September 18, 2005, 4:50am UTC](https://forum.kirupa.com/t/how-to-use-a-variable-as-a-link/162962/1 "2005-09-18T04:50:14Z")

</div>

Hi there!

I spent the whole morning to figure out, how I can use a variable as a hyperlink in Flash.

The variable itself is added to Flash as an URL-praramter. I know that Flash gets the variable, because I can show its content in a dynamic textfield.

My first thought was something like this:

```auto
on (release) {
getURL(my_var);
}

```

But that doesn’t work… ☹

Thanks for your help in advance!

Greetings

LapisInfernalis
