There's a library called CoreAnimation that's similar in some ways to Flash, supporting keyframes and tweening and such. The iPhone also has (an unofficial) port of Rhino, to run the needed ActionScript. (Compiling that to native code would be a whole 'nother matter.)