Hi, I'm working on a site now that uses Flash shockwave to display images, actually there are a mix of shocwave files (18) and gif/jpeg (7).

My question is: How can I make a load order function that will work for both the shockwaves and the others?

I haven't tested it yet but I thought this JS might work... But if I do, will changing the "NAME" in the shockwave object tag work for the load order?

<script language="JavaScript">

var imgArray = new Array("b2","c2","c1","b1","a1","a2","a3","b3","c3" );
var len = imgArray.length
var imgDir = "";
var num = 0;

for (i = 0; i < len; i++) {

imageObj1 = imgArray + "";
temp = eval(imageObj1 + " = new Image()");
temp.src = imgDir + imageObj1 + ".jpg";

}

function StartCycle() {

eval("doent."+imgArray+".src = "+imgArray+".src");
num = num + 1;

if (num < len) {
setTimeout("StartCycle()", 1000);
}
}

//-->
</script>
</head>

<body bgcolor="#FFFFFF" link="#000099" vlink="#000099" onLoad="StartCycle()">

<table cellspacing=3 cellpadding=3 border=2>
<tr>
<td><img src="blank.gif" name="a1" width=199 height=140></td>
<td><img src="blank.gif" name="a2" width=199 height=140></td>
<td><img src="blank.gif" name="a3" width=199 height=140></td>
</tr>
<tr>
<td><img src="blank.gif" name="b1" width=199 height=140></td>
<td><img src="blank.gif" name="b2" width=199 height=140></td>
<td><img src="blank.gif" name="b3" width=199 height=140></td>
</tr>
<tr>
<td><img src="blank.gif" name="c1" width=199 height=140></td>
<td><img src="blank.gif" name="c2" width=199 height=140></td>
<td><img src="blank.gif" name="c3" width=199 height=140></td>
</tr>
</table>

Anyone worked with this problem before? Any thoughts or suggestion?

Thanks in advance!