A small industry grew out of Apple's stubborn denial to let Adobe port their flash player iOS devices. Presently, you need to use a converter (here is
one example[
^]) to convert your SWF to something that can be played on iPhone. There is no legal library that I know of that would let you play an unconverted SWF on the iPhone, because iOS development agreement requires Apple's written permission to ship interpreters (flash player qualifies as one), and Apple has so far refused to give this permission to Adobe.