# URLRequest and URLVariables to a url value

**URL:** https://forum.kirupa.com/t/urlrequest-and-urlvariables-to-a-url-value/261407
**Category:** flash
**Created:** [May 27, 2008, 11:54am UTC](https://forum.kirupa.com/t/urlrequest-and-urlvariables-to-a-url-value/261407 "2008-05-27T11:54:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![project1\_exe](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@project1\_exe](https://forum.kirupa.com/u/project1_exe)
#### Post date: [May 27, 2008, 11:54am UTC](https://forum.kirupa.com/t/urlrequest-and-urlvariables-to-a-url-value/261407/1 "2008-05-27T11:54:09Z")

</div>

Sorry about putting it in the Tip of the day, i miss clicked “reply” i thought i clicked “new thread”

Hi,

I have a “u” and “v” variables and i do this for example…

var u:URLRequest = new URLRequest(“[www.google.com](http://www.google.com)”);  
var v:URLVariables = new URLVariables(“q=hehe”);

u.data = v;

trace(u.url);

how do i get it so it will trace “[www.google.com?q=hehe](http://www.google.com?q=hehe)”

---

<div class="post-metadata">

### Author: ![project1\_exe](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@project1\_exe](https://forum.kirupa.com/u/project1_exe)
#### Post date: [May 28, 2008, 4:11am UTC](https://forum.kirupa.com/t/urlrequest-and-urlvariables-to-a-url-value/261407/2 "2008-05-28T04:11:15Z")

</div>

thanks 🙂 i’ve had a workaround by combining r.url + “?” + v.toString()…tho not very efficient cause r.url should have no parameters
