For something as dynamic as farm ville, what is more likely is just porting a farm ville client to iPhone/iPad vs. painfully recreating it in HTML so it can work badly on a smartphone screen.  Most facebook apps in the beginning were HTML based. One of zynga's early, successful apps was mafia wars, a purely html game.  The decision to create farmville in flash was completely intentional.