Added fromFrames function to Animation