AS3 clickTag with a twist

Hi all, i’ve been doing banners for years and am well familiar with the AS3 clickTag however … i have a request that in short probably won’t make much sense but here it goes.

usually we’d grab the URL from the adserver and then opens a new “_blank” but… i need to use that same URL but instead of opening a page i need to just action the URL as if it were attempting to open a page but instead just posts … i think.

basically in the clickTag will be a url to a database which will send the users logged in cookie id to a database somewhere i just need my clickTag button to action this.

i’ve looked at doing something like this:

var urlVariables:URLVariables = new URLVariables;

btn.addEventListener( MouseEvent.CLICK,function():void {
if (root.loaderInfo.parameters.clickTag.substr(0,5) == “http:”) {
var urlRequest:URLRequest = new URLRequest(root.loaderInfo.parameters.clickTag); = urlVariables;
but am unable to test it at the moment but if anyone else out there can point me in the direction of some useful docs i’d appreciate it.

Thanks in advance