attached is a link to a thread where we had discussed "combining many photos into one", it might be something along the lines of what you are looking for. mind you, rather rudimentary, but the basics are there.
i believe that there are some coys providing such services to do up special montage / slideshows for weddings in java / flash-like scripts / programmes.