Hey Guys;

Installed ad flash and it works fine except the flash ad is not click-able. I do have a proper url specified but when I mouse ove the ad it does not allow me to click on it. Any thoughts?

Cheers

James

Comments

actrak’s picture

here is the site and the Ad.

http://www.trailhead.ca/

Cheers

James

Alex Andrascu’s picture

Design your flash SWF with the clickTAG standard. Do NOT place a URL in the getURL of your SWF or it will not work correctly in all browsers and you will not get any click-statistics in the Advertisement module in Drupal. The destination URL should not be located in an SWF's code, anywhere

jyee’s picture

One thing I just encountered was that the clickTAG could possibly be a secure URL (i.e. HTTPS), however the clickTAG documentation that is linked contains code that validates for http only. This means that if your clickTAG is https, it will fail. This module should either:

  • reformat the $ad->redirect url so that it is always http (not a good solution)
  • or note in the documentation that the flash code should be something like if (_root.clickTAG.substr(0,4) == "http") { so that it matches both http and https (better solution)
  • or change the clickTAG documentation so that the flash code example properly checks for http or https (best solution)
Alex Andrascu’s picture

This module needs a good rewriting and i've been busy for quite awhile now. I can only hope to find sometime in the near future to take care of this evergrowing issue queue as the company i'm working with will also require this module.

TIll then...i apreciate all the incoming feedback and bugs. Ty jyee for the info. If you care to roll a patch that would be awsome :)