Posted By

alidrongo on 02/10/14


Tagged

click yahoo tag


Versions (?)

AS3 Yahoo! clicktag button listener


 / Published in: ActionScript 3
 

URL: http://adspecs.yahoo.co.uk/ynetwork/300x250

used for yahoo! clicktags in as3

  1. function getClickTag():String{
  2. for (var key:String in root.loaderInfo.parameters)
  3. if(key.toLowerCase()=="clicktag")
  4. return root.loaderInfo.parameters[key];
  5. return "";
  6. }
  7. clicker_mc.addEventListener(MouseEvent.CLICK,function():void {
  8. navigateToURL(new URLRequest(getClickTag()),"_blank");
  9. });

Report this snippet  

You need to login to post a comment.