I have recently found two flashlight apps for the iPhone that enable use of the iPhone camera flash as a portable torch. The first application known as Droid Light, throws in a strobe light and a text to morse code function. You can also opt to customise your own “switch” images that appear on screen if you so desire.
The second application iHandy Flashlight Free also offers fun items such as S.O.S., emergency flashing lights, a mad hypnotic animated “spiral”, neon signs and many others.
I prefer the Droid Light for its fast ability to simply use my camera flash as a torch, but for fun the iHandy Flashlight Free application is also worth the download.
Disclaimer: I am not associated or employed by any company producing software reviewed on this site.