ihave quicktime v7.7 but I don't see shockwave flash.
I have firefox v.4 and Mac osx 10.5.8, also iphoto8 v7.1.8
Firefox 16.0.2 is the last version that works on an Intel Mac with the OS X 10.5 operating system.
You can consider to install the latest Firefox 10.0.x ESR version that will still receives updates until it is replaced by Firefox 17 ESR (possibly in February 2013).
Firefox 17+ versions require OS X 10.6 or later, so if you want to continue using Firefox beyond Firefox 16 then you need to update your OS.
You can see the Firefox 18 system requirements here: