URLRequest and URLVariables to a url value

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”);
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

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