/ Published in: ActionScript 3
                    
                                        
used for yahoo! clicktags in as3
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function getClickTag():String{
for (var key:String in root.loaderInfo.parameters)
if(key.toLowerCase()=="clicktag")
return root.loaderInfo.parameters[key];
return "";
}
clicker_mc.addEventListener(MouseEvent.CLICK,function():void {
navigateToURL(new URLRequest(getClickTag()),"_blank");
});
URL: http://adspecs.yahoo.co.uk/ynetwork/300x250
Comments
 Subscribe to comments
                    Subscribe to comments
                
                