var imageArray = new Array();
imageArray = "images/animation9.gif";
imageArray = "images/Title2.gif";
imageArray = "images/animation4.gif";
var rand = Math.floor(Math.random()*3);
var imgPath = "<img src='"+imageArray[rand]+"' alt='Welcome' border='0' align='absmiddle' />";
document.getElementById("image").innerHTML = imgPath;
So...it works fine with .gifs, but how would I get it to work with .swf movies too?
I've tried just putting the .swf in there e.g. ...
'imageArray = "images/animation6.swf";
But that doesn't seem to work.
Thank-you SO much in advance.