Forum Statistics

  • Forum Members: 4,499
  • Total Threads: 3,656
  • Total Posts: 1
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 04-28-2009, 12:42 AM   #1 (permalink)
 
Status: Newbie
Join Date: Apr 2009
Posts: 9

Rep Power: 13 tomcruse is on a distinguished road



Default [CS4 demo version!] need help to get the domain of site

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
tomcruse is offline Add Infraction for tomcruse   Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.5.0 RC2