Hi, I’ve been trying to finish a banner for a client that requested clicktags. However I’ve been unable to test if the clicktags even work since I keep getting undefined problems. I’ve uploaded the problem file here:
http://jonchau.com/porsche/bigbox/test.html
Not sure what I’m doing wrong… in the html I’ve edited the following
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="bb.swf?clickTag=www.google.com" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="300" height="250" id="bb" align="absmiddle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="bb.swf?clickTag=www.google.com" />
<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
<embed src="bb.swf?clickTag=www.google.com" quality="high" bgcolor="#ffffff" width="300" height="250" name="bb" align="absmiddle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
And as for the actual swf file, I had created a movieclip encompassing the entire stage and inside added the following AS
this.onRelease = function(){
getURL(_root.clickTag,"_blank");
};
I honestly don’t know if I’m doing something wrong in the AS side or the HTML side. Please help.
Thanks in advance.