Help. need transition help

IM creating a site with lots of pictures.
When a button is cliecked a new flash file is loaded containing a picture…
i would like to play a nice transtion effect on the pictures… somtehin like this.

any ideas on how to create somethign to this effect?? thanks alot>