Flash Border

It seems that we really missed that one. While we were busy honing Flash presentations for our clients some bright people decided that they can make a hit on Microsoft. And they got away with it.

Now all Flash objects in almost all web sites that use them produce an ugly border around them. Thanks, clever folks of Eolas Technologies. I wish someone, just for once, would make you handpick hundred of wet ones off the wet floor while some kids keep throwing watermelon’s parts under your feet.

On the other hand it’s a lot of fun watch how people are trying to figure this one out. Ofcourse the workaround has already been developed, ofcourse this is a nuissance for whole bunch of web masters around the world and the fact that pricks at Eolas have supposedly invented something effectively cancelled by what these morons have just done.

The workaround that seem to work so far – embedding Flash objects via JavaScript. For regular hostings that support .htaccess and PHP (thanks to Miracle):

1. In .htaccess:

AddType application/x-httpd-php .html .htm
php_value auto_prepend_file header_for_all_html.php

2. In header_for_all_html.php :
//Optionally check for (strpos($_SERVER[‘HTTP_USER_AGENT’],’MSIE’) !== false)
echo ‘{script language=”JavaScript” type=”text/javascript” src=”/path/to/super_puper_flash_updater.js”} {/script}’;
(Change the brackets though)

3. For super_puper_flash_updater.js – check here: http://miracle.pisem.net/flash_replacer_v0.3.js