Flash slideshow Q
Flash slideshow Q
- Started
- Last post
- 1 Response
- vaporstouch
whats wrong here...this is pulling two MCs out of my library, and setting the one to mask the other...ok, fine, but when i use a setInterval to run again for a "slideshow", the function works the first time, but fails everytime after...:
var switchImg; //interval ID
var current = 1; //starting pointfunction changeImg() {
trace(["img" + current]);
this.attachMovie ("maskImg", "maskImg" + current, (current * 2000));
this.attachMovie (["img" + current], "img" + current, (current * 100));
this["img" + current].setMask (["maskImg" + current]);
current++;
}changeImg();
switchImg = setInterval(changeImg, 5000);
- stewart0
pff flash.
use powerpoint for slideshows.