While creating an animated GIF, what is actually done is many still images(called as frames) are designed such that they can be form a meaningful sequence and once all the frames have been designed, they are put together and an animated GIF is what we get.
Photoshop/Atani may be used to create those frames. I have no idea whether Photoshop/Atani can compile those frames together. You can google for 'animated GIF maker' if you need a software that can compile the frames!