Alla fine ho capito un pò come ragionava lo script e l'ho adattato alle mie esigenze...ho prodotto questo

codice:
function fix_flash(id,filmato,larghezza,altezza) //id del tag object, percorso del filmato, larghezza, altezza
{
	var object = document.getElementById(id);
	var new_object;
	
	if (object.outerHTML)// object is an IE specific tag so we can use outerHTML here
	{
		var html = object.outerHTML;
		
		new_object = html.replace(/<\/object\>/i, "<embed wmode='transparent' src='"+filmato+"' width='"+larghezza+"' height='"+altezza+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' scale='noborder' menu='false'></embed>\n</object>");// loop through each of the param tags
		object.insertAdjacentHTML('beforeBegin', new_object);// replace the old embed object with the fixed versiony
		object.parentNode.removeChild(object);
	}
}
che va richiamato con la seguente riga di codice (da mettere nell'head della pagina)

codice:
<script type="text/javascript">
			$(document).ready(function(){
				fix_flash("top_flash","template/corrente/top.swf","996","245");
			});
		</script>