Adding a Clickthrough Button to a Flash File

To track clickthroughs a SWF creative must have a button to register the click and route to the appropriate tracking URL. To know which URL to route to the SWF uses a special variable called clickTAG. The URL for this is then supplied by the ad server. The best way to implement a click variable is to place a button across the whole creative and to place this on
the top layer.

How to add a clickTag Button to a Flash File

  1. Select the topmost layer in the SWF file
  2. Click the Add Layer Button
  3. Select the newly created layer
  4. Select the rectangle tool, make sure that a fill is selected and draw a box over the whole
    of the banner
  5. Select the box and then select convert to symbol (Modify > Convert to Symbol)
  6. Name the symbol and select a Type of Button, then click OK
  7. Double click on the button, this will open the button symbol for editing
    Drag the first frame from Up to Hit
    This makes the button an invisible detection area
    Click on Scene 1 to return to the main timeline
    You will now see the button as a transparent cyan rectangle covering the ad
  8. Select Window > Actions from the menus
  9. Type the following code into the Actions for the button
    This tells Flash to open the URL supplied by the ad server (clickTAG) into a new (“_blank”) window when the user presses and the releases the mouse on this button
Facilitate Digital's flexibility and willingness to work with St George to deliver a tailored solution that meets the business objectives has been critical to the success of the implementation
Andrew Malak
Manager Strategy & New Market Delivery,Westpac St George Banking