Skip navigation
uwmmarketing
Currently Being Moderated

Question From a New Flash User

Apr 24, 2012 2:08 PM

This is my first time submitting a flash digital ad to a web developer. I've made plenty of animated gifs, so the graphics part was easy, but I struggled when the web developer sent me this email:

 

There is no clickTag inserted and there are hardcoded URL in the SWF file.

 

Does anyone know what this means or how to help me? I would greatly appreciate this. thank you very much

 
Replies
  • Currently Being Moderated
    Apr 24, 2012 2:17 PM   in reply to uwmmarketing

    Likely this is the wrong forum, as most ad servers only accept AS2 code - at least the ones our clients use. But anyway, a clickTag is a FlashVar that is sent in to your SWF by the ad server. It's a URL that when clicked allows the server to track the ad.

     

    Normally, it works something like so:

     

     

    clickThrough.onRelease = function(){

              getURL(clickTag,"_blank");

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 24, 2012 2:54 PM   in reply to uwmmarketing

    Did you create the swf file via creating an fla source file and publishing the swf from it?  If so, did you include anything involving clicking code in the file, such as a button?  Chances are, anything that gets clicked in the ad you want to use that function they gave you as the event handler.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 24, 2012 6:44 PM   in reply to uwmmarketing

    A hardcoded URL likely means that if you click something in the ad it links to another web site.  If that's the case you need to find the code that is doing that and removeit (and probably replace it with the code you were given).  You should first find the code before you remove any of it and post it here.

     

    Also, you should check the Flash Publish Settings to see which version of Actionscript your file is using.  If it is AS2, you might need to select objects to find code.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2012 8:42 AM   in reply to uwmmarketing

    loaderInfo.parameters.clickTag is the FlashVar being sent in by the server. The only other thing you need to do is import the LoaderInfo class like so:

     

    import flash.display.LoaderInfo;

     
    |
    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