I'm working on an affiliate program with a flash banner. The affiliate program generates a param tag that looks like this:
in my actionscript i have this to handle the click
The problem is that is does not link properly.
when you click on the banner it link to this:
it should go to
Thanks
Code:
<param name="movie" value="[URL unfurl="true"]http://affiliate-press.com/ads/girl_laptop.swf?clickTAG=http%3A%2F%2Faffiliate-press.com%3Fa_aid%3Dbb8a7d65%26a_bid%3Df2afcabd"[/URL] />
in my actionscript i have this to handle the click
Code:
on(release)
{
url = this._url;
pos = url.indexOf("?");
params = url.substr(pos+1);
param = params.split("=");
key = param[0];
value = param[1];
getURL(value);
}
The problem is that is does not link properly.
when you click on the banner it link to this:
it should go to
Thanks