You can generate an iPhone application directly in Flash Professional CS5:
Open Flash CS5.
Select File > New.
Select iPhone OS.
Click the OK button.