TableKnightGames is right, you have to render the sprite before exporting the spritesheet or .gif file.