PDA

View Full Version : Ajax Content Script doesn´t show Flash



Huroman
06-11-2008, 04:59 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): Link (http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm)

3) Describe problem:

Hi everybody. Well, I have the html master with


<div id="here"></div>
<script type="text/javascript">
ajaxpage('portada.html', 'here')
</script>

This code calls "portada.html" who its has a Flash Slideshow, the problem is that the flash doesn´t see. If I put all together (in a same html) the Flash works, any could help me?

Tks in advanced.

Huri.

PS. Sorry for my eng.

Huroman
06-13-2008, 04:46 PM
I found the solution, it use swfObject and need to put:


<object type="application/x-shockwave-flash" data="myanimation.swf" width="512" height="240">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="myanimation.swf" />
<param name="bgcolor" value="#33404D" />
<img src="noflash.gif" width="200" height="100" alt="" />
</object>