Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clickTAG issues 1

Status
Not open for further replies.

dragonwell

Programmer
Oct 21, 2002
863
US
Hi - I run an ad-serving application that renders flash banner ads to pages. My app supplies the swfs with their "clickTAG" variable (see thread250-926508 ). This has been working fine, but I have run into an ad that is not cooperating. I have not yet seen the code (the .fla) file, so I cannot determine exactly what's going on internally, but for some reason when the actionscript in the swf makes it's call to getUrl(), part of the url that it's "Getting" is being chopped off. So - in the html we have something like :
Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"[/URL] WIDTH="468" HEIGHT="60" id="262"><PARAM NAME=movie VALUE="[b]ads/bannerad.swf?clickTAG=redirectPage?paramA=x&paramB=y[/b]"><PARAM NAME=quality VALUE=high><EMBED src="[b]ads/bannerad.swf?clickTAG=redirectPage?paramA=x&paramB=y[/b]" quality=high WIDTH="468" HEIGHT="60" name="bannerad" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>[/URL]

The problem is that it's only getting "redirectPage?paramA=x", that is, everything after the & in the url is not being included.

Anyone have any ideas?

Thanks.
 
Try escaping the "&" (%26).

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top