Flash clickTag implementation

Flash clickTag implementation

In order to count clicks as well as impressions, the flash banners must be prepared specifically for this. This document provides a step by step process to prepare the flash banner for e-planning. At the end, there is a FAQ section for common issues you may encounter.

Steps

Create the animation as you normally would. 

  1. Insert a new layer above the others. In this new layer create a rectangle that covers the hole banner (choose any color).

  2. Right click the rectangle and in the contextual menu select 'Convert to Symbol' (You get the same effect with F8). In the dialog window select the behavior 'Button' and a name if you wish.

  3. Now modify the properties of the new button. Change it's color; select 'alpha'; choose '0%' of alpha. With this the button will be left transparent, making the original color chosen irrelevant.

  4. Edit the actions for this button.
    If you edit it in normal mode, select getURL and complete the window with the following information:
    In the URL space write '_root.clickTag' (without the quotes). Select menu expressions (Flash 4) or mark with a tick the option (Flash 5 or superior).
    Target window: select '_blank'
    Variables: select 'Don't send'

    If you prefer the expert mode, copy and paste the next code:

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


Related links:

- AS3 - clickTag

- ClickTag - FAQ