Clicktag confusion

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:

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?" codebase=",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?" />
        <param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	
        <embed src="bb.swf?" quality="high" bgcolor="#ffffff" width="300" height="250" name="bb" align="absmiddle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="" />

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(){

I honestly don’t know if I’m doing something wrong in the AS side or the HTML side. Please help.

Thanks in advance.