Flash specifications

  • Always attach a back-up gif to all flash creatives
  • Always include the clickTAG argument in the swf-file sent to Emediate

Creating clickTAG with ActionScript 2

If a creative is of type Shockwave Flash, make sure the flash creative is compiled with clickTAG:

1. In the flash-file, take out the normal click-action that links directly to URL.

2. Create an invisible button that covers your whole banner.

3. On this button you replace the URL with: clickTAG (case sensitive).

4. The new action will look like this. We recommend that you use the following script:

on(release) {
   getURL(clickTAG, "_blank");

5. Save the banner and export as FLASH format.

There should be no quotation marks around clickTAG and clickTAG is case sensitive.
If you use several clickTAGs, make sure to give them proper names in the fla file, e.g. clickTAG2, clickTAG3 etc., corresponding to the fields in the template.

Creating clickTAG with ActionScript 3

  1. Select the button object on the stage that you wish to use and in the properties panel assign it an instance name (empty by default)
  2. With actioncscript 3 you are not allowed to apply scripts to a button. Therefore select the first frame on the main stage (ex. the layer containing your button) and insert the following code in the actionscript panel.
 var clickTAG:String = String(root.loaderInfo.parameters.clickTAG);
       function activateclickTag(e:Event):void {
       var request:URLRequest = new URLRequest(clickTAG);
Creatives made with ActionScript 2 are still preferred, because ActionScript 3 trigger pop-up blockers when used with clickTAG.

Also banners are meant to target a large group of people. ActionScript 3 requires Flash Player 9 or 10, but many are still using Flash Player 8 or below.

Cxense © 2012 | Support