Add ClickTAG for your Flash SWF banner in few clicks.
Works with Actionscript 2 (AS2), Actionscript 3 (AS3) FP 6-10

get ClickTag


 




Actionscript 2.0 (AS2)

On the top level Button or MovieClip apply following actionscript: on (release) { getURL(_root.clickTAG, '_blank'); } Or you can also do it by MovieClip or Button instance name: click_btn_name.onRelease = function(){ getURL(_root.clickTAG, '_blank'); } If you still have problems download this sample FLA file (Flash CS3): clicktag_as2.fla

Actionscript 3.0 (AS3)

Give the Button some instance name for example click_btn and add following actionscript: import flash.events.MouseEvent; import flash.net.URLRequest; import flash.net.navigateToURL; click_btn.addEventListener(MouseEvent.MOUSE_UP, onClick); function onClick(e:MouseEvent):void { var click_url:String = root.loaderInfo.parameters.clickTAG; if(click_url) { navigateToURL(new URLRequest(click_url), '_blank'); } } If you still have problems download this sample FLA file (Flash CS3): clicktag_as3.fla

Don't forget

Don't forget to change clickTag format and target (_blank, _self or _top) to required.