I've no experience of editing a swf with PHP but what I would do in this situation is position a layer over the flash movie.
Inside this layer, place a totally transparent gif (to the same dimensions of the flash movie) and but a hyperlink on that.
It's probably not the result that you wanted but it will work just the same (provided there is no extra functionality within the flash movie such as menus)
Hope this helps