if you specifically want to fade in/out, you should check out the color fading extension which has functions for doing just that.
for more complex transition effects, you can try using my arcade-screen-transitions extension, though it requires a bit more work because you have to manage all the sprites from both scenes simultaneously for the duration of the transition.