The Flash file is taken from Designhulp. You can find it here.
Alternative content. Google and screen readers would read these lines.
Note that I didn't use a Flash sniffer yet. This is only a test if it is possible to embed Flash using JavaScript.
function createFlashMarkup(width,height,uri,replaceid){
var obj = document.createElement('object');
obj.setAttribute('type','application/x-shockwave-flash');
obj.setAttribute('width',width);
obj.setAttribute('height',height);
obj.setAttribute('data',uri);
var p_m = document.createElement('param');
p_m.setAttribute('name','movie');
p_m.setAttribute('value',uri);
obj.appendChild(p_m);
var div = document.getElementById(replaceid);
document.getElementsByTagName('body')[0].replaceChild(obj,div);
}
window.onload = function(){
createFlashMarkup('550','400','vuurwerk.swf','replaced-by-flash');
}