unbelievable
12-08-2006, 12:21 PM
I have PHP web page, that has embedded flash object (that calls some php script too). In addition I have regular HTML contents on the page which is driven by PHP and it displays 5-6 thumbnails and other images. On IE only it doesn't load them completely sometimes (especially if the page is not cached on the browser).
I was trying different things (caching, removing some objects), and found out that if I remove flash object, it loads all images fine. How does flash affect this problem?
Can anybody give me an idea what could be wrong?
Here's the code I'm working with...
<code>
-----------------------------------------------------------
<script type="text/JavaScript">
function Hide(id) {
document.getElementById(id).style.display='none';
}
//-->
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="(URL address blocked: See forum rules)=8,0,0,0" width="225" height="140" id="flex" align="middle" style="position:absolute;
top:1px;
left:50%;
margin-left:-414px;
z-index:0;">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="media/swf/logo/flex.swf" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="media/swf/logo/flex.swf"
loop="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="225" height="140" name="flex" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="(URL address blocked: See forum rules)" />
</object>
<div id="logo_static" style="position:absolute; top:1px; left:50%; margin-left:-414px; z-index:1;">
<img src="media/swf/logo/bolts.static.gif" alt="Logo"/>
</div>
</code>
---------------------------------------------------
I'm using the javascript to swap out div containers so that I can display static content for browsers not flash enabled. Meanwhile, I call some other functions in my index page that load rollovers and other media.
Somehow the interplay between my javascript function and my flash object affect whether those other images load...
<a href="http://www.consortiumbrands.com/test/index.php">You can see the page here. />
I was trying different things (caching, removing some objects), and found out that if I remove flash object, it loads all images fine. How does flash affect this problem?
Can anybody give me an idea what could be wrong?
Here's the code I'm working with...
<code>
-----------------------------------------------------------
<script type="text/JavaScript">
function Hide(id) {
document.getElementById(id).style.display='none';
}
//-->
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="(URL address blocked: See forum rules)=8,0,0,0" width="225" height="140" id="flex" align="middle" style="position:absolute;
top:1px;
left:50%;
margin-left:-414px;
z-index:0;">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="media/swf/logo/flex.swf" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="media/swf/logo/flex.swf"
loop="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="225" height="140" name="flex" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="(URL address blocked: See forum rules)" />
</object>
<div id="logo_static" style="position:absolute; top:1px; left:50%; margin-left:-414px; z-index:1;">
<img src="media/swf/logo/bolts.static.gif" alt="Logo"/>
</div>
</code>
---------------------------------------------------
I'm using the javascript to swap out div containers so that I can display static content for browsers not flash enabled. Meanwhile, I call some other functions in my index page that load rollovers and other media.
Somehow the interplay between my javascript function and my flash object affect whether those other images load...
<a href="http://www.consortiumbrands.com/test/index.php">You can see the page here. />