If you would like to purchase getclicktag.com script for local hosted version for your server please contact me on darklow@gmail.com
If you use getclicktag.com and find it useful, please consider some donation, to help support the site. Thank you.
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