hello,
my code for my slide show starts off fine, but then it begins to load the images exponentially rather than just one at a time…
i am using a tween class for the alpha fading (alphaTo) …
my code is:
var slide:Array = new Array ("…/images/gallery/slides/slide1.jpg","…/images/gallery/slides/slide2.jpg","…/images/gallery/slides/slide3.jpg","…/images/gallery/slides/slide4.jpg","…/images/gallery/slides/slide5.jpg","…/images/gallery/slides/slide6.jpg","…/images/gallery/slides/slide7.jpg");
function show(){
var ran:Number = Math.random()6;
var i:Number = Math.ceil(ran);
_root.slide_mc.loadMovie(slide);
slide_mc.alphaTo(100,2,“easeinSine”,2);
slide_mc.alphaTo(0,4,“easeinSine”,8);
setInterval(show,16000);
trace(slide*);
}
show();
can anyone spot what’s going wrong?
thanks!