dpoole
10-18-2004, 09:30 AM
Hi to all,
there are a html page, that embed a simple flash movie with following AS code:
getURL("javascript:CallMe()");
the flash movie should call the js function "CallMe()" in the same html page
and here the html code from the page:
<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>
my Problem:
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
there are a html page, that embed a simple flash movie with following AS code:
getURL("javascript:CallMe()");
the flash movie should call the js function "CallMe()" in the same html page
and here the html code from the page:
<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>
my Problem:
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