M4R is a filename extension for AAC format, which is developed by Apple Inc. It is typically used to save custom iPhone ringtones from Apple iTunes. M4R can only be created from iTunes purchased songs and is usually DRM protected. It can open on iTunes, VLC Media Player, Apple QuickTime Player, and more.
SWF (Small Web Format/ShockWave Format) is a digital Adobe flash file format that stores vector-based animations, audios, and videos. Generally, it is used to stream media online, mostly browser-based games. Sadly, Adobe recently announced that they are ending Flash format support by the end of 2020 due to its shortcomings such as performance issues and lack of security.
Adobe Flash Player Adobe Flash Professional CC GOM Player Adobe Dreamweaver 2020