SWFobject and ajax div?

Hi all,

I am using an ajax makerequest function, which updates a particular div (id=contentText). But the div does not display the flash inside, SWFObject does not seem to be executed when the page loads.

Now when I look at the generated browser source code, i can see the named div(id=contentText) which I use with ajax. But not the innerhtml with a div (id=flashContent).

flashContent is used by swfobject (so.write(“flashContent”))

Any ideas how to use swfobject and ajax?