/
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).

    14.

  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.

    19.

  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.

    26.

  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');
    }

    47.

  5. In both cases, make sure the final code is equal to the preview lines and the following image. Specially, make sure '_root.clickTag' is not between quotes and '_blank' is.
    If in the normal mode '_root.clickTag' is still between quotes, it is because you did not tick 'Expression'.
    The real URL, to where it must take you when clicked to the button should not stay in this action. It will enter e-planning when loading the banner.

    66.

  6. Now your banner is ready for publishing and loading in the ad server.

Related links:
- ClickTag - FAQ

Related content