Warning: Invalid argument supplied for foreach() in /var/www/vhosts/clicktager.com/httpdocs/wp-content/plugins/ps-google-website-optimizer-setting/ps_google_optimizer.php on line 99
ClickTAG flash CS4/MX/CS3 action script (AS1, AS2) | Online Advertising & Marketing Proffesional blog Online advertisement professional

How Online Advertisement works. Something about Banners and other forms of ads ;)

ClickTAG flash CS4/MX/CS3 action script (AS1, AS2)

Filed under: Banners production, action script — Tags: , , , , , , , , , — clickTAGer @ 9:34 pm 2009/02/17

VIDEO: how to put clickTAG in CS4 Flash version

Get Adobe Flash player

 

Most common clickTAG version:

on (release) { 
getURL (_root.clickTAG, “_blank”); 
}

clickTag version:

on (release) { 
getURL (_root.clickTag, “_blank”); 
}

clicktag version:

on (release) { 
getURL (_root.clicktag, “_blank”); 
}

For advanced flash user:

_root prefix – because clickTAG is set in root level, using root you are safe in case you use button in other movieclip or level.

Always use on (release) - because on(press) will be blocked by browser

“_blank” - most requirements notes blank as default rule. If you have free of choice – use blank when ad is served on other site then landing page. But you can use “_self” if ad directs to same domain (inner ad-campaign)

 

Share and Enjoy:
  • Facebook
  • Digg
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Netvibes
  • Technorati
  • TwitThis
  • email
  • PDF
  • Print
  • RSS
  • Yahoo! Bookmarks

5 Comments »

  • how to do it with action script 3?

    Comment by janis — 2009/10/09 @ 2:58 pm

  • i’d also like to know how in action script 3 you
    make this because have been searching a way to do it the entire day..

    Comment by Mk — 2010/01/13 @ 12:36 pm

  • Good job! Nice tutorial!!

    Comment by Gijs — 2010/01/19 @ 5:35 pm

  • Thank you very much! Great!

    Comment by Tobbe Tapper — 2010/05/11 @ 10:02 am

  • Here’s the code for AS3:

    var _url:String = “”;
    if (LoaderInfo(root.loaderInfo).parameters.clickTag)
    { _url = LoaderInfo(root.loaderInfo).parameters.clickTag;
    myButton.addEventListener(MouseEvent.MOUSE_UP, handleMouse); }
    function handleMouse(event:MouseEvent):void
    { navigateToURL(new URLRequest(_url), “_blank”); }

    I get it from http://www.genelu.com/content/view/98/#josc331

    Comment by ESQ Magazine — 2010/05/22 @ 5:19 am

RSS feed for comments on this post. TrackBack URL

Leave a comment