I have the following code in my swf but when I publish it in html it doesn't display the images. So how can I get the swf file to display the images that are in this particular folder when it is published to html?
Code:var imgList:Array = new Array(); imgList[0] = "/images/coral.jpg"; imgList[1] = "/images/horizon.jpg"; imgList[2] = "/images/resort.jpg"; imgList[3] = "/images/sunset.jpg"; function chooseTheString() { randomPic = random(imgList.length-1); _root.holder.loadMovie(_root.imgList[randomPic]); } chooseTheString(); stop();