View Full Version : IE Load timing Issue

09-24-2008, 08:29 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="css/flash.css" type="text/css" />
<script type="text/javascript" src="js/getHeight.js"></script>
<script type="text/javascript" src="js/getWidth.js"></script>
<script type="text/javascript" src="js/maxHeight.js"></script>
<script type="text/javascript" src="js/maxWidth.js"></script>
<script type="text/javascript" src="js/resize.js"></script>

<script type="text/javascript" src="js/ufo.js"></script>

<body onload="resize()">

<script type="text/javascript">
var FO = { movie:"media/small.swf", width:"300", height:"400", majorversion:"6", build:"40" };
UFO.create(FO, "ufoDemo");

<table align="center" id="resizeable" border="1">
<td align="center" valign="middle">
<div id="ufoDemo">
<p><a href="http://www.macromedia.com/go/getflashplayer"><br />
<img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" alt="Get macromedia Flash Player" style="border: none;" /></a></p>

My Video is loading before the resize() function is called on body onload but only in IE

www.hyphen-nation.org/testtemp2.html if you want to see the problem

Philip M
09-24-2008, 08:40 PM
resize.js thows an error- Object expected. So presumably resize.js never runs (in IE). To detect the error you need to look at resize.js.

09-24-2008, 09:00 PM
Is there a way to tell where it is looking for an object I thought I knew but I deleted it and it is still doing the same as far as throwing the error...