You need to use a program like Adobe Photoshop's companion program ImageReady. There are other programs that people use as well. They way it works is you trim resize all the images you want to use, then use ImageReady or some other program to make them into an animation.