Page 1 of 1

Flash click overlay?

Posted: Fri Mar 06, 2009 6:22 am
by Sindarin
I am trying to create a method to count the clicks from a flash banner. I placed the banner in a <td> and used an onclick="href.location=http://www.mysite.com"
This works on Firefox but IE and Opera ignores it even though the flash is embedded with wmode=transparent. This site is not made with css, it uses tables so I cannot place an overlay image with a hyperlink on the flash. What else can I do?

Re: Flash click overlay?

Posted: Mon Mar 16, 2009 12:00 pm
by Jonah Bron
Maybe link to a PHP page that counts, and then have the PHP page redirect from there?

Re: Flash click overlay?

Posted: Mon Mar 16, 2009 12:27 pm
by kaszu
I don't think there is anything else you could do.
This site is not made with css, it uses tables
But why can't you use css? Probably there is css used anyway to style those tables or not?
Is it technically imposible, ex. flash inserted through wysiwyg editor, where all css is removed or framework/cms limitation!?

Re: Flash click overlay?

Posted: Wed Mar 18, 2009 9:33 pm
by Sindarin
Maybe link to a PHP page that counts, and then have the PHP page redirect from there?
That's what I do. It works for images because <a href='myurl'><img src='banner.jpg'></a> is valid on all browsers while <a href='myurl'><object etc... ></object></a> is not working in IE and Opera while it works in Firefox. Maybe it has to do with the method IE and Opera embed the Flash ActiveX?
Is it technically imposible, ex. flash inserted through wysiwyg editor, where all css is removed or framework/cms limitation!?
Banners are selected from a list and is inserted in a field in the database.

My current workaround is to have the php script spit out a random click url which would be supplied to the advertisers so to insert it in their flash banner and send it back to us.

Re: Flash click overlay?

Posted: Thu Mar 19, 2009 1:25 am
by php_east
have the flash obtain the url from an xml file, and have the table td onlick event use the same xml data for the href. the onlick would be on the table td as well as the flash.

Re: Flash click overlay?

Posted: Mon Apr 06, 2009 6:12 am
by Sindarin
The problem is that would defeat the purpose as the advertisers already send us their ads with their link hardcoded.