| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2002
Location: germany
Posts: 2
|
Hi to all,
there are a html page, that embed a simple flash movie with following AS code: Code:
getURL("javascript:CallMe()");
and here the html code from the page: Code:
<head>
<title>Unbenannt</title>
<meta http-equiv="expires" content="0" >
<meta http-equiv="PRAGMA" content="no-cache" >
<meta http-equiv="CACHE-CONTROL" content="no-cache" >
<script language="JavaScript">
<!--
function CallMe()
{
// do nothing
window.open("http://www.google.de","_blank");
}
// -->
</script>
</head>
<body>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="200" id="flash_movie" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash_movie.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="flash_movie.swf" quality="high" bgcolor="#ffffff" width="300" height="200" name="flash_movie" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<br><br>
<img src="img/clown.jpg" alt="" width="400" height="267" border="0">
<br><br>
<img src="img/eicheln.jpg" alt="" width="400" height="264" border="0">
<br><br>
<img src="img/bauarbeiter.jpg" alt="" width="400" height="268" border="0">
<br><br>
<img src="img/christbaumkugeln.jpg" alt="" width="400" height="314" border="0">
</body>
</html>
While the Internet Explorer loading the html page and the containing images from server, the flash movie are calling the javascript function in the html page. In this moment the IE abort loading the images. So all images on the html pages does not appear. in a local environment the problem does not occur, because the loading of images are complete, before the flash movie calls the JS function. With Mozilla or Firefox the problem does not occur. Any suggestions ? Thanks in advance dp |
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2006
Posts: 1
|
Quote:
Waiting for the onload handler to kick in should fix this problem, but it's still a PITA! |
|
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|