my test server is win2k server, the script works fine, loads the movie,
allows user selection etc. however when i access the same script on my
remote server none of the requesting files load. the files are there, and
they are accessible. ive tested them out by themselves so i know its not an
issue with the file. i also just moved to windows from a unix machine. i
have the exact same script and movies on the unix machine and i have NEVER
had a problem. IM PUZZLED.
<script language="JavaScript">
var curChannel=0;
function input(no)
{
chLed1.src = chLed2.src;
chLed2.src = chLed3.src;
chLed3.src = "interface/ch" + no + ".gif";
curChannel = ((curChannel * 10) + no) % 1000;
}
function chDisplay(x)
{
var movName = new String();
movName = curChannel.toString();
while (movName.length != 3)
{
movName = "0" + movName;
}
movName = "movies/320/" + movName + ".mov";
spanMov.innerHTML = "<embed width=320 height=255 src=" + movName +
"></embed>";
}
function jump(diff)
{
var newChannel = (curChannel + diff) % 1000;
if (newChannel == -1)
{
newChannel = 999;
}
var k = Math.floor(newChannel / 100);
input(k);
var c = Math.floor((newChannel % 100) / 10);
input(c);
var d = (newChannel % 100) % 10;
input(d);
chDisplay(0);
}
</script>
<body>
<embed width="320" height="255" src="movies/320/000.mov"></embed>
</body>
TIA!!!!