# Passing variables with querystring (w/ 2 swf)

**URL:** <https://forum.kirupa.com/t/passing-variables-with-querystring-w-2-swf/325062>\
**Category:** flash\
**Created:** [September 24, 2011, 9:35am UTC](https://forum.kirupa.com/t/passing-variables-with-querystring-w-2-swf/325062 "2011-09-24T09:35:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pomme\_](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Pomme\_](https://forum.kirupa.com/u/Pomme_)\
**Post date:** [September 24, 2011, 9:35am UTC](https://forum.kirupa.com/t/passing-variables-with-querystring-w-2-swf/325062/1 "2011-09-24T09:35:05Z")

</div>

So, I have this old project where I have to pass a querystring from one flash to another…

mc.onPress = function() {  
whatURL = “index.html?id=”+this.id+"&num="+this.num  
getURL(whatURL, “\_blank”, “GET”);  
}

But when pressed, i get a querystring longer than my arm :  
[http://www.myurl.com/index.html?id=0&num=37&&activateList=[type+Function]&createList=[type+Function]&slider=[type+Function]&listed=0](http://www.myurl.com/index.html?id=0&num=37&&activateList=%5Btype+Function%5D&createList=%5Btype+Function%5D&slider=%5Btype+Function%5D&listed=0) and a whole lot of other variables and functions… i end up getting a Request-URI too large.  
How come I pass all these different variables to the query string when I just ask for 2??

Thanks a lot!
