# Flash button that triggers dynamic url

**URL:** <https://forum.kirupa.com/t/flash-button-that-triggers-dynamic-url/58346>\
**Category:** Uncategorized\
**Created:** [July 21, 2004, 5:51pm UTC](https://forum.kirupa.com/t/flash-button-that-triggers-dynamic-url/58346 "2004-07-21T17:51:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trode](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@trode](https://forum.kirupa.com/u/trode)\
**Post date:** [July 21, 2004, 5:51pm UTC](https://forum.kirupa.com/t/flash-button-that-triggers-dynamic-url/58346/1 "2004-07-21T17:51:38Z")

</div>

I am not an advanced html coder but I think this should be feasible…

I am setting up a php page that creates dynamic url links within the html code. The links aren’t always the same. I want to have my FLASH content contain buttons that trigger the browser to go to the specified url that are dynamically created. How do I go about this?

Is there a way FLASH can have the a button, that when is clicked, triggers a variable that I have referenced to a dynamic url and goes there?

I look forward to your help.

-Trode

---

<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:** [July 22, 2004, 2:16am UTC](https://forum.kirupa.com/t/flash-button-that-triggers-dynamic-url/58346/2 "2004-07-22T02:16:01Z")

</div>

sure just load the dynamically created URL as a variable into flash, then use  
getURL(\_root.myVariableName);

Just in case you arent sure the way you make a variable able to be loaded by flash in php is something like this  
echo “&myVariableName=”.$thePHPCreatedVariable;

then all you have to have in the flash is loadVariables(“myPHPFile.php”, \_root);

---

<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:** [July 22, 2004, 2:13pm UTC](https://forum.kirupa.com/t/flash-button-that-triggers-dynamic-url/58346/3 "2004-07-22T14:13:56Z")

</div>

Excellent! Simple enough too.

Thanks for your help.

Cheers,  
Trode
