Clicktag Question

Discussion in 'Programming' started by projectsclothing, Apr 21, 2009.

  1. #1
    I know it's a simple answer, but I'm no expert in flash and have come to the best site online for the answer :)
    I've been asked by my affiliate company to add a click tag into mt flash file. So I've added a new button as the top layer and made it clear. The problem appears when I get to the Actionscript part. I've been told just to add the following into the action script.
    on (release) {

    if (clickTAG.substr(0,5) == "http:") {

    getURL(clickTAG);

    }

    }

    When I open the actionscript I don't really know what I'm doing. It wouldn't allow me just to paste, so I clicked on the bottom left box, with item saying current selection, but this total guess obvious led to an error message being shown saying there was a problem with the clciktag.
    Here what I've done, any help would be much appreciated.
    [​IMG]
     
    projectsclothing, Apr 21, 2009 IP