The file format SWF (acronym of "Shockwave Flash", pronounced swif) a partially open repository for multimedia and especially for vector graphics, originated with FutureWave Software and has come under the control of Adobe. Intended to be small enough for publication on the web, SWF file extension can contain animations or applets of varying degrees of interactivity and function. SWF file extension is also sometimes used for creating animated display graphics and menus for DVD movies, and television commercials.
There are several ways to do that, yet they depend on how the link is embedded in the swf, you could load the swf inside a container and intercept the click and redirect it to another function, that's one way of doing it without touching the original swf at all.