SWF not opening in new window??

Soldato
Joined
29 Dec 2004
Posts
5,653
Location
Chatham, Kent
The code:

Code:
on(release){

      if (clickTAG.substr(0,5) == "http:") {

            getURL(clickTAG, target="_blank");

      }
}

The Embed code:

Code:
<EMBED src="http://www.eteknix.com/images/ads/amd_phenom_II_x4_945.swf?clickTAG=http://www.competitor.com" width="728" height="90">

Keeps opening in same tab though. Any ideas why?

Andy
 
What URL are you passing to the function? Is it absolute or relative?
His code + example suggests that it is absolute, but just to make sure that the url isn't the problem try directly entering the url e.g.
Code:
on(release){
            getURL("http://www.google.co.uk", "_blank");
}
 
Back
Top Bottom