Skip navigation
Julie Cloutier
Currently Being Moderated

Help with clicks tag

Apr 29, 2011 2:25 PM

I was ask to create an ad banner, I need help with how to track the web click on it, is it what the clicktag is for. What should I do, insert that code but where ?

  • Currently Being Moderated
    May 2, 2011 6:39 AM   in reply to Julie Cloutier

    Create Clicktag AS 2.0


    1. Create animation


    2. Add new layer to very top of timeline. (must be at top) Label "clicktag" or Inv button. (It doesn't really matter what you label it)


    3. On first frame of this layer draw rectangle to cover full stage (may go beyond stage dimensions)


    4. Rectangle must have a fill color. You may delete frame around the box. (Make sure alpha slider has some fill percentage before you draw rectangle to enable fill)


    5. Convert this box to a button symbol.  Name clicktag (or button)


    6. Double click on this button or get to edit mode. Select color fill with solid arrow. Click on Properties panel/Fill color and adjust alpha to 0%.


    7. Go back to Scene. Click on first frame of clicktag layer. Select the now invisible button by surrounding with solid arrow tool.


    8. Select properties panel and click on arrow in circle to get Actions panel.


    9. Make sure Actions panel says ACTIONS-BUTTON at top of panel.


    10. Add coding from below:


    on (release) {

    getURL (_level0.clickTag, "_blank");



    11. Send swf/html files along with your target URL to publication


    Good luck

    Mark as:
  • Currently Being Moderated
    Apr 13, 2012 12:03 PM   in reply to Julie Cloutier



    No, you don't put the URL in the banner. Just the first block of code. The URL will come in to the banner as a variable when it's trafficked. Here's a tool you can use to make sure it's set up correctly:

    Mark as:
  • Currently Being Moderated
    Apr 13, 2012 1:00 PM   in reply to Julie Cloutier

    Is your banner going to run in a big ad network? It's probably going through something like DFA (Doubleclick For Advertisers) or AdSense, who will host your banner and put it in a rotation on a network of sites. The person who sets up the banner to run in this framework is 'trafficking' your banner. WHen doing this, they will assign a URL to the click tag variable which gets found by your swf via flashvars in the embed code. By doing it this way, instead of hard-coding the url in the banner: it makes it easier to change the URL, and enables reporting of how many people clicked through from the banner.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points