ASF (Advanced Systems Format) is a digital multimedia format designed to save and open content online. It is the primary container for Windows Media Video and Windows Media Audio content. Today, ASF supports smooth playback on HTTP servers, media servers, and local storage with programs like Windows Media Player.
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