# Changing variables with an address?

**URL:** <https://forum.kirupa.com/t/changing-variables-with-an-address/184379>\
**Category:** programming\
**Created:** [April 4, 2006, 6:56pm UTC](https://forum.kirupa.com/t/changing-variables-with-an-address/184379 "2006-04-04T18:56:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fantim](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@fantim](https://forum.kirupa.com/u/fantim)\
**Post date:** [April 4, 2006, 6:56pm UTC](https://forum.kirupa.com/t/changing-variables-with-an-address/184379/1 "2006-04-04T18:56:12Z")

</div>

Is there anyways to change the varible within a swf with the address bar?  
For example:  
[http://www.kirupa.com/page1.php?myVariable=2](http://www.kirupa.com/page1.php?myVariable=2)  
would set the variable myVariable within the flash file located on the page1.php page to equal “2”.  
I thought I’d seen this done somewhere.

---

<div class="post-metadata">

**Author:** ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)\
**Post date:** [April 4, 2006, 7:42pm UTC](https://forum.kirupa.com/t/changing-variables-with-an-address/184379/2 "2006-04-04T19:42:27Z")

</div>

just have the php echo out the variable and use loadVars
