SWF, also known as ShockWave Flash, is a type of containment file format that has the ability to store interactive text and graphical animations. If you want to play an SWF file in Windows Media Player, you must have the .SWF codec present on your computer because Windows Media Player does not feature support for the SWF file format by default. The only way to acquire the .SWF codec is by installing either the Adobe Flash Player or the Adobe Shockwave Player.
Install the Adobe Flash Player or the Adobe Shockwave Player through the Adobe website (see Resource section).
Change the default opening program of the .SWF file from Adobe Flash Player/Adobe ShockWave Player to Windows Media Player. To do so, go to the location of the SWF file that you want to play in Windows Media Player. Right-click the SWF file and select the option labeled "Properties" on the context menu. Under the "General" tab, click "Change." Select "Windows Media Player" and click "OK."
Close the "Properties" dialog box and double-click the SWF file to play it in Windows Media Player.