Scenario - 10 photos that are in the timeline ( they are in frames 1 - 10) ...i need them to switch every ten seconds...( I have this figured out ) with the code below this post...

problem is I want a fading effect to correspond with the time coded so basically it fades into the photo (lets say from white to photo) in the first 2 seconds ... then has photo showing for next 6 seconds ... then for the next 2 seconds it has to fade to white... every photo would do the same thing.

Can someone please add a separate code to be placed in the frames of the photos (possibly on a different layer?) to make this happen.

is this possible...I'm sure I would need to create a clip with the fade effect but unsure what to do with it.

Thanks in advance...

FK has amazing people on here.


CODE THAT I HAVE THAT SWITCHES PHOTOS AND WORKS

this.doWait = function(time) {
this.go = function() {
this.gotoAndPlay(this._currentFrame+1);
clearInterval(this.wait);
};
this.wait = setInterval(this, "go", time);
};
// and put this on the frame
// that you want to stop and wait on
stop();
this.doWait(10000);
// (10000 milliseconds/10 seconds)