All tricks on da WWWeb

This is a collection of cool Web programming stuff - mostly UI Design, optimization & usability related stuff

Home  |  Sumedha Pics  |  Thoughts  |  Humour  |  ParaNormal

Tuesday, March 07, 2006

Flash ads disabled in IE (on applying latest IE update)

Flash ads disabled inIE

I have downloaded the patch. It is not as bad as I thought it was going to be. For me, all flash ads still show. To interact with the flash ads, you have to click on them first.
Posted by Michael | 1:28 pm on March 3, 2006.

How is it that this may just affect flash ads? What about flash of any kind on a site?

Posted by Andrew | 1:33 pm on March 3, 2006.

The following table lists the DTHML events that are blocked when ActiveX controls are inactive.

onactivate ondragleave onmouseout
onbeforeactivate ondragover onmouseover
onbeforecopy ondragstart onmouseup
onbeforecut ondrop onmousewheel
onbeforedeactivate onfocus onmove
onbeforepaste onfocusin onmoveend
onblur onfocusout onmovestart
onclick onhelp onpage
oncontextmenu onkeydown onpaste
oncontrolselect onkeypress onresize
oncopy onkeyup onresizeend
oncut onlosecapture onresizestart
ondblclick onmousedown onscroll
ondeactivate onmouseenter onselectstart
ondragend onmouseleave
ondragenter onmousemove

Posted by Developer | 3:04 pm on March 3, 2006.

There is a work around to this which eliminates the extra click. If the OBJECT tag is written to the page by JavaScript it will bypass the extra click. HOWEVER. The document.write must be contained in an external JS file. It can not be inline with the code.

Posted by Jeff | 3:25 pm on March 3, 2006.

The suggestions already posted in these comments rein in the most common workarounds to the IE update, and you can find more information and resources to help address the change published at the URL below.

Note- this behavioral change in IE is not specific to Flash, but any embedded ‘active content’, for the record (applets, Quicktime movies, etc.).

As suggested earlier, putting the object/embed tag in a document.write() call within an external Javascript file (and then including that JS file in your HTML doc) will remove the need for a user click to activate the control. By parameterizing your external JS file/functions, it could also be reused by passing in references to different SWF movies, requiring only one external JS file across multiple resources.

Hope this helps out.

Posted by Scott Fegette | 4:28 pm on March 3, 2006.

There’s a few Javascript methods of embedding Flash that fix this…

I’ve been tracking the issue here.

Posted by Geoff | 11:49 am on March 5, 2006.

So - Would all the publishers ask people to download Firefox… to protect their revenues?


Post a Comment

<< Home