Back in the days of a now dormant Internet startup, we ran into an issue of how to dynamically add new objects (Flash or otherwise) to your page. If you simply do
document.write() with some
<object> tags in it, it does not work. The browser refuses to interpret new object tags.
Here’s is an example that I wrote using a little PHP. Enjoy! If this sounds very trivial, I am sorry, us mere mortals sometimes have their ‘aha’ moments they do enjoy 🙂