Hi
I haven't done any Flash for a loooong while and I'm struggling with the CS4 demo I just DL-ed from Adobe
I have a banner that will be sent to 6 or 7 partner sites and in the banner is a button with a getURL action to take the user to my site.
The getURL has a url variable on it like this
getURL("http://www.domain.fr/index.php?pmv_pid=2","_blank");
so that I can track which site it comes from
however, to avoid having to make a different banner for each site that hosts the banner I would like to detect the domain of the site and use a switch to insert the correct var on the url
I'm sure I've done this before but I really can't remember the code i need to use to obtain the domain of the site - can anyone point me in the right direction, please ?
many thanks
online stock trading
fitness workout