I'm trying to create an image gallery component and I need some help. I have an Image component working. It has next and previous buttons that change the source of the Image component when they are clicked. This works fine so far. The problem is it looks like crap when it changes. How would you architect a source change effect so there would be a nice transition between the current image and the next or previous image?
For example, I want it to handle a crossfade where one image fades out and the next fades in or a move in effect where one image moves off the screen (and fades out) and another image fades in and moves in to the current image location. I know there is a showEffect and hideEffect but I need something like a sourceChangeNextEffect and a sourceChangePreviousEffect.

