Loading a random image Help needed

Im trying to create a Dynamic slideshow that loads an image fades it out and loads another.

This is my code thus far. I can get the image to load but its not random.

function loadImages(amount:Number) {
	for (var i = 0; i<amount; i++) {
		var sURL:String = "images/0"+i+".jpg";
		randImage = Math.floor(Math.random()*sURL.length);