click-tag has me stumped

Ask a Question related to Macromedia Flash Ad Development, Design and Development.

  1. #1

    Default click-tag has me stumped

    I created a simple animation to use as a banner ad. I am trying to attach
    click-tag code from the company that will be placing the ad on their website.

    To do this, they suggested make an invisible button (alpha=0) and add the code
    as action. But when I try that, it doesn't work. The action shows up with
    other action (like my stop action code), the button says cannot add action, or
    I get an error message for the code (was confirmed right though). I named my
    button instance in the panel at the bottom but that did not help. I put the
    button in its own layer. Didn't help. Do I need to set special properties to
    my button? Am I missing something else here?

    Also, it seems like there is another way to get the whole thing to act as a
    button when it's up as an add (some on-line tutorial stuff suggests I can do
    this as a setting at export). But I cannot figure that out either.

    I'm using Flash CS3 on a Mac.

    Thank you so much for any help!

    Stephanie

    StephanieDRSC Guest

  2. Similar Questions and Discussions

    1. stumped...table - row - click event, cancel checkbox event
      I have a html table and mutliple rows. On each row i put an onclick event that opesn a modal window and prompts the user for some information. I...
    2. Stumped
      Hi all I am receiving the following message in a routine which logs the transaction before registering a new user. It fails on the open instruction...
    3. got me stumped
      Hi. How ya doing? You guys are great. I am stumped. You know when you right-click on an image or other file, you get the properties sheet. Then...
    4. Single click vs double click in mouseDown and mouseUp
      For a double click mouseDown and mouseUp catch 2 event: the first report clickCount value 1 and the second report value 2. How to respond to a...
    5. Datalist selects Item after first click, but does apply the SelectedItemTemplate after the second click only
      Background: On my webform a simple datalist shows one column. The databind is done in the page_load event. In the ItemTemplate a linkbutton serves...
  3. #2

    Default Re: click-tag has me stumped

    Hi Stephanie, you will not be able to see the results of the clickTag when you
    click on your ad to test. The way it works is that when the ad is clicked, it
    passes that variable (clickTag) to some javascript on the page where it
    resides. The javascript then sends the user onto the "landing url" which has
    been given to them by the client.

    Here is what I do when I create an invisble button with a clickTag applied:

    1. Create a new button symbol and edit it
    2. Make sure that there is nothing in the "up", "over", or "down" keyframes
    3. In the "hit" keyframe place a rectangle the same size as your stage
    4. Drag your symbol onto your stage in the topmost layer, just under your
    actionscript layer (as layer always on top by convention)
    5. You'll see that when you create an invisible button like this, it looks
    teal on stage. It will not publish like that... it's only there for you to see
    for placement
    6. While your symbol is selected, give it an instance name in the Properties
    panel... something like "inv_btn"
    7. In the first frame of your actionscript layer place this code:




    inv_btn.onRelease = function(){
    getURL(clickTag);<<< the syntax on this varies from site to site and is
    case-sensitive
    };

    aniebel Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139