Advanced flash question
- Started
- Last post
- 0 Responses
- belicopter
Okay, so I have a 728x90 flash banner that captures a users zip code input and passes it along with a URL. The method I'm using is:
On the release button I have:
on(release){
if(zip.length < 5 || zip == "")
{alert="Please enter 5 digit Zip";
}else{getURL(link + zip);}
}...and I have a separate action which states:
link = myurl.com/etc/etc
... and the zip code entry field is named "zip".
This method already works great. The issue I have now, is that I need to set this up to work properly with an ad tracking service where (according to Macromedia) you use this type of function:
on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG);
}
}My question is, is the proper solution to this to simply replace "link" with "clickTAG" in my getURL string, as in:
}else{getURL(clickTAG + zip);}
...or can I keep the "link" part in there and change my separate action to:
link = "clickTAG"
This has got me a bit confused.