Record ipod gameplay I want to record Plants VS Zombies and upload the gameplay video on YouTube. Is there any program can do this?

Much appreciated for any suggestion.
For an unjailbroken iPhone, it is not possible to do it directly on the device.

However, if you jailbreak, you can get Display Recorder from the Cydia Store. It costs $4.99. There are other alternatives, but Display Recorder is so far the best I hae tried.